I have gotten to the point in making a game where I need to figure out how I do load the levels.
So if I had a resource file called "level0" and its contents would be something like this:
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000200000003
1111111111111111
16
160
How I would load them to a 16x12 array?
Also, I need to load the player's start coordinates as well. In this case, they would be 16 and 160.
EDIT:
The resource file is a text file.