test new shoot

This commit is contained in:
_N3m0 2024-03-23 12:43:59 +01:00
parent 2f80a81ceb
commit 29f554b88b
1 changed files with 4 additions and 0 deletions

4
main.c
View File

@ -294,6 +294,10 @@ int main(void)
}
}
if (IsMouseButtonPressed(MOUSE_BUTTON_RIGHT)) {
DrawLineEx((Vector2){.x = player.x, .y = player.y}, mouse, 5.0f, GOLD);
}
// player
DrawTexturePro(
player_t,