class Character extends Phaser.Sprite {

  constructor(game, x, y, key, frame) {
    super(game, x, y, key, frame);
    game.physics.arcade.enable(this);
    this.scale.setTo(0.25, 0.25);
    this.cursors = game.input.keyboard.createCursorKeys();
  }

  update() {
    this.body.velocity.x = 0;
    this.body.velocity.y = 0;

    if (this.cursors.left.isDown)
    {
        this.body.velocity.x = -200;
    }
    else if (this.cursors.right.isDown)
    {
        this.body.velocity.x = 200;
    }

    if (this.cursors.up.isDown)
    {
        this.body.velocity.y = -200;
    }
    else if (this.cursors.down.isDown) {
        this.body.velocity.y = 200;
    }
  }
}

export default Character;
@@ -147,24 +147,26 @@
 (this);%0A    
+//
 this.scale.s
@@ -183,16 +183,48 @@
  0.25);%0A
+    this.scale.setTo(0.5, 0.5);%0A
     this
@@ -274,16 +274,49 @@
 Keys();%0A
+    //this.body.gravity.y = 600;%0A
   %7D%0A%0A  u

change some character properties