SFML community forums
General => SFML projects => Topic started by: fallahn on November 15, 2016, 04:21:18 pm
-
This is meant to be a portable parsing library which can be used with any graphics rendering library, including SFML. The 'lite' part refers to the library not needing any external dependencies such as boost or zlib, while still supporting compressed map formats. I'm posting it here in case anyone finds this useful (there's an SFML example included in the repository).
Github (https://github.com/fallahn/tmxlite)
-
I used JSON export in Tiled in my game :) I think it's easier, than parsing their format ;)
-
Binary algorithm is one up. Huge maps are just too memory hungry and slow to load with things like JSON and XML.