The foreground

Get help using Construct 2

Post » Mon Apr 16, 2012 1:46 pm

Hello everybody,

I want to make a platform game with different layer:
The background moves slower and the foreground moves faster.
I've tried to find the solution, but I could not...
Could you please help me with this? thanks a lot.

Yuan
B
11
S
2
Posts: 53
Reputation: 1,237

Post » Mon Apr 16, 2012 3:00 pm

Change the 'parallax' property on the layer you want to scroll slower. E.g. make the background parallax 30, 30.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Wed Apr 18, 2012 8:17 am

Thanks Ashley , I will try this out today
B
11
S
2
Posts: 53
Reputation: 1,237

Post » Wed Apr 18, 2012 5:18 pm

what about for a literal foreground? can you set a layer to parallax faster than 100%?
B
13
S
5
G
2
Posts: 306
Reputation: 3,262

Post » Sat Apr 21, 2012 10:49 pm

@aridale:

I've been wondering the same thing, so I just tested parallax scrolling above 100% on a foreground layer in front of the field of play. It seems to behave as expected. I tested up to 200% on both X and Y and it worked fine (in FF11 at least).

--Joe
B
12
S
5
G
5
Posts: 26
Reputation: 4,001

Post » Sat Apr 21, 2012 11:51 pm

awesome thanks for the heads up @joeykid6
B
13
S
5
G
2
Posts: 306
Reputation: 3,262


Return to How do I....?

Who is online

Users browsing this forum: DemantDigitalArt, Lancifer and 24 guests