Game#lockRender

lockRender : boolean

If false Phaser will automatically render the display list every update. If true the render loop will be skipped.
You can toggle this value at run-time to gain exact control over when Phaser renders. This can be useful in certain types of game or application.
Please note that if you don't render the display list then none of the game object transforms will be updated, so use this value carefully.

Source code: core/Game.js (Line 275)
doc_phaser
2017-02-14 10:48:15
Comments
Leave a Comment

Please login to continue.