About Store Forum Documentation Contact



Post Reply 
Constant Game Speed ?
Author Message
Juggernaut Offline
Member

Post: #1
Constant Game Speed ?
Hello Esenthel,

How do I make sure that all movements and rotations of all game objects -
animated characters, cameras, static objects in the scene takes place at a
constant speed across different hardware specs - same speed on both weaker/older CPU and GPU and stronger/newer CPU and GPU ?

What about animated character models ? How do I make sure that the animations will take place at the same speed on all hardware irrespective
of the processing power of the motherboard processor and GPU ?

Does the Esenthel 2.0 engine handle all these automatically internally ? Or do I have to handle this myself by writing custom code/routines ?

Thanks,
09-08-2013 11:42 PM
Find all posts by this user Quote this message in a reply
Zervox Offline
Member

Post: #2
RE: Constant Game Speed ?
EE handles it, also for your own code use delta time(Time.d())
09-09-2013 01:32 AM
Find all posts by this user Quote this message in a reply
Juggernaut Offline
Member

Post: #3
RE: Constant Game Speed ?
Zervox : Would you please care to clarify what are handled by Esenthel Engine 2.0 automatically and what needs to be handled by me through custom code ?
09-09-2013 09:42 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #4
RE: Constant Game Speed ?
All existing EE code is correct.
You only need to take care of your own code that you will be writing.
09-09-2013 11:14 AM
Find all posts by this user Quote this message in a reply
Tottel Offline
Member

Post: #5
RE: Constant Game Speed ?
You handle this by multiplying everything that is affected by the framerate (moving objects, incrementing vars, ..) with the delta time. Which is Time.d();

delta time is the time in between 2 frames. So the higher your frame-rate, the lower deltatime will be.
09-09-2013 11:58 AM
Find all posts by this user Quote this message in a reply
Juggernaut Offline
Member

Post: #6
RE: Constant Game Speed ?
Thank you Esenthel and Tottel for the clarification and advise.
09-09-2013 01:31 PM
Find all posts by this user Quote this message in a reply
Post Reply