Frame Rate Independant

Get technical support about the C++ source code and about Lua scripts for maps, entities, GUIs, the console, materials, etc. Also covered are the Cafu libraries and APIs, as well as compiling, linking, and the build system.
Post Reply
User avatar
Shadow
Posts:195
Joined:2004-08-28, 06:00
Location:Minesota, USofA
Contact:
Frame Rate Independant

Post by Shadow » 2004-11-09, 15:02

is the demo frame rate independant? it seemed to me that people getting faster fps where moving (way) faster in multiplayer. i know that my pbx game will have to be independant else some balls be flying faster some slow some people ripping 23bps and some only 4....
Image
PBX CONTINUES!!!
CLICK HERE!!
User avatar
Carsten
Site Admin
Posts:2170
Joined:2004-08-19, 13:46
Location:Germany
Contact:

Re: Frame Rate Independant

Post by Carsten » 2004-11-10, 11:30

Shadow wrote:is the demo frame rate independant?
Don't worry, of course it is: The world in advanced is discrete steps by the server. In each such steps, it applies all player commands that it received in order to advance the state machine. The player commands contain information e.g. about how long a key has been pressed. This in turn yields frame-rate independent physics.
Best regards,
Carsten
Post Reply

Who is online

Users browsing this forum: No registered users and 49 guests