Closed rijkvp closed 4 years ago
Currently the gird consists just of some randomly generated nodes. To create & load levels the grid needs to be able to be loaded from a text file.
Create a testing level file in the folder call & place it it in: assets/levels/maze.ini
assets/levels/maze.ini
Every line of the file should correspond to one row in the grid. A number indicates what kind of node the text represents.
For now the file should be read in the constructor of the grid class.
Currently the gird consists just of some randomly generated nodes. To create & load levels the grid needs to be able to be loaded from a text file.
Create a testing level file in the folder call & place it it in:
assets/levels/maze.ini
Every line of the file should correspond to one row in the grid. A number indicates what kind of node the text represents.
For now the file should be read in the constructor of the grid class.