PICO-8 0.2.2b 0.2.2c is now up on lexaloffle, Humble, itch.io, and for PocketCHIP.
This is a bug-fixing patch for 0.2.2 -- see that thread for a summary of recent features.
0.2.2b does have a few small features though. You can now use a .lua.png extension with the EXPORT command to get the source code (all tabs) of your cartridge printed out to an image with roughly A4 dimensions. This is intended mostly for visualisation purposes, and lines are cropped to 188 pixels (47 characters) wide. The jelpi demo source code is bigger than I imagined!
EXPORT JELPI.LUA.PNG |
dots3d.p8 is much cuter
There are also some new extcmd() commands for setting screenshot output filenames, and the window title (intended for exported binaries).
I've also added a way to force the pause menu to come up, even if the cartridge is blocking it with poke() trickery. Simply hold the pause button for half a second, and the menu should come up no matter what (it's implemented at a low level). This might be useful when using SPLORE from a sofa, and a keyboard isn't available to terminate stubborn cartridges.
Full list of changes:
Dunno what was done about audio printing, just checked - C-2 is "\aa1" (except sounds rougher than instrument 0? dunno), also "\af" and "\af#" still don't work (curiously, any letter in the alphabet that is not a note or audio command, like "\az", is equivalent to "\aa", but "\af" results in a beep like "\a")
upd: wtf it goes a1 b1 c1, not a1 b1 c2 ???
> I've also added a way to force the pause menu to come up, even if the cartridge is blocking it with poke() trickery. Simply hold the pause button for half a second, and the menu should come up no matter what (it's implemented at a low level). This might be useful when using SPLORE from a sofa, and a keyboard isn't available to terminate stubborn cartridges.
yesss thank you <3
OMG I love it. 😍😍😍
This is my Global Game Jam game. This is so satisfying to see.
Thanks zep! Will be looking forward to having my games captured in a single image!
@db0z thanks for the heads up -- I messed up and didn't actually merge the fixed code for 0.2.2b. 0.2.2c is live now with that fix and a couple of other small things.
Bummer that the rendered source code export functionality (export game.lua.png) does not flatten the project (merge external source files) prior to rendering.
I will try and hack something. brb. :)
I'm a little sad that the lua.png isn't square.
or a single tall column. with perforations on the sides.
;)
@zep I hadn't thought of that. Damn! ... and ended up writing a sh script to do the pre-render merging. Thanks !
#!/usr/bin/env bash FILE=$1 BASENAME=`echo $FILE | sed 's/\.p8$//'` OUT=${BASENAME}_f.p8 cat $FILE | sed '/^#include /d' | sed '/^__gfx__$/,$d' > $OUT for include in `grep '#include ' $FILE | cut -c 10-`; do cat $include >>$OUT done cat $FILE | sed '/^__gfx__$/,$!d' >> $OUT echo $OUT |
@MBoffin yep ... it is satisfying, _and a little bit addictive. Also super useful as a code discovery tool on projects that haven't been touched in a long time.
What happened to Voxatron Beta, 1.0 and so on?
The last update was years ago.. :(
Good news! Voxatron is getting very frequent development updates over at Twitter (sort by newest, the markdown link parsing is a bit busted), and it seems a 0.3.6 update is gonna be relatively soon!
Possible bug: In the sprite editor "h" flips the sprite horizontally and toggle the hex view. The documentation says Ctrl-h should toggle the hex view.
[Please log in to post a comment]