random world generation lmao (it is just entirely random)

This commit is contained in:
zoe 2022-05-08 20:14:35 +02:00
parent 1de09f7014
commit f2d449a827
7 changed files with 46 additions and 23 deletions

View file

@ -24,6 +24,7 @@ func update_tiles(tile_positions: PoolVector3Array):
if !StateServer.is_tile_hidden(int(tile.x), int(tile.y), int(tile.z)):
tilemaps[tile.z].set_tile_graphics(Vector2(tile.x, tile.y),
get_tile_at(tile))
else: print("hidden tile hehe")
func _on_StateServer_request_init():
call_deferred("respawn_tilemaps")