While working on WoW-2D, I had to build my own Tiled parser which I’ve done before. If anyone has experience with parsing out TiledMaps (tmx) themselves, I need some pointers on how I could possibly make the code I’ve done even faster.
With my current code, a 50x50 map takes between 200-300ms to load. Here is my gist with all of the parsing/generation code: Tiled Gist
More specifically, if you look at the class ‘TiledLayer,’ I’m looking for a way to make that generation faster. If anyone has any pointers, please let me know