Hi,
I'm looking for information about animating sprites.
For example:
- Idle animation
- Death Animation
Would love to know if there's a recommanded way on how to do it and how to load the images for it
thanks
Hi,
I'm looking for information about animating sprites.
For example:
Would love to know if there's a recommanded way on how to do it and how to load the images for it
thanks
Take a look at the SDK examples like Level 1-1.
The SDK provides this way:
https://sdk.play.date/inside-playdate/#_animation
Loading images for use with animation:
https://sdk.play.date/1.12.3/#C-graphics.imagetable
But there may be other, easier options:
Dustin made this extra:
https://devforum.play.date/t/lightweight-animatedimage-library/4500
WhiteBrim made this extra:
https://devforum.play.date/t/animated-sprite-helpful-class/1884
I just set the frame of the Sprite manually!
Here's documentation for my lib: