So I’m new at coding and have managed to build a working game. However, some layers are not showing up in-game, even though they are not hidden on behind the background. Does anyone have a fix for this?
Can you some screenshots of how it looks in the exported game (better if you could provide the game itself) also some screenshots of the game in the editor and in the preview
And also check if you are hiding the layers in the editor. Also are you using any layer effect?
Hi share some screenshots of your layers and events.
Check also if all images are less than or equal 2048x2048, maybe some bigger images doesn’t show in some devices.
If you can reproduce the problem in a empty project i’ll take a look.
With your cloud asset too, because seem the texture is a way to large too as @UlisesFreitas told you.
Make sure that if you are using any zoom or camera center features that you center and zoom the camera on all layers
Hello, I’ve experienced the same thing. You need to change the layer’s camera place in order to see the sprite. Like how we first set up to make cam chase character. Because all layers have their own camera. I don’t know If you can make it all same. Also If you have changed zoom in the first cam, you need to change zoom in all cams to make it look normal size too. I hope this comment would help you.
I’m having this problem too. you hit “show layer” and “show” to the objects on the layer. but nothing happens.
I think what is confusing is I’ve been doing this a while and still have this problem. most layers are visible but some are not. so i have to be like “did i turn one of the layers off at some point… somewhere… in the code” looking through all this code but nothing stands out. it should just be “on” by default.
So I figured out what it was in my case. it is subtle. there is a thin black rectangle as the level border. I was placing objects inside of this. but it turns out this rectangle is actually a new update, it - moves - with the camera. not good. what you want is to find the thin - grey - rectangle and place objects inside that. it’s subtle.
This was a really old thread… anyway there is no “level border”. The only rectangle would be the viewport indicator which shows the size of the game screen at 0,0. The original poster had made a HUD object at some far away coordinates (-5000) when they should have been placing it in the viewport.
yeah I find topics from 5 years ago or more are often still relevant. the fact is this tripped me up for hours, and this was the only post on this subject. so I might be helpful to other people also having answers to that.