microspace Posted September 19, 2018 Share Posted September 19, 2018 (edited) I have a sprite `player`. If I do `player.x = 200`, `player.y = 300` in a function which fires on a button click, does the movement of sprite itself take any games ticks? Edited September 19, 2018 by microspace more explicit header Link to comment Share on other sites More sharing options...
rich Posted September 19, 2018 Share Posted September 19, 2018 Depends how you're handling the button callback. But if it's completely within Phaser and not something outside of it, then the position will be set immediately and visible during the next render pass. Link to comment Share on other sites More sharing options...
Recommended Posts