Guest User

Untitled

a guest
Nov 18th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. this.playerHealthText=this.game.add.text(this.player.x, this.player.y, 'HP: 100', { fontSize: '32px', fill: '#000' });
  2.  
  3. this.playerHealthText.fixedToCamera=true;
Add Comment
Please, Sign In to add comment