Game#step()

step()

When stepping is enabled you must call this function directly (perhaps via a DOM button?) to advance the game loop by one frame.
This is extremely useful to hard to track down errors! Use the internal stepCount property to monitor progress.

Source code: core/Game.js (Line 988)
doc_phaser
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.