Log In  
[back to top]


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..

5 comments



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]

1
0 comments



Wip Dogo game

Cart #pobopduwu-0 | 2020-06-02 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

This cart is just a demo to show a game I didn't finish.

0 comments



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
11 comments



sprite flag problems

I've been brute-forcing sprite flag numbers for a while and I gave up after like 2000..

What's the number for flag 6+7?

I know that 6 alone is 64 and 7 alone is 128, but combined I have no idea..

Please send help, thanks

7 comments



(WIP) Medikaren

Cart #pastehaste-0 | 2020-04-06 | Code ▽ | Embed ▽ | No License
1

This was a game I was making and then covid19 struck and I haven't worked on it to much, I might come back to this and finish it but here it is if you want to look at it. (the game dosen't auto-reset so you will have to your self.)

Hope you enjoy it anyways.

1
5 comments



Coin Dash V1.5.1

Cart #tunafishbucket-11 | 2020-06-11 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
29

Summary

Venture through 8 levels trying to collect as many coins as you can!
Coins are really useful because not only between levels can you buy power-ups,
But there also your life and the more you start dying the more you lose..

You can also try to go for good scores as well,
Do do you want to try and collect every coin? Or try and march through enemies as
fast as possible?

Controls

When in a level

Left (Move left)

Right (Move right)

Up/X (Jump)

Z (Power-up)

When in a menu

Left (Move cursor left)

Right (Move cursor right)

X (Not shop / Exit shop)

Z (Open shop / Buy from shop)

Gameover

X (Try again)

Z (Give up)

Menuitems

Restart (Sets you back to after title)

ToggleMusic (Turn off/on music)

Reset Highscore (Reset your Highscore and BestTime)

[ Continue Reading.. ]

29
8 comments