edoren / STP

SFML TMX Parser -
edoren.github.io/STP
Other
30 stars 13 forks source link

Not all maps load correctly with newer libs #32

Open TheMaverickProgrammer opened 4 years ago

TheMaverickProgrammer commented 4 years ago

I'm unsure why this is because I am using the same assets from your example directory. I see this lib is a little old, but it still works!

I am:

Each of these was installed with vcpkg. I want to also note that I had to manually change the linker settings to use -d debug sfml libs for DEBUG builds and that vcpkg paths were not automatically added to the project even though the packages were found correctly using cmake's find_package().

Untitled

specifically some tiles are swapped around and for whatever reason the bushes on the left side of the screen are missing.

Also, you want to document I MUST use zlib compression if I use any compression. I made some custom maps and was unsure why it was crashing. There doesn't seem to be a check for that. Once I stepped in the code and made that change in my .tmx maps, they loaded!