Objects disappear when moved to another (visible) layer?

Discussion and feedback on Construct 2

Post » Fri Aug 08, 2014 11:41 am

Hi. I am working on a multiplayer game and added some "move to layer" actions to the common group (peer+host). But as soon as I move them to the layers the objects disappear. The layers are set to Visible and other objects on these layers can be seen. And if I disable the "move to layer" actions it works fine. Any ideas why they disappear if I move them to a layer? :?

Image

/Update: oops! I think I found the problem. The Layer#4 has 0,0 Parallax for the UI and all other layers have 100,100 (Default). When I set the UI Layer to 100,100 its working. :)
So for moving UI Elements above players it seems I need another extra layer with the same parallax setting as the player object.
B
53
S
16
G
6
Posts: 718
Reputation: 9,150

Post » Sat Aug 09, 2014 12:15 am

You are correct, sir! and this post has a clever workaround, if you want to move between layers with different parallax:

viewtopic.php?f=147&t=111902
B
86
S
43
G
71
Posts: 601
Reputation: 43,619


Return to Construct 2 General

Who is online

Users browsing this forum: takamoto and 1 guest