djog / tank_battalion

Tank Battalion recreation by DJOG Uno's 2020 in processing.
GNU General Public License v3.0
3 stars 0 forks source link

Load grid from file #23

Closed rijkvp closed 4 years ago

rijkvp commented 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

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.