Robert Gremillion Posted May 2, 2022 Share Posted May 2, 2022 I have two questions. 1. How do you make sure a button is being pressed and released? Do you keep a flag to test for that? 2. What's the "normal" way to make a double jump? Do you wait until the player is half way through the first jump? Here's what I have so far... Quote Link to comment Share on other sites More sharing options...
Cisano Posted July 5, 2022 Share Posted July 5, 2022 1) Surely you need a boolean/flag varliable for remember if the button is been pressed or released. 2) You deciede when the second jump starts. Checking the Y value of the jump. In my game, Fallpit!, I used this table for the jump coordinates. TableCoordJump .byte $fc, $ff, $ff, $00, $ff, $00, $ff, $00, $00, $00, $01, $00, $01, $00, $01, $01, $04 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.