5
5
// superclass constructor?
6
6
this.parent(x, y, settings);
8
10
// walking, jumping speed:
10
12
this.setMaxVelocity(255,255); // just something big so we don't hit it
13
16
//camera should follow us
14
17
me.game.viewport.follow(this.pos, me.game.viewport.AXIS.BOTH);