Screen constantly moving

Get help using Construct 2

Post » Sat Nov 03, 2012 3:17 pm

How do I let the screen constantly moving forward? I think it's something related with the parallax but i'm not really sure.

Here's my project
https://www.dropbox.com/s/wd834jrr8m8hv8z/lvl2.capx

Thanks :D
B
3
Posts: 13
Reputation: 376

Post » Sat Nov 03, 2012 10:25 pm

I don't understand your question. Seems like the game is working fine
B
83
S
21
G
15
Posts: 1,039
Reputation: 15,134

Post » Sun Nov 04, 2012 6:57 pm

[QUOTE=7Soul] I don't understand your question. Seems like the game is working fine[/QUOTE]

It is working fine, but I want that the image as background moves automatically just like this game http://www.youtube.com/watch?v=6xKOZzNfAFw
B
3
Posts: 13
Reputation: 376

Post » Sun Nov 04, 2012 8:04 pm

Well, first things first. Your background is a solid purple, so no movement would be noticeable.

You can achieve movement in two ways.

1. Make the player constantly move forwards and keep the window scrolling with it. Either via ScrollTo, MagiCam or just hardcoding it with events.

2. Keep the player stationary (like your capx is currently set up) and move the background instead. This is more similar to how older games do things.

Either one has pro's and con's, use whichever you're most comfortable with. After you've decided which way to go it's simply a matter of doing your homework.inkBot2012-11-04 20:06:20
B
73
S
20
G
10
Posts: 524
Reputation: 9,896

Post » Mon Nov 05, 2012 9:33 pm

[QUOTE=inkBot] Well, first things first. Your background is a solid purple, so no movement would be noticeable.

You can achieve movement in two ways.

1. Make the player constantly move forwards and keep the window scrolling with it. Either via ScrollTo, MagiCam or just hardcoding it with events.

2. Keep the player stationary (like your capx is currently set up) and move the background instead. This is more similar to how older games do things.

Either one has pro's and con's, use whichever you're most comfortable with. After you've decided which way to go it's simply a matter of doing your homework.[/URL][/QUOTE]

Yeah the second one is what i want to do. Thanks, i'll do a little research...
B
3
Posts: 13
Reputation: 376


Return to How do I....?

Who is online

Users browsing this forum: abdalghani, Kagubro and 21 guests