How do I make a vertical up to down wrap scrolling parallax?

Just started using Construct 2? Post your questions here

Post » Thu Mar 05, 2015 3:40 am

Hi all,

How do i make a parallax scroll from up to down using the scrolly function (or the best way to)?

I've searched the tutorials but none was simple to a newcommer.
Last edited by xrhajan on Mon Mar 16, 2015 3:46 pm, edited 1 time in total.
B
13
S
2
G
2
Posts: 9
Reputation: 985

Post » Thu Mar 05, 2015 6:13 am

Tutorial Coming. ETA: 2 hours.

Edit:
Got complete distracted, then went to bed. And upon reading your post a second time, I realize your question does not need a video tutorial.

Step 1: Select the layer you wish to parallax.
Step 2: Go to the property window on the left hand side and select Parallax.
Step 3: Adjust X for left and right or adjust Y for up and down.
Step 4: Enjoy.
Last edited by Tekniko on Thu Mar 05, 2015 5:12 pm, edited 1 time in total.
B
53
S
14
G
13
Posts: 818
Reputation: 17,364

Post » Thu Mar 05, 2015 10:25 am

There are a lot of scrolling examples implementations in the how do I FAQ.
Also, perhaps if you are already lost you should complete a few more tutorials to get more used to C2.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
258
S
90
G
48
Posts: 7,083
Reputation: 62,882

Post » Thu Mar 05, 2015 12:22 pm

Thanks for the quick responses.
@Tekniko Thanks for that!

@Kyatric, you are my menthor, man! I'm starting with your tutorials (but i had problem in this part, couse in the tuto, its horizontal left to right scrolling and i've transposed to vertical, but only works down to up)!
B
13
S
2
G
2
Posts: 9
Reputation: 985

Post » Fri Mar 06, 2015 2:17 pm

@Tekniko i don't know if this will help you, but i'm following the @Kyatric "http://gamedevelopment.tutsplus.com/series/build-a-space-based-shoot-em-up-in-construct-2--gamedev-12704" tutorial. And it just works horizontal left to right. I've transposed to vertical, but only work down to up.

When i try to invert the sentence in Y axis, the scroll stop. :/
Last edited by xrhajan on Wed Mar 11, 2015 12:51 pm, edited 1 time in total.
B
13
S
2
G
2
Posts: 9
Reputation: 985

Post » Tue Mar 10, 2015 2:59 pm

@Kyatric can you help with that?



----------[Edit]------------


Well, after many searches and many attempts, i've figured out how to do. :lol: Actually it's very simple.

With your "to scroll" background (in this case a starfield) taller than your static background, you just set Layout properties> Unbounded Scrolling>yes

And now, the reverse sentence should work.

System on every tick: System set scroll Y to scrolly - 8 (or any speed variable) *dt

**I didn't implemented the loop yet, but should be not too difficult.

Thanks for the attention! :D
B
13
S
2
G
2
Posts: 9
Reputation: 985


Post » Fri Mar 13, 2015 2:17 pm

Hi @Lordshiva1948, it's actually a up down infinite scrolling that i want no learn, BUT, your tutorial was very good, i'll need that for my next planned game (after i solve that problem). I'm searching the forums and tutos, but i could not get it working. :/ Like a background that scrolls up down with wrap. I'm trying some methods but until now i doesn't got it. But thank you!
B
13
S
2
G
2
Posts: 9
Reputation: 985

Post » Fri Mar 13, 2015 2:27 pm

Have you looked at this thread? I gave the guy a starting poinT its not perfect just a rough draft. viewtopic.php?f=147&t=126527&p=896415#p896415
B
22
S
4
G
2
Posts: 362
Reputation: 2,355

Post » Mon Mar 16, 2015 3:50 pm

@PhoenixNightly Here i send an exemple of what i've trying to do. It don't do a good wrap. :/



------[Edit]------


That tutorial solved the question:

https://www.scirra.com/tutorials/1411/w ... d-diagonal

Thx, @PhoenixNightly.
You do not have the required permissions to view the files attached to this post.
Last edited by xrhajan on Thu Mar 19, 2015 4:02 pm, edited 1 time in total.
B
13
S
2
G
2
Posts: 9
Reputation: 985

Next

Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 1 guest