sprite animation question..
okimoki
Member Posts: 159
If i make two frames of a sprite i want to animate, lets say one for the sprite with opened eyes and one for the closed.. then in the animation behavior i put 20 frames of eyes opened and one frame with eyes closed..
does that count only as two sprites, or does that count as 21 sprites that has to be put into memory?
Im guessins just two, but i need confirmation
Thanks,
O.
does that count only as two sprites, or does that count as 21 sprites that has to be put into memory?
Im guessins just two, but i need confirmation
Thanks,
O.
Comments
I looked at this myself a few days ago and it seems to that repeat frames do not add to the memory.
right now i have small sprites, like 32x32.. i have two of them, and animation is something like AAAAAAAAAAAAAAAAAAAAAAABAAAAAAAB..
i dont see any change in FPS just from that but that is the question i would like to get answered for my next project where sprites will be much bigger and animation sequences a lot longer.
If anybody knows firsthand, please let me know..
Ace
I know it could be done with switching the images at random intervals but i just havent figure out how to do that yet, and this is really the question i would like to know the answer to
@Okimoki The answer to your first question is that I won't keep adding to the memory anyway
Ace