Transparency Bugs

Hello guys
I created a map on Tiled

transparency works well but when I displate using pygame, pyscroll and pytmx, there is a problem with layers

what is supposed to be transparent appears white, and if I use pyscroll.orthographic.BufferedRenderer(colorkey[white]) it appears black.
Can you help me its for a school project

This is not a Tiled problem; you’re rendering without alpha blending. I can’t help you with the details, but you’ll want to check that your assets are

  1. Loaded as RGBA and not just RGB (i.e. have an alpha channel)
  2. Drawn with alpha blending.