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