Need help getting double jump to work correctly

New releases and general discussions.

Post » Mon Jun 27, 2016 4:06 am

Message: Hewn can only post plain text URLS until they have 500 rep. 1 URLS modified. Why?
I am making a game I am using Input System plug-in and I have platform behavior on my character I have a variable for double jump.
If I'm on the ground double jump is set to =0.
I set it to if I am not on the ground and I hit the jump button on the controller, it checks to see if double jump is less than 1 than it will let me jump again and set it double jump to greater than one so you can't do it more than once.

For some reason every other time I jump from off the ground it sets double jump to 1 without me double jumping.

https://drive.google.com/file/d/0B6BVfOYrfibCNDM5YTkwbzlnSlk/view?usp=sharing
B
5
S
2
G
1
Posts: 11
Reputation: 997

Post » Tue Jun 28, 2016 6:10 am

Never mind I came up with a easier way and it works perfect.

Heres what I did, in case anyone else has a problem.

https://drive.google.com/file/d/0B6BVfO ... sp=sharing
B
5
S
2
G
1
Posts: 11
Reputation: 997


Return to Construct Classic Discussion

Who is online

Users browsing this forum: No registered users and 3 guests