For my engine that I'm creating, I want to include tilemap support. The problem is, I want several different things and I don't really know how to do it in a clean, simple way. A way that I know I could do it is with multidimensional arrays and manually assigning them in code, but I'm not so sure that's the easiest way. Is there a way to read the values from a txt file or XML file? I also want to make it to where some tiles have collision against them. Like for example, if you attempt to run onto a rock tile, you would collide against it and stop. Same with water, etc. Help is greatly appreciated, thank you for your time.