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 / Why does ndb_newtonbalancetires make my game run at 1-3 fps???

Author
Message
Clonkex
Forum Vice President
16
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 3rd Aug 2010 10:20
Hey Guys,

When I call ndb_newtonbalancetires (I think that's it) it makes the game run at between 1 and 3 frames per second. I have tried everything I can think of and it still does it! It's extremely annoying!

Clonkex

Making games is easy.....finishing them is a different matter.

Intel Core 2 Duo 2.8Ghz, Nvidia GeForce 9400 GT 512mb, 1gb ram.
Van B
Moderator
23
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sunnyvale
Posted: 3rd Aug 2010 10:39
Are you calling that every loop? - it might be the sort of thing you only run once, after creating your vehicle.

Health, Ammo, and bacon and eggs!
Clonkex
Forum Vice President
16
Years of Service
User Offline
Joined: 20th May 2010
Location: Northern Tablelands, NSW, Australia
Posted: 14th Aug 2010 12:05
No, I worked out the problem. I was ndb_setvector 1,0,0,0 instead of 1,0,1,0 and it didn't like it.

Clonkex

Making games is easy.....finishing them is a different matter.

Intel Core 2 Duo 2.8Ghz, Nvidia GeForce 9400 GT 512mb, 1gb ram.

Login to post a reply

Server time is: 2026-07-25 07:07:34
Your offset time is: 2026-07-25 07:07:34