-
Notifications
You must be signed in to change notification settings - Fork 1
Building Stage Layout
This page contains information about placing tiles on the map by retrieved data from the current stage.
Stage layouts consist of 26x26 tiles. The manager responsible for creating tiles takes integer values from the data and places correct prefab if this value fits between range of tile prefabs. Stage is built in columns and the procedure always start from the top-left corner.
The data describing how the stage layout should look like is a JSON file of the current stage which contains an array of integers. By using these numbers, the manager places a tile prefab with a corresponding index in each cell one by one (see the "Reading Stage Data Files" page for more information). All values exceeding the range of this table, are ignored.
During building a stage layout, all areas considered as taken (prohibited), are ignored. These areas include: