How do I make Y parallax

Get help using Construct 2

Post » Fri May 23, 2014 7:08 am

Hello! I'm devoloping the game for mobile phone and character control is provided by the sprites (arrows) which I draw. When I make X parallax it works good, but when I made Y parralax it ceased to exist! What can I do with that?
B
7
S
1
Posts: 73
Reputation: 603

Post » Fri May 23, 2014 7:59 am

Without seeing the .capx it's difficult to see. Are you amending the Y value of the layer you are using for parallax?

Here's an example just using y parallax (uses r170, available at bottom of page). Does it help?
You do not have the required permissions to view the files attached to this post.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
86
Posts: 5,420
Reputation: 59,526

Post » Fri May 23, 2014 8:37 am

My project is very big, that's why it is impossible to send it. When I make the position like in examples,(0,0) it works well done, but who needs control keys in this position?) When I change sprite position it doesn't work
B
7
S
1
Posts: 73
Reputation: 603

Post » Fri May 23, 2014 9:57 am

Setting parallax to (0,0) is generally used for something you want to stay in one position, such as HUDs.

Have you adjusted the x and y parameters of the parallax layer properties to say, 75 or 50, depending on what speed or effect you're after?

Sometimes you need to set 'Unbounded Scrolling' to yes to get the correct effect.

It may help you to just put your current project to one side for an hour, and just create a very simple .capx that just tries to get the effect you're after. At least then you could attach it to your post if you subsequently need help.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
86
Posts: 5,420
Reputation: 59,526


Return to How do I....?

Who is online

Users browsing this forum: Euduardo, Kin, mikehive, ratboy3, tinhofiel, YoHoho and 40 guests