Purpose
The processor would take a directory of Aseprite files and produce a single packed texture containing the frames of all Aseprite files. The frame tags are also merged and given new tags. Example:
Before Processing:
Player.aseprite
Tags:
Enemy.aseprite
Tags:
After processing:
Single Texture
Tags:
- Player_Walk
- Player_Run
- Player_Attack
- Enemy_Walk
- Enemy_Run
- Enemy_Attack
Motivation
Packing all animations into as few textures as possible should increase performance by significantly decreasing texture swaps.
It also provides interesting options for developers. One example would be:
A game where all sprites can fit in a single texture means game objects no longer needs to store textures or handles to textures. Draw can simply assume the texture. This could be very useful for gamejams or games with low resolutions.
Purpose
The processor would take a directory of Aseprite files and produce a single packed texture containing the frames of all Aseprite files. The frame tags are also merged and given new tags. Example:
Before Processing:
Player.aseprite
Tags:
Enemy.aseprite
Tags:
After processing:
Single Texture
Tags:
Motivation
Packing all animations into as few textures as possible should increase performance by significantly decreasing texture swaps.
It also provides interesting options for developers. One example would be:
A game where all sprites can fit in a single texture means game objects no longer needs to store textures or handles to textures. Draw can simply assume the texture. This could be very useful for gamejams or games with low resolutions.