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,273
Reaction score
2,335
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 Profile Posts

The final version of our game is already available both in English and Spanish! ^___^
Can't believe this day has finally come... T_T
Im so happy that Dead By Daylight is getting a Silent Hill chapter! Cant wait to play as pyramid head
I'm glad I found those fishies by @whtdragon so I had a proper base to start pixeling the first enemies in the game.
Such cuties... yeah.
Yesterday, for my youngest sibling's birthday, we watched one of his favorite movies.
Ponyo is such a beautiful, but certainly strange, movie.
I just have to say that I prefer the majority of Studio Ghibli's works to those of Disney.
*sees work place in incoming call history* .... =www= hisssssSSSSSssss.

Forum statistics

Threads
97,812
Messages
947,129
Members
129,027
Latest member
IronWario
Top