Objects disappear when moved to another (visible) layer?

0 favourites
  • 2 posts
From the Asset Store
Hand-painted tiles, objects, animated objects, and background to build a colorful Mayan civilization environment.
  • 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?

    /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.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • You are correct, sir! and this post has a clever workaround, if you want to move between layers with different parallax:

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)