I'm working on a project with 192 by 192 character sprites. I'm also using a plugin that enables more frames per animation. I'm placing each of the animations a character has (including all 4 directions) in a single $file.png.
Here comes the problem:
When starting a new game, the first time sprite are loaded from a new file, the character disappears for 1 frame or so.
Is there a way to preload sprites to avoid this? Would prefere an elegant way, rather than a simpy funtional.
Thank you in advance, Ibi
Here comes the problem:
When starting a new game, the first time sprite are loaded from a new file, the character disappears for 1 frame or so.
Is there a way to preload sprites to avoid this? Would prefere an elegant way, rather than a simpy funtional.
Thank you in advance, Ibi