rename hud.odin to overlay.odin, add clay button to start wave

This commit is contained in:
2026-06-16 21:58:51 -07:00
parent cc71ee1286
commit d097e36419
6 changed files with 102 additions and 57 deletions
+8
View File
@@ -1,5 +1,7 @@
package game
import clay "../clay-odin"
MAP_W :: 30 // map width in tiles
MAP_H :: 20 // map height in tiles
TILE_SIZE :: 32 // size of tiles in pixels
@@ -17,3 +19,9 @@ MAX_PROJECTILES :: 64
PROJECTILE_SPEED :: 280 // pixels per second
PROJECTILE_HIT_RADIUS :: 10
UI_BAR_COLOR :: clay.Color{20, 40, 20, 200}
UI_TEXT_COLOR :: clay.Color{240, 240, 230, 255}
UI_GOLD_COLOR :: clay.Color{255, 215, 80, 255}
UI_BUTTON_COLOR :: clay.Color{60, 120, 60, 255}
UI_BUTTON_HOVER :: clay.Color{80, 150, 80, 255}