-
January 14th, 2018, 10:45 AM
#1
C++: about game loop: do we need take some time between frames?
we create a game loop. but these loop can be more faster, depending on hardware efficiency.
so my question, for i understand better, is: do i need create a timer between the frames or something?
i'm totally new with game loop
-
July 30th, 2018, 03:51 AM
#2
Re: C++: about game loop: do we need take some time between frames?
Yes it is better to setup a minimum amount of time between two frames.
Otherwise your game will permanently use 100% cpu power, which is especially annoying on laptops (keyboard becoming warm, noisy cooling fan...).
-
July 30th, 2018, 01:48 PM
#3
Re: C++: about game loop: do we need take some time between frames?
and for avoid been much more faster between computers(if CPU\Graphics\RAM\others be more faster), right?
-
August 2nd, 2018, 02:06 AM
#4
Re: C++: about game loop: do we need take some time between frames?
Indeed it is a good thing the game works the same speed across machines (that are fast enough to run it).
I've seen old games running so fast they become unplayable
-
August 2nd, 2018, 12:56 PM
#5
Re: C++: about game loop: do we need take some time between frames?
thank you so much for all
-
January 9th, 2019, 11:40 AM
#6
Re: C++: about game loop: do we need take some time between frames?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|