Skip to content

Commit

Permalink
remove 1 width walls, they looked bad
Browse files Browse the repository at this point in the history
  • Loading branch information
benc-uk committed Dec 30, 2019
1 parent ecea0da commit 583560b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/map.gd
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 583560b

Please sign in to comment.