PICO-8: Simple Item Animation
Simple Item Animation
This cart demonstrates simple item animation. It is heavily commented so you can pull apart how this is being achieved.
Notes: The basic idea is to have a few specific pieces of information tracked with each item:
- A list of
spritesin the order they should be played in the animation. - A
tickwhich keeps track of how many_update()ticks have gone by since the last time the animation changed. - An
anim_speedthat tracks how many_update()ticks should happen before the animation moves to the next frame. - The current
framefor the animation.
| Status | In development |
| Category | Other |
| Platforms | HTML5 |
| Rating | Rated 5.0 out of 5 stars (1 total ratings) |
| Author | MBoffin (Dylan Bennett) |
| Genre | Educational |
| Made with | PICO-8 |
| Tags | PICO-8, sourcecode |
Download
Download
item_animation.p8.png 6.2 kB
Install instructions
Save this file to your PICO-8 carts folder. Then load it by typing load item_animation in the command line mode of PICO-8.
