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.

DarkBASIC Discussion / Gradually speeding up?

Author
Message
Killercube 32
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: Planet X
Posted: 1st Feb 2004 16:49
I was wondering if anyone had any advice of how to accelerate(like every second).

I thought i said that i was playing zelda outside grandma!
It was a secret!
DarkBasic Projects:Nightwalker,RTS Game
Killercube 32
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: Planet X
Posted: 1st Feb 2004 18:01
:bump: Anyone?

I thought i said that i was playing zelda outside grandma!
It was a secret!
DarkBasic Projects:Nightwalker,RTS Game
Emperor Baal
21
Years of Service
User Offline
Joined: 1st Dec 2003
Location: The Netherlands - Oudenbosch
Posted: 1st Feb 2004 18:49
What do you mean, like a racegame?

do
if upkey()=1 then inc speed
move object 1,speed
loop

?


Quote: "
Amd 2500+ | 1024mb pc2700 | A7N8X-X | Geforce4 ti 4200 128mb
"
Killercube 32
21
Years of Service
User Offline
Joined: 30th Jan 2004
Location: Planet X
Posted: 1st Feb 2004 21:18
Thanks Baal, not really a racing game, im thinking of making a game where you have remeber the map and run to certian places in a small amount of time.

Dunno, i might

I thought i said that i was playing zelda outside grandma!
It was a secret!
DarkBasic Projects:Nightwalker,RTS Game
BearCDPOLD
21
Years of Service
User Offline
Joined: 16th Oct 2003
Location: AZ,USA
Posted: 3rd Feb 2004 02:15
speed=distance / time

velocity is speed in one direction

acceleration = (initial_velocity - final_velocity) / time

You should just be able to fill in the parts like initial_velocity (starting speed), and final_velocity (maximum speed). Newton's Laws of Motion.

hope that helps
Crazy Donuts

Juvenile Industries
Current Project: KillZone(FPS)
Soon to come:An rts, and a snowball fight game

Login to post a reply

Server time is: 2025-06-04 02:10:49
Your offset time is: 2025-06-04 02:10:49