     if @sprite.animations.currentAnim.name != anim
       @sprite.animations.play(anim)
 
-    @sprite.body.velocity.x *= 0.9
-    @sprite.body.velocity.y *= 0.9
-
 window.Avatar = Avatar

    @sprite.position.y = state.y
    if @sprite.animations.currentAnim.name != state.anim
      @sprite.animations.play(state.anim)
    if state.skin && @skin != state.skin
      @skin = state.skin
      @sprite.loadTexture(@skin)

  controlledUpdate:->
    moves = @host.pollController()

    @movement.acceleration.set(0, 0)
    @movement.max_velocity.set(MAX_SPEED, MAX_SPEED)
    if (moves.left)
      @movement.acceleration.x = -1
    if (moves.right)
      @movement.acceleration.x = 1
    if (moves.up)
      @movement.acceleration.y = -1
    if (moves.down)
      @movement.acceleration.y = 1
    @movement.acceleration.setMagnitude(ACCELERATION)
    @sprite.body.acceleration = @movement.acceleration
    if @sprite.body.velocity.getMagnitude() > MAX_SPEED
      @movement.max_velocity.setMagnitude(MAX_SPEED)
    @sprite.body.maxVelocity = @movement.max_velocity

    anim = "idle"
    if Math.abs(@sprite.body.velocity.x) > Math.abs(@sprite.body.velocity.y)
