Posted September 04, 2023 by pflat
The following was added to the generator:
Also, in the process of implementing the large weapons idle,walk and hurt animations, I ended up with this simple
rule: whenever a spritesheet uses a large weapon (one that does not fit in the universal spritesheet), them the export
process always creates one file for each animation.
The reasoning for this is mostly memory management and was bugging me for a while now.
The fact is that for large weapons, usually there's already a large spritesheet for each animation.
For others, the walk and hurt animation fit on the universal spritesheet, but then, all the other animations (that don't
include the weapon) are just taking memory in the graphics card (waraxe for example).
This method means more texture switching when the character changes animations, but (for me at least), that is
preferable to having so much wasted memory.
That's it for this update. Have fun.