From 583560b69e5251abf41bdb66735b2ce6163ce601 Mon Sep 17 00:00:00 2001 From: Ben Coleman Date: Mon, 30 Dec 2019 10:20:00 +0000 Subject: [PATCH] remove 1 width walls, they looked bad --- core/map.gd | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/core/map.gd b/core/map.gd index 273c3ed..30b1005 100644 --- a/core/map.gd +++ b/core/map.gd @@ -121,10 +121,12 @@ func _add_walls(): if get_cell(x, y) == TILE_IDX_UNSET: # Specal 1 thickness walls - doesn't look that good if get_cell(x-1, y) == TILE_IDX_FLOOR and get_cell(x+1, y) == TILE_IDX_FLOOR: - set_cell(x, y, TILE_IDX_WALL, false, false, false, Vector2(1, 1)) + #set_cell(x, y, TILE_IDX_WALL, false, false, false, Vector2(1, 1)) + fill_cells_floor(x, y, 1, 1) continue if get_cell(x, y-1) == TILE_IDX_FLOOR and get_cell(x, y+1) == TILE_IDX_FLOOR: - set_cell(x, y, TILE_IDX_WALL, false, false, false, Vector2(2, 1)) + #set_cell(x, y, TILE_IDX_WALL, false, false, false, Vector2(2, 1)) + fill_cells_floor(x, y, 1, 1) continue # Cardinal directions