It’s probably because your tiledmap is too big, we now use a cache to render the entire tilemap, which is not a good strategy, it may generate big textures, and big textures won’t be able to be displayed in some mobile devices.
We will refactor tiled map in future versions, in the meantime, try to limit your tilemap size
I use CC 1.6.2 and the described behaviour happens with my new game. The tilemap size is only 9x15 tiles and there is only one texture that contains 2 tiles. It works perfectly in the simulator and in the local browser, but it is not visible on Android devices.
Yes, I use the same resource. I don’t really understand, because I use a lot of tilemaps and up to now there were no problems at all. I try to create another test case with a single scene that does not work and I will remove the components/nodes one-by-one. It’s strange…
Here is a zipped project that does not render the tilemap on Android. There is only one scene with a background image and a tilemap on it. Using the Simulator the tilemap is visible, but if I create an APK, I see only the background image. What’s wrong?
@slackmoehrle, please investigate the following file:
thanks for your efforts! I tried to use only one node with the tilemap component (+subnode) and in this case the background was black on Android. So, I think the byte order is not related to my issue. In the sample project I included a background image to make the difference clearly visible (Simulator: yellow-orange tilemap, Android: blue sky).
It’s really strange, because I use several tilemaps in my other game and everything works fine. I don’t know what’s wrong with this project.
By the way, I tested this bug on the following devices: Xiaomi Redmi 4X, Huawei P9, ASUS ME173X.