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.

Newcomers DBPro Corner / Lag and Jumpy game

Author
Message
Timmeh
19
Years of Service
User Offline
Joined: 15th Nov 2005
Location: Somewhere... I think...
Posted: 21st Nov 2006 13:15 Edited at: 21st Nov 2006 13:18
Hi, I'm working on a plane game but ever since I started it has been realy laggy and jumpy. I know the plane model isn't to complexe and our computer has run much more complicate games before.

Here is the code if you want to take a look at it...


Any ideas as to why it may be lagging would be much appreciated.
Tim

[EDIT]: Almost forgot, I use DBC. Hope to get DBP for Christmas.
RUCCUS
19
Years of Service
User Offline
Joined: 11th Dec 2004
Location: Canada
Posted: 21st Nov 2006 13:50
Setting the sync rate to 30 will do it thats a really low fps.

QuothTheRaven
22
Years of Service
User Offline
Joined: 2nd Oct 2002
Location: United States
Posted: 21st Nov 2006 14:08
No, 30 FPS is fine. By laggy and jumpy, do you mean that you get low frames per second, or that it displays a normal frames per second and everything just lags and is jittery a lot?

BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 21st Nov 2006 14:25
Firstly, you need to...

SYNC ON: SYNC RATE 30

...otherwise your sync rate is irrelevant.

Secondly, replace this...

set cursor 0, 0
print screen fps()

with this:

text 5,5, str$(screen fps())

Also check out the number of polys in your model. If it is in the thousands, it's not designed for real-time games.



indi
22
Years of Service
User Offline
Joined: 26th Aug 2002
Location: Earth, Brisbane, Australia
Posted: 21st Nov 2006 14:26
Id prefer to target a fps to 60, 30 appears to be slow and unresponsive in my games.

Timmeh
19
Years of Service
User Offline
Joined: 15th Nov 2005
Location: Somewhere... I think...
Posted: 22nd Nov 2006 00:48 Edited at: 22nd Nov 2006 00:52
I runs at about 20-25 fps when told to run at 30. By laggy and jumpy I mean I see each move the plane makes, each jump is so far apart I can tell them apart. Can someone else copy it and run it, see if it does the same thing for them (with a diferent, but basic, model)? Oh, and I know it isn't the plane model, it is esentialy a rectangle with horibly modeled wings sticking out. Likely has less polys than Master Cheifs finger on Halo...

[EDIT]: Nevermind, adding sync on worked, can't belive I missed that..... Thanks!

Login to post a reply

Server time is: 2024-11-26 08:48:55
Your offset time is: 2024-11-26 08:48:55