Game Loop

Evgenij

Veteran
Veteran
Joined
Aug 28, 2013
Messages
349
Reaction score
100
First Language
German
Primarily Uses
N/A
Can someone explain me how the gameloop works? How perfomant is it?

I see that it has something to do with the requestTick method which is called every time the calculations for a frame are finished, right before the tickEnd method.

Thanks 
 

Iavra

Veteran
Veteran
Joined
Apr 9, 2015
Messages
1,797
Reaction score
859
First Language
German
Primarily Uses
fpsmeter.js contains multiple calls to requestAnimationFrame and this part: "maxFps:60".


It's minified, though, so good look trying to understand what it does ^^
 

??????

Diabolical Codemaster
Veteran
Joined
May 11, 2012
Messages
6,271
Reaction score
2,333
First Language
Binary
Primarily Uses
RMMV
..It's minified, though, so good look trying to understand what it does ^^
The Mv Demo game's files - all of them - were also minified... Its not a hard thing to reverse
 

Evgenij

Veteran
Veteran
Joined
Aug 28, 2013
Messages
349
Reaction score
100
First Language
German
Primarily Uses
N/A
Thanks to everyone. This has helped a lot!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

The new intro Logo for my videos.
The workweek is now over. Now I can work on my GamZzzzzZzzzzZzzzZzzZz....
Just watched Onward with the family. One of the best movies I've ever seen. <3
2 hours & 20 minutes remaining. :D
...trying to hurry finish up all commissions before I never put the controller down again ;)

Forum statistics

Threads
95,822
Messages
932,176
Members
126,250
Latest member
thebitewarrior
Top