Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Jumping in first person?

Author
Message
Manga Tiger Boy
15
Years of Service
User Offline
Joined: 24th Aug 2009
Location:
Posted: 10th Oct 2009 22:08
I am making a First-person puzzle game with a friend of mine.
What is some code for jumping? I want the player to have to press ENTER to jump.

I used to know a few different equations for this, but since I haven't done something like this for a few years, I kinda, you know, forgot. -_-

Join the dark side. We have cookies!
SFCBias
15
Years of Service
User Offline
Joined: 8th Aug 2009
Location: Hephzibah, GA, USA
Posted: 12th Oct 2009 01:33
well im assuming this is a 3D game. You should look at the sliding demo of Sparky's collision, which handles jumping , and gravity etc.

if(You.AddCode.toPost)TGC.Users.CanHelp = true;
else return NoCodeMessage;

Login to post a reply

Server time is: 2024-10-01 14:31:00
Your offset time is: 2024-10-01 14:31:00