player tweaks

This commit is contained in:
2025-03-02 15:32:42 -06:00
parent 2d79747a82
commit f73f5d4950
3 changed files with 15 additions and 3 deletions

View File

@@ -25,13 +25,14 @@ main :: proc() {
rl.SetTargetFPS(60)
player = {
position = {CELL_SIZE * 10, CELL_SIZE * 10},
position = {CELL_SIZE * 0, CELL_SIZE * 0},
camera = {
zoom = 4,
target = {player.position.x + (CELL_SIZE / 2), player.position.y + (CELL_SIZE / 2)},
offset = {f32(rl.GetScreenWidth()) / 2, f32(rl.GetScreenHeight()) / 2},
},
mode = .INTERACT,
speed = 1,
}
load_tilemap()