added badman shooting and reloading

This commit is contained in:
2025-10-06 17:30:49 +01:00
parent 8a360df98a
commit fcc7adfb22
8 changed files with 82 additions and 13 deletions

View File

@@ -73,6 +73,6 @@ void PlayerUpdate(F32 delta, Player *player) {
}
}
dir = V2f_Scale(NormaliseV2F(dir), PLAYER_SPEED*delta);
player->pos.x += dir.x;
player->pos.y += dir.y;
player->collision.pos.x += dir.x;
player->collision.pos.y += dir.y;
}