Hi! I was working on a game and I was trying to make it so that for ex:
[
1,2,3,4,5,6,7,8,9,10,11,12 ... would be translated into
01,02,03,04,05,06,07,08,09,10,11,12 ...
]
and I was wondering how do you "apend" stuff to a string? I might be doing a doofus play but I forget some stuff about PICO-8 since I took a break from it : o
here's the code snipit I'm trying to figure out so far
wavenum+=1 wavestring=tostr(wavenum) if (#wavestring==1) add(wavestring,"0") |
(was wondering if you can use add() to add to a string maybe..

I was wondering what colors were useable for the background and when I went to go look I was sad because darkgreen wasn't useable :| I was wondering if more colors that aren't used for text colors could be background colors! IDK it's not really important but I would love a darkgreen background option.
[EDIT: forgot that the mouse has dark blue when pal swapped img. : o]
I was making a game (I don't want to spoil it) but I'm sspring a 16x16 sprite on to the screen;
But when it's drawn to the screen it shows up as:
It has weird brown and blue pixels in it's gobbler...
But if I replace one of the pixels;
It dosen't anymore...?
I'm on ver 0.2.0 so maybe that's it? If anyone knows why this is happening please tell me, thanks!
Oh yea; here's the code as well
-- talking iftalk=false smoothslidein=0 function coversation() taint(0) uitoggle=false if (smoothslidein<18) smoothslidein+=.5 nicebox(camx,camy,128+camx,128+camy,▥,1,0) --sspr(0,96,16,16, camx,96+camy, 32,32 ) sspr(talkinfo.id*16,96,16,16, 96+camx,96+camy, 32,32 ) --taint(1) end |






5 comments









