create a 2d camera + fix small bug

This commit is contained in:
2026-07-01 21:01:52 -07:00
parent 8fb1ec1dcb
commit 90cca442ac
4 changed files with 69 additions and 12 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ main :: proc() {
game := game_init()
defer game_shutdown(&game)
for !rl.WindowShouldClose() {
for game.running && !rl.WindowShouldClose() {
rl.BeginDrawing()
defer rl.EndDrawing()