More tilemap stuff

This commit is contained in:
2026-02-15 19:08:58 -06:00
parent b5e07700b0
commit aaf04c9e1a
3 changed files with 8 additions and 1 deletions

View File

@@ -30,7 +30,7 @@ main :: proc() {
sprite = load_sprite(PLAYER_SPRITE_PATH, PLAYER_WIDTH, PLAYER_HEIGHT),
}
player.state = .WALKING
set_tile(grid, 10, 10, nothing_tile)
for (!raylib.WindowShouldClose()) {
@@ -42,9 +42,11 @@ main :: proc() {
raylib.DrawText("Ur mom", 100, 100, 50, raylib.BLACK)
draw()
raylib.EndMode2D()
raylib.DrawFPS(20, 20)
raylib.EndDrawing()
update(delta)