This commit is contained in:
2025-02-27 13:51:11 -06:00
parent cddba06c25
commit f9ea78d62e
4 changed files with 9 additions and 22 deletions

View File

@@ -20,8 +20,9 @@ main :: proc() {
rl.SetTargetFPS(60)
player = {
position = {CELL_SIZE * 5, CELL_SIZE * 5},
position = {CELL_SIZE * 500, CELL_SIZE * 500},
camera = {
zoom = 2,
target = {player.position.x + (CELL_SIZE / 2), player.position.y + (CELL_SIZE / 2)},
@@ -35,6 +36,9 @@ main :: proc() {
world = create_world("test_world")
load_nearby_chunks(&world, player.position)
set_tile(&world, tree_tile, {400,400})
save_world(&world)