Parallax Layer affecting others!

0 favourites
  • 5 posts
From the Asset Store
Create large maps with dynamic depth and precise sprite layering control in top-down games.
  • Hello, and good night construct2 community! I hope you can help me with my question.

    This is a game I'm doing right now. I added a new Layer named "Nubes" (clouds in English) where I created some clouds instances on the sky of the game.

    I also gave 'em parallax attributes 75,75 so it would move slower than the main layer.

    My problem is, that it's affecting the "enemies" from my main Layout. I've tried everything, searched everywhere and when I just thought I nailed it, the horses are moving under the clouds and I couldn't fix it even modifying the Z order :/

    Here is the file so you can take a look on it :)

    dl.dropboxusercontent.com/u/104145932/Kuma%20Capx/Kuma.capx

    Thanks a lot for reading my post!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • All of your creates are on Layer 1. You should change it to "Main" so that they are on the correct layer (and will stay on Main should layers move).

  • Hello blackhornet, could you please be more specific? I didn't quite get your answer! All my creates are on Main (2), only clouds on Layer (1). If I change positions (Main on [1] and Cloud Layer on [2]) The Clouds are above everything on the layer!

  • Klaha

    As an example, Event Sheet 3 - Event No 21 has the Action 'Create Object CaballoEspectral on Layer 1 ...etc' which is the Layer with the parallax on it.

    Just set it to Layer 2 (Main).

  • Oh! It seems I forgot that :') A MILLION thanks zenox!

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