Gamestudio Links
Zorro Links
Newest Posts
Newbie Questions
by fairtrader. 12/05/23 14:22
Zorro Trader GPT
by TipmyPip. 12/04/23 11:34
Square root rule
by Smallz. 12/02/23 09:15
RTest not found error
by TipmyPip. 12/01/23 21:43
neural function for Python to [Train]
by TipmyPip. 12/01/23 14:47
Xor Memory Problem.
by TipmyPip. 11/28/23 14:23
Training with command line parameters
by TipmyPip. 11/26/23 08:42
Combine USD & BTC Pairs In Asset Loop
by TipmyPip. 11/26/23 08:30
AUM Magazine
Latest Screens
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Tactics of World War I
Who's Online Now
6 registered members (AndrewAMD, Quad, soulman3, Ayumi, steyr, 3run), 631 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
fairtrader, hus, Vurtis, Harry5, KelvinC
19019 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Consistent Timing #221051
08/11/08 20:13
08/11/08 20:13
Joined: Mar 2008
Posts: 4
J
jhw22 Offline OP
Guest
jhw22  Offline OP
Guest
J

Joined: Mar 2008
Posts: 4
Hi Folks!

I've been given a racing game to maintain. It's written in C-Script, uses the Newton Physics Engine plug-in, and was created with 3D GameStudio version 6.60.

The idea is that a player completes an event, his or her score is stored on the server and compared to everyone else's. This works fine, except when played on different classes of hardware. I'm seeing an average difference of several seconds between the older box I develop on and a fancy new Alienware machine I've just started testing with.

The players' times are based on how many ticks have passed since the race began, not on any frame count. It appears that it just takes the slower machine longer to travel the length of the track. I'd hoped that the physics engine would have kept track of the distance traversed over time instead of per frame, so the timing would be fairly accurate.

Does anyone have any idea of what I might do to keep the game fair for players on different classes of hardware? Perhaps there's some calibration that could be done?

Thanks,
jhw22

Re: Consistent Timing [Re: jhw22] #221621
08/15/08 06:17
08/15/08 06:17
Joined: Apr 2006
Posts: 624
DEEP 13
badapple Offline
User
badapple  Offline
User

Joined: Apr 2006
Posts: 624
DEEP 13
have you tried locking the frame rate with fps_lock and fps_max?

Re: Consistent Timing [Re: badapple] #225481
09/04/08 19:38
09/04/08 19:38
Joined: Mar 2008
Posts: 4
J
jhw22 Offline OP
Guest
jhw22  Offline OP
Guest
J

Joined: Mar 2008
Posts: 4
Thanks! That really evened things out. Now I'm all set!


Moderated by  HeelX 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1