Advertisement
papyhardcore

player

Feb 25th, 2014
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  EntityPlayer = ig.Entity.extend({
  2.                 size: {x: 16, y: 16},
  3.                 collides: ig.Entity.COLLIDES.FIXED,
  4.                 animSheet: new ig.AnimationSheet('media/player.png', 16, 16),
  5.                 init: function(x, y, settings) {
  6.                     this.parent(x, y, settings);
  7.                     this.addAnim('anim', 0.1, [0]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement