Log In  

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
P#39001 2017-04-02 11:04 ( Edited 2017-04-03 16:39)

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

P#39007 2017-04-02 13:55 ( Edited 2017-04-02 17:55)

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!

P#39026 2017-04-03 02:50 ( Edited 2017-04-03 06:50)

oh ok that's handy! and you're right it's better to do it that way, so all gifs have the same length

P#39043 2017-04-03 12:39 ( Edited 2017-04-03 16:39)

[Please log in to post a comment]

Follow Lexaloffle:          
Generated 2024-03-28 11:20:00 | 0.005s | Q:10