Heya! So, the new one-off character feature added in 0.2.4 inspired me to write a drawing tool that exported to compatible strings in the smallest size I could, as of now, the code itself is only 520 characters!
(Minor warning: clipboard saving seems to be incorrect through the html export, I recommend copying the code and running it locally)
h=32s=stat::_::?"⁶t⁶wbitdraw!",34,8 a=8+(s(h)/8)-4b=(s(33)/8)-4j=ord?"\^.¹³⁷ᶠ゜?⁷⁸",s(h),s(33),0 ?"⁶1⁶cd⁶!5f2d¹",7 rect(h,h,96,96)sspr(8,0,8,8,h,h,64,64)if(s(34)&1!=0)sset(a,b,7) if(s(34)&2!=0)sset(a,b,0) if btnp(❎)then d=""for y=0,7do k=0for x=8,15do k|=(sget(x,y)&1)<<x-8end d..=chr(k)end o=""for i=1,#d do c=sub(d,i,i)f=j(d,i+1)g=(f and f>=48and f<=57)and"00"or""v=c if(c=="\"")v="\\\"" if(c=="\\")v="\\\\" if(j(c)==0)v="\\"..g.."0" if(j(c)==10)v="\\n" if(j(c)==13)v="\\r" o..=v end printh(o,"@clip")?"⁷ceg" end goto _
To then use your drawing, you need to use the
\^. control code followed by your string:
print("\^.~▒しし▒し▥~") -- Prints a smiley block ?"\^.~▒しし▒し▥~" -- Short-hand version
Feel free to elaborate on this tool or minify the code even further!
Hi, so with the new Pico-8 update (0.2.4) I've been messing around with some of the new features and specially P8SCII, as of now I found something pretty weird, the new one-off character control code (
\^.) seems to use the same control code as dotty mode used to, I noticed this when I ran the Impossible Mission cart, which has a corrupted title now due to Pico-8 treating most of the string as 1-bit character data.
I don't know if this is was done on purpose since it's still mentioned in the manual ALONGSIDE the new one off character control code, maybe Zep forgot it was already in use or he changed it to another control code without adding it to the manual? If this has been documented before or I'm doing something wrong please tell me.
Also big thanks to Merwok and FReDs72 for giving me feedback and tips on how to make the function faster
Hi, I'm trying to write a game in a very clean way instead of cramming multiple copies of the same code on multiple carts, most of this is solved with #include but for what I've tried, you can't do include from subfolders, what I mean is that for example, if I have a cart on a subfolder called "font" but wanna include functions from a cart located on the parent folder, something like
won't work, is this even possible to do with include or am I just out of luck?
paste all code labeled as requiered onto your cart, this includes:
then, to call a cheat code, write it down on a table like this:
and then call the add_chsys function once (if you call it on an update function/every frame you'll chug the system):
So for example if I wanted to make the game stop when the Konami code was detected then I'd put this on my _init function (or any function that only acts once):
Hope ya enjoy!
This game was made for the Wowie Jam 3 with the help of many friends!
-Most of the game and artwork by myself, Coffeebat
-Amazing ingame music by Blameitontherobot
-Poggers logo by Sinclair
-Main game and most music/graphics by myself, Coffee Bat
-In-game song 3 by the outstanding Blameitontherobot
-Original game by the amazing Ultimate/Rare
-A couple of ideas and the main inspiration to make this game thanks to Asobitech and their amazing Super Jetpak DX
Heya uh, just bought a Pico-8 license over on itch a few hours ago and I've been trying to get it to run on my Raspberry Pi 3 b, followed a tutorial on getting it to work on a fresh install of Raspbian and it works great, the problem now is that I wanna use my C64 mini joystick (Which is pretty much THE perfect controller for the system, two buttons, joystick and plenty extra buttons for settings), I got it to work on linux by making a configuration for it with the SDL2 Gamepad Tool and putting that on the sdl controllers file in configs, but making the same in my Rpi did uh, nothing, if anyone can help out with this it'd be amazing, thanks.