added health sprite to the game

This commit is contained in:
Stefan Stefanov 2024-02-10 18:11:18 +02:00
parent d21ccf3dc8
commit ec8ced3958
5 changed files with 37 additions and 13 deletions

View file

@ -28,6 +28,7 @@ PLAYER_RECT :: glm.vec2{SPRITE_CELL * GLOBAL_SPRITE_SCALE, SPRITE_CELL * GLOBAL_
// texture offset for ship
SHIP_TO :: glm.vec2{0, 112}
HEART_TO :: glm.vec2{16, 112}
BULLET_TO := [2]glm.vec2{{0, 80}, {16, 80}}
BULLET_FRAME_ANIM := 0