delta was supposed to be in seconds, not ms
This commit is contained in:
parent
4957968eb8
commit
90b21ce6a4
|
@ -46,7 +46,7 @@ public abstract class BaseGame {
|
||||||
window.tick();
|
window.tick();
|
||||||
//todo: frame rate control
|
//todo: frame rate control
|
||||||
rootNode.tick();
|
rootNode.tick();
|
||||||
update(1000.0 / 60.0);
|
update(1.0 / 60.0);
|
||||||
var rc = window.renderStart();
|
var rc = window.renderStart();
|
||||||
renderPre(rc);
|
renderPre(rc);
|
||||||
rootNode.render(rc);
|
rootNode.render(rc);
|
||||||
|
|
Loading…
Reference in New Issue