Hi. I'm currently making a little game just for fun and I have something I want to do but just don't know how to go about doing it in a good way.
I want to load in a level from a text file where:
0 = Wall (Can't walk here)
1 = Walkable
S = Startpoint
What I want to do is load the map in to 2 char arrays (a matrice, if you will), one for X and one for Y. That way I can loop through the matrice quite smoothly (I hope) to check for the said conditions.
Now making the conditions themselves probably won't be a problem for me, I am more worried about how I will go about loading in the map and using the text in the textfile as I wish.
Any tips for a programmer that just started having the headache that is windows and wants to create a simple game?