DbD Posted November 8, 2014 Report Share Posted November 8, 2014 I was wandering how can I make a bit of text, or really anything in my game have a fixed position related to the camera? Basically when I move right everything works just like a platformer should, except for the text that displays 'Health: ' + my health var. How can I make the text constantly stay in the same spot on the screen? Quote Link to comment Share on other sites More sharing options...
CtlAltDel Posted November 8, 2014 Report Share Posted November 8, 2014 mySprite.fixedToCamera = true; 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.