Reading maps from a .txt file?
Ok, I know somebody has done this in a game I played recently, called 'Light' (sorry, I forgot the person's name but it was great!). And although it wasn't console based I am sure this is possible in console. What I need to know is how would I read from a .txt file and insert it into a 2d array? I haven't done much in File I/O, but would I use a 'For Loop' to read each character then assign it to the correct position? And how would I go about doing this? Thanks in advance! You guys are great!