frokenstein Posted November 12, 2014 Report 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? Quote Link to comment Share on other sites More sharing options...
spencerTL Posted November 12, 2014 Report Share Posted November 12, 2014 Sprite.fixedToCamera = true;Is what you are looking for.http://docs.phaser.io/Phaser.Sprite.html#fixedToCamera Quote Link to comment Share on other sites More sharing options...
frokenstein Posted November 13, 2014 Author Report Share Posted November 13, 2014 Thank you. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.