How do I use parallax to move the screen for a specific loca

Get help using Construct 2

Post » Mon Jul 06, 2015 4:42 pm

I've a screen divided horizontally into 3 parts and the user can access each part at time. Can I use parallax to simulate this movement or is better to use bullet behavior to move the objects? If yes, how can I implement it? Thanks in advance.
B
74
S
13
G
4
Posts: 1,000
Reputation: 8,041

Post » Mon Jul 06, 2015 9:44 pm

I think that a bullet behavior would be better to move objects, when I think about parallax I think about backgrounds. But it really depends on what you are trying to do.
B
17
S
7
Posts: 277
Reputation: 2,514

Post » Mon Jul 06, 2015 10:28 pm

It's like if I had three scenes and I needed to change it, sliding from one to another. But I also think it's better to use a behavior to move the tile BG and sprites. Maybe LiteTween may be more appropriate. Thanks for your time, @RayKi
B
74
S
13
G
4
Posts: 1,000
Reputation: 8,041

Post » Tue Jul 07, 2015 1:16 am

I've made a game where the menu screen have 3 parts I used something like:

Mouse clicked on classic - set scrollx to 800 and scrolly to 0

Mouse clicked on timer - set scrollx to 1400 and scrolly to 0

You could do this and then set the position of the objects too.
You know nothing, Jon Snow
B
10
S
2
G
1
Posts: 53
Reputation: 766

Post » Tue Jul 07, 2015 11:27 am

@Tasso,

It's a nice solution. I will try this.

Thanks
B
74
S
13
G
4
Posts: 1,000
Reputation: 8,041


Return to How do I....?

Who is online

Users browsing this forum: brunopalermo, guannstar, marcinkowski, Shenkai the ssj, Yahoo [Bot] and 11 guests