![](/gfx/play80.png)
![](/bbs/thumbs/pico8_dancer-0.png)
106 frames of animation, compressed and embedded in the cart (half in the code, half in the gfx segment).
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
It’s simply gzip / deflate, with some minor tweaks to the format so that the decompression code uses as little cart space as possible.
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
Hi Samhocevar,
I’m floored by the number of frames you got in there!
Could you share you gZip/deflate encoding tool or code?
I’ve been searching for a good tutorial/guidance on writing a zip encoder that works with different bit lengths. My hacky encoders have all been written in truly attrocious python.
https://www.lexaloffle.com/bbs/?tid=3124
https://www.lexaloffle.com/bbs/?tid=32583
https://www.lexaloffle.com/bbs/?tid=30013
Thanks,
Electricgryphon
![](/gfx/set_like0.png)
![](/gfx/top_drop.png)
Sure, the compressor is part of z8tool, a command line utility available here: https://github.com/samhocevar/zepto8
I have also set up a web service for people who maybe can’t compile or run it: http://sam.hocevar.net/projects/z8/
Here is an example with the “high color” option:
![](/gfx/play80.png)
![](/bbs/thumbs/pico8_lego-0.png)
[Please log in to post a comment]