i'm trying to make a function where the camera will jump forward by an amount when the player character reaches the end of a 'room' (the end of the current screen) but am struggling to find a way to make it work, anyone know what i should do?
p.s. code currently shows what i'd like it to be, currently can't make it do more than two rooms




Heya! I decided to look at my old (well a few months) game and update it to work with 60fps. One problem I've been having is the jump. It's super simple code which means when you jump in the game you jump up super fast. I'd like its acceleration to be slightly slower, and if possible, have a variable jump height. Does anyone have any code examples that could fit within my game code as it stands and make it work better/any variables that could help?

LEFT OR RIGHT TO MOVE
Z OR X TO JUMP
OBSTACOURSE is a minimalist platforming micro-game. Guide DUNGAREE DOG through the OBSTACOURSE, a four-level, colour-coded athletic gauntlet. Expect spikes, spring-blocks, some crumbs of environmental story-telling and lots and lots of jumping.
This is the first game I've made in Pico-8 and I've had a real fun time! Want to thank everyone on the forum who helped me out. Let me know what you think of it!
Game by James Nash
Music by Alice Boyd



27/8/20:
added the smallest bit of environmental storytelling and small tweaks to the design and audio mix.
the finished product is out tomorrow!
23/8/20:
more sound and music by @AliceB! skipped over 0.13 cos that's build featured all of the music before it was implemented in the code
if you can fill this form in i will be very happy
FEEDBACK FORM: https://forms.gle/QsyQEUHpY4aWDWGL8



