This commit is contained in:
kdx 2023-03-17 18:19:06 +01:00
parent 4d17f417eb
commit f106977f6b
1 changed files with 3 additions and 0 deletions

View File

@ -40,6 +40,9 @@ player_update(Entity *this, Game *g)
this->player.scale_y = 1.5;
break;
}
} else if (on_ground && input_down(K_X)) {
this->vel[0] *= 3;
this->player.scale_x *= 1.05;
}
entity_move(this, g);