# How comes my tiles in game are black but on Tiled they're transparent? | Pygame

**URL:** <https://discourse.mapeditor.org/t/how-comes-my-tiles-in-game-are-black-but-on-tiled-theyre-transparent-pygame/4549>\
**Category:** Questions\
**Created:** [June 5, 2020, 1:07am UTC](https://discourse.mapeditor.org/t/how-comes-my-tiles-in-game-are-black-but-on-tiled-theyre-transparent-pygame/4549 "2020-06-05T01:07:14Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![KgothatsoN](https://avatars.discourse-cdn.com/v4/letter/k/439d5e/32.png) [@KgothatsoN](https://discourse.mapeditor.org/u/KgothatsoN)\
**Post date:** [June 5, 2020, 1:07am UTC](https://discourse.mapeditor.org/t/how-comes-my-tiles-in-game-are-black-but-on-tiled-theyre-transparent-pygame/4549/1 "2020-06-05T01:07:14Z")

</div>

Transparent:

 ![image](https://canada1.discourse-cdn.com/flex035/uploads/mapeditor/original/2X/b/b6b068a63d60345e1128b9ecb275f86f43501b27.png)

Black:  
 ![image](https://canada1.discourse-cdn.com/flex035/uploads/mapeditor/original/2X/7/707087abdafeecc798ece249a862f7136ade5c65.png)

---

<div class="post-metadata">

**Author:** ![eishiya](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.mapeditor.org/eishiya/32/2534_2.png) [@eishiya](https://discourse.mapeditor.org/u/eishiya)\
**Post date:** [June 5, 2020, 1:28am UTC](https://discourse.mapeditor.org/t/how-comes-my-tiles-in-game-are-black-but-on-tiled-theyre-transparent-pygame/4549/2 "2020-06-05T01:28:58Z")

</div>

It sounds like they’re being drawn transparent, but the background is the default black. Have you tried drawing something behind them to see whether they’re actually black, or transparent?

If they actually are black, it may be that your library is ignoring the tileset’s alpha channel, which is probably an option you can tweak somewhere. A way to check whether the alpha channel is being ignored is to use a semi-transparent white tile. If it turns out completely white in-game, the alpha channel is being ignored, but if it turns out grey, then you’re just rendering on a black background and the alpha is correct.
