3D Rad - Free 3D game maker - Forum

This forum is now archived!

This forum is locked, and is a read-only version. A new community-ran forum can be found at classdev.net

News:

The 3DRad community can be found at classdev.net.

Pages: 1 [2]

Author Topic: How to Jump in FPS game  (Read 1861 times)

« Reply #15 on: June 26, 2013, 12:46:00 PM »
Quote
I have no clue as to if this works, but is it possible to do this with an event on contact? Maybe if the player is in contact bounds with the terrain then you can jump, and when you are in the air, you cannot re-jump. Thus removing the need to use EventTimers and Scripts?

Gonna try to make a project.

Ok, it's done. You can add double jump and edit the jump height. Just edit the Velocity and EOC.

Read the post AND the replies. ;)
« Reply #16 on: June 26, 2013, 05:18:02 PM »
Another way you could do it is using an event on contact.
Have it so the input event stops untill the player has contact with the ground.
Just found this... So it is possible... So which technique for jumping is the best?
[::-Bitpoint-::]
« Reply #17 on: June 27, 2013, 10:25:10 AM »
That is a matter of opinion at the moment. If you test all methods, you can use the one you like. I use the eventoncontact AND timers to prevent super-jumps and infinite-jumps at the same time.
« Reply #18 on: June 27, 2013, 11:59:41 AM »
I guess so. I will upload a simple parkour game using EOCs, and see if it works well.
[::-Bitpoint-::]
Pages: 1 [2]