Guest User

Untitled

a guest
Nov 22nd, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. game.load.image('selector', 'assets/img/pointer.png')
  2.  
  3. selector = game.add.sprite(game.world.centerX, game.world.centerY, 'selector')
  4.  
  5. selector.x = game.input.x;
  6. selector.y = game.input.y;
Add Comment
Please, Sign In to add comment