bug in FastTMXTiledMap if visibility off in Tiled? #1281
-
Hi, The data with the visibility of the layer "meta" on is 2023-07-20.11-30-17.mp4 |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
@rudiHammad |
Beta Was this translation helpful? Give feedback.
-
It's okey, I prefer not to change axmol. I might do an exportation tool in Tiled. |
Beta Was this translation helpful? Give feedback.
Are you sure this is a bug? According to the current implementation, if the layer visibility is
false
, then it doesn't get created.So, when you select a layer via
getLayer()
, you should always check the return value. If it's null, then it do…