I've done some searching but couldn't find a topic that was quite what I wanted so I apologize if this has been asked multiple times.
I'm currently working on a 2D platformer game and am contemplating how to deal with loading levels. I'm using LibGDX as my framework. I was wondering what you guys prefer to do for handling this. I might like to add a level editor eventually so I was thinking about having a simple text file with the maps and different numbers representing different tiles, i.e.
0022200000 0000121000 0111012200 1110020010 0111210011 0120101010
Where 0, 1, and 2 represent different tile images. Then I could just load it in one level at a time. What are my other alternatives? How do you prefer loading levels? Thanks,