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.

Code Snippets / Gravity help??

Author
Message
j4cK4zz
21
Years of Service
User Offline
Joined: 22nd Dec 2002
Location: Norway
Posted: 16th Jan 2003 12:10
man, i've tried so hard 2 get his thing work!!!

can someone tell me a code for gravity, and when i press shift the character jump??? i have been working for this to my game for a very very long time now...

bythe way , i use DBC (darkbasic classic)
haggisman
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 16th Jan 2003 14:32
try this:-



Specs:- 1GHZ athlon, Radeon8500, 192mb ram, winxp
Hamish McHaggis
21
Years of Service
User Offline
Joined: 13th Dec 2002
Location: Modgnik Detinu
Posted: 25th Jan 2003 17:51
I have a code for gravity on my website (below)
just adjust it for your needs.

Yum! Yum! Yum! Yum!
haggisman
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 25th Jan 2003 18:26
On Earth objects accelerate at around 1m/s/s I think

Its a little closer to 9.81ms^-2 , maybe you were thinking of the moon?

Specs:- 1GHZ athlon, Radeon8500, 192mb ram, winxp

Login to post a reply

Server time is: 2024-11-24 07:35:06
Your offset time is: 2024-11-24 07:35:06