I made this small script that takes four PICO-8 gifs and creates a 2x2 mosaic gif (with all the gifs running side by side).
https://github.com/kometbomb/mosaic
It assumes the default gif settings (256x256, duration is irrelevant as long as all the gifs are of same duration) and thus creates a 512x512 gif. This is very useful for tweets etc. You might want to run some gif optimizer afterwards.
I included a Windows batch file and a shell script so you can run it on any system that PICO-8 supports, as long as you have Imagemagick installed.
How to use (Windows):
mosaic.bat top_left.gif top_right.gif bottom_left.gif bottom_right.gif output.gif |
Or on Linux/Mac:
./mosaic.sh top_left.gif top_right.gif bottom_left.gif bottom_right.gif output.gif |
thanks for the bash love ! :)
>Save four GIFs in PICO-8 by pressing F9
if you only press f9 it will record everything since the boot of the cart (till the keypress)
if you press f8 it will start the recording, and end once you press f9
If you have the maximum GIF length set to something like 10 seconds (which is the default) it will capture exactly the last 10 seconds. That way you basically never have to hit F8, unless you have set the max length to something crazy!
oh ok that's handy! and you're right it's better to do it that way, so all gifs have the same length
[Please log in to post a comment]