Problem description:
Hi Guys, I'm using forum_accounts sidescroller library for my game. I'm trying to make a double jump feature and wondering if anyone has managed to do this? I don't want to start messing around with the library and possibly breaking it.
I did try key_repeat() but I believe it's something something to do with the pathing and can_jump() procedures.
ID:2819579
![]() Sep 12 2022, 4:27 am
|
|
in movement.dm, you will find this
replace the last line with return jumps_remaining
in the proc for set_flags, you will see this:
tack on jumps_remaining = jumps_max at the end, right below where it sets the on_ground flag.
then, in the jump proc, make it so jumps_remaining--