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.

DLL Talk / I need Jumping code for NGC for FPS game

Author
Message
Dark Angel_1246
20
Years of Service
User Offline
Joined: 7th Jul 2004
Location: Australia
Posted: 17th Nov 2005 03:01
hi, i need some code for jumping using NGC. i want it so you cant jump again until youve hit the gound.

Dark_angel
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 17th Nov 2005 03:15
All you have to do is run the countcollisionspro() on your object number and if it is greater than 0 then you can jump. Here is a fps code I posted ages ago while testing some stuff. It has jumping as best I can remember though it may be more complicated than you want.

http://forum.thegamecreators.com/?m=forum_view&t=30090&b=1&p=1

Code is in source boxes at the bottom 2 posts to the page.

Dark Angel_1246
20
Years of Service
User Offline
Joined: 7th Jul 2004
Location: Australia
Posted: 18th Nov 2005 00:01
thanks

Dark_angel

Login to post a reply

Server time is: 2024-11-24 10:08:32
Your offset time is: 2024-11-24 10:08:32