

This is my very first pico 8 game.
It's very rough and I just wanted to see how it would go.
Paul is sleepy. You are paul. Get to bed and don't fall asleep on the floor.
The aim of this game is to get to your bed by dodging crazy obstacles!
But be careful!
You have twenty seconds before Paul falls asleep on the floor... collect coffee to prevent this from occurring!
Paul encounters invisible walls, blood-stained spikes, locked doors, bounce pads, and magical portals!
Will you help Paul get to bed?



When the PINK GAME OVER appears, @Hazi. Pressing either O or X (Z or X) does not do anything and stays locked here. Do you have an infinite loop somewhere ?



@dw817 thanks for picking up on the bug!
I guess I didn't optimize the game for bbs, I'll look into it right now and try to fix the problem.
What I've done is
if btn(5) then stop() end |



Here, @Hazi. Just change that line to:
if btn(5) then cls() stop() end |
Then the screen will clear to black at least if you select X to let you know it's over.



Good deal, @Hazi. You might even change that to:
if btnp(5) then cls() print("press ctrl+r to restart",18,60,7) repeat until forever endif |
Making use of STOP() online really does end the program and prevent you from pressing CTRL+R to restart it again. By looping forever, you have CTRL+R available to press and act upon.



Thanks, @dw817, this helped.
The only problem that I can't seem to fix is that the GAME OVER screen still shows when you press X. In the end I decided to call an _init() to bring you back to the title screen.
[Please log in to post a comment]