1 decade ago by Joncom
I've got quite a lot of draws going on...
1 decade ago by lTyl
If you&
039;re overwriting your draw in Game without calling this.parent() or not adding the #ig.graph.beginClock('draw');
& ig.graph.endClock('draw');
you will not have the graph working for draw. Same applies for Entity update and entity check 1 decade ago by Joncom
Is that then to say that all code outside the
I see that the draw graph is clocked in graphic-panel.js using:
Is there any simple way to make it inject above/after the main.js
this.parent()
call in the main.js draw
function is always excluded from the draw graph?I see that the draw graph is clocked in graphic-panel.js using:
ig.Game.inject({ draw: function() { ig.graph.beginClock('draw'); this.parent(); ig.graph.endClock('draw'); }, ... });
Is there any simple way to make it inject above/after the main.js
draw
code so it includes everything?
Page 1 of 1
« first
« previous
next ›
last »