Tilengine - The 2D retro graphics engine forum

Full Version: Tileset not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I am currently facing an irritating error. I am trying to get a very minimal programm working. If I use the assets from the code samples it works fine, but if I create my own assets using tiled I always get an error at run time:

Code:
*** Error in `./widlw': double free or corruption (out): 0x0000556c04fb2f40 ***

I have narrowed down to the tileset. When I use for example the smw_foreground.tsx from the samples it works fine, but if I use the tileset I created myself I always get this error.

Any suggestions?
Ok, I found the error myself. The issue was, that my tileset PNG files did not use indexed colours…