A simple Image based trail system.
Featuring:
- A fully animated player sprite
- Infinite jumps
- Decent perf on a meowbit
- Sine wave when not jumping
- The trail follows you in when not moving
Downsides:
- Because the trail isn’t fully redrawn each frame, it doesn’t support scrolling.
- The trail can break slightly when going back on yourself, because of how the erasing works.
Feel free to reuse the code and animations (with credit).