noise 2d + ajustements maze

This commit is contained in:
Crizomb 2025-04-01 06:09:10 +02:00
parent ce1d74eada
commit 7bb7ea54af
4 changed files with 9 additions and 9 deletions

View file

@ -67,8 +67,8 @@ func init_maze() -> void:
current_pos = Vector3i(0, 0, 0)
explored[current_pos] = true
for x in range(WIDTH):
for z in range(HEIGHT):
for x in range(-1, WIDTH):
for z in range(-1, HEIGHT):
set_cell_item(Vector3i(x, 0, z), TILE_WALL) # fonction de GridMap
func generate_maze_step() -> void: