player tweaks
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user