frokenstein Posted November 12, 2014 Share Posted November 12, 2014 I have several scoreboard objects that I want to fix in the upper left corner but they end up moving due to the camera. How can I fix an object relative to the viewport and not to the game world? Link to comment Share on other sites More sharing options...
spencerTL Posted November 12, 2014 Share Posted November 12, 2014 Sprite.fixedToCamera = true;Is what you are looking for.http://docs.phaser.io/Phaser.Sprite.html#fixedToCamera Link to comment Share on other sites More sharing options...
frokenstein Posted November 13, 2014 Author Share Posted November 13, 2014 Thank you. Link to comment Share on other sites More sharing options...
Recommended Posts