I am trying to make a basic game where the character can jump up and move around. I found few tutorials on gravity/jumps for pico8 but used that knowledge for my game. Where I run the code the character can jump and move but falls down if I don't press jump and does not stop at the floor. Please help me find a solution or send me the fixed code. cart below


standard version (export from 0.1.11g):
https://www.lexaloffle.com/bbs/files/13845/crt_template.zip
unzip crt.html to {application data}/pico-8/plates
then
EXPORT GAME.HTML -P CRT
alternate version (see here):
https://www.lexaloffle.com/bbs/files/13845/ubcrt_template.zip
Feel free to use & modify, no attribution required.
Have fun!

Demo for the demo competition at the Instanssi 2019 demoparty, held in Jyväskylä, Finland in march 2019. Won first place.
Again, it might run correctly in a browser but there might also be some sync issues (specifically in Chrome, in my experience). The cart runs just fine in PICO-8 itself, of course.
UPDATE: Now fixed for 0.1.12! Which means it won't run correctly in older versions anymore, since it depends on time() for sync.






0 comments






