# This is our list of tiles for the level
# Each item is either a "Wall" or a "Path"
Level_Data := [
"Wall", "Wall", "Wall", "Wall", "Wall", "Wall",
"Wall", "Path", "Path", "Path", "Path", "Wall",
"Wall", "Path", "Wall", "Wall", "Path", "Wall",
"Wall", "Path", "Path", "Path", "Path", "Wall",
"Wall", "Wall", "Wall", "Wall", "Wall", "Wall"
]
# This function checks if a spot is a wall
Is_Wall := (Tile_Type: string) => bool:
# We check if the tile name is "Wall"
return Tile_Type == "Wall"
Verse Library
verse
01 Fragment
Defines a tile map array and helper function to check for wall positions in a level layout.
verse-library/verse-starter-03-designing-levels-for-in-unreal-editor-for-fortnite/01-fragment.verse