Parallax Layer affecting others!

Get help using Construct 2

Post » Fri Nov 15, 2013 3:18 am

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 :)

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

Thanks a lot for reading my post!
B
4
Posts: 6
Reputation: 662

Post » Fri Nov 15, 2013 4:06 am

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).
ImageImageImage
B
71
S
21
G
220
Posts: 3,646
Reputation: 123,721

Post » Fri Nov 15, 2013 10:52 am

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!
B
4
Posts: 6
Reputation: 662

Post » Fri Nov 15, 2013 11:17 am

@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).zenox982013-11-15 11:18:00
If your vision so exceeds your ability, then look to something closer.
Moderator
B
131
S
29
G
81
Posts: 5,328
Reputation: 56,630

Post » Fri Nov 15, 2013 11:56 am

Oh! It seems I forgot that :') A MILLION thanks zenox!
B
4
Posts: 6
Reputation: 662


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], Hadyurik, ksiads, marc254, marcinkowski, mtnboy22, Rable and 5 guests