I am making my first game in java and I was wondering if someone could help me with map loading. I'm making a 2D game (similar to the style of the pokemon games, but with a different goal in the game) that has random generated worlds, I want to store the worlds in a text file with some sort of format like...
8888888888
8088088888
8008088088
8800008088
8808888088
8800000088
8888888888
With the 8's being non-passable objects like walls and the 0's being passable objects like the ground.
I am drawing a blank on how I could load and save these files easily in JAVA and then store them in an Array of some kind.
Thanks in advance.