diff options
author | kdx <kikoodx@paranoici.org> | 2023-03-17 18:19:06 +0100 |
---|---|---|
committer | kdx <kikoodx@paranoici.org> | 2023-03-17 18:19:06 +0100 |
commit | f106977f6b0fce888306f4af29c847857a2e02be (patch) | |
tree | 4037aa8aaa20efa52c30512b11ce3a32fb05b357 | |
parent | 4d17f417ebdd3f161138530120c459a35c90ea5f (diff) | |
download | hyperultra-f106977f6b0fce888306f4af29c847857a2e02be.tar.gz |
turbo
-rw-r--r-- | src/player.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/player.c b/src/player.c index b4765df..9281357 100644 --- a/src/player.c +++ b/src/player.c @@ -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); |