More tilemap stuff
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user