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.

Author
Message
DB newbie
19
Years of Service
User Offline
Joined: 13th Nov 2005
Location: um..... i dont remember.
Posted: 17th Mar 2006 04:51
how woul di make my game run faster it looks all mest up because it is so slow and jerks alot can somone help.


Check out my site!(unfinished)
http://www.freewebs.com/dbnewbie/
Pincho Paxton
22
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 17th Mar 2006 09:38
Why do you have spritetimer(1) = 30 if your game is slow, and jerky? That is there to slow the sprite update down. To slow the game down anyway it is better to use the Timer(). The timer() is accurate on all computers, but Spritetimer(1) = 30 will run at different speeds on different computer. Also try sync rate 0.


If T <= timer()
Do your stuff....
T = timer() + 300 ......... adjust this number to make your game smooth. This replaces Spritetimer(1)
Endif

DB newbie
19
Years of Service
User Offline
Joined: 13th Nov 2005
Location: um..... i dont remember.
Posted: 17th Mar 2006 16:28
ok i will try it.

Check out my site!(unfinished)
http://www.freewebs.com/dbnewbie/
Silent Knight
20
Years of Service
User Offline
Joined: 25th Jan 2005
Location: In Your Mind
Posted: 17th Mar 2006 21:18
try lowering the framerate to about 30. Im not sure that will help alot, but try

Only when the last tree is cut, the last river is dammed, and the last spot of ground is paved will we realize we can't eat money

Login to post a reply

Server time is: 2025-05-23 19:19:16
Your offset time is: 2025-05-23 19:19:16