Hello, I never played with Tiled before today. I spent the whole day doing a pretty big map, and everything is wrong when I load it into my pygame RPG. The first image is how I see it in Tiled, the second image is what actually shows up when I load it.
I have already tried changing the “trans” argument in the text editor of the .tmx file to “000000”, “ffffff00” and “ff00ff” none of which work, but they have slight variations (some have the glitched parts with pink and yellow, others just white/black).
Can someone please explain what is going on and how I can fix my map or at least avoid this mistake in future maps?
Indeed trans="000000" means black would be your transparent color. Maybe Pygame ignores the alpha channel when it sees that a transparent color is set, though that doesn’t seem to explain all of the behavior, especially not why the grass was not visible in your first ingame screenshot.
Btw, to unset the transparent color there is a checkbox when editing the Image of the tileset: