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 Professional Discussion / Object moving too fast

Author
Message
AJ Schaeffer
16
Years of Service
User Offline
Joined: 22nd Aug 2009
Location: Jacksonville,FL
Posted: 14th Jul 2011 01:36
So I'm making a FPS in DBpro (haven't used DBpro in a year).
I have my player who is 50 units away from a box.

And i have this bit of code


He gets there in less than a second. It's like that box just dissapears. I'm sure I'm just forgetting some painfully obvious thing and sound like a total n00b.

Any ideas?

Gencheff
16
Years of Service
User Offline
Joined: 12th Jun 2010
Location: UK by way of USSR
Posted: 14th Jul 2011 01:38
Your code isn't telling much...

Did you cap your frame rate?

Samotnijat vylk nasred gorata.
-3D,2D Artist,Animator,Web developer and Programmer.
AJ Schaeffer
16
Years of Service
User Offline
Joined: 22nd Aug 2009
Location: Jacksonville,FL
Posted: 14th Jul 2011 01:40
...how do I do that?

Gencheff
16
Years of Service
User Offline
Joined: 12th Jun 2010
Location: UK by way of USSR
Posted: 14th Jul 2011 01:45 Edited at: 14th Jul 2011 01:46

Sync On
Sync Rate 60

Do

Sync
Loop


...

Samotnijat vylk nasred gorata.
-3D,2D Artist,Animator,Web developer and Programmer.
AJ Schaeffer
16
Years of Service
User Offline
Joined: 22nd Aug 2009
Location: Jacksonville,FL
Posted: 14th Jul 2011 01:53
Thank you

Login to post a reply

Server time is: 2026-07-11 04:24:15
Your offset time is: 2026-07-11 04:24:15