help...!!! vertical moving parallax background

Get help using Construct 2

Post » Sun Oct 27, 2013 8:50 pm

hiii i am new over here...

i have tried to make a vertical moving parallax background...by checking conditions of horizontal moving background from auto runner template... but my vertical background is moving but its not parallax...not repeating...

i have used

>Event - System on start up
>>Action- set bullet angle of motion to 90 degrees

>Event - tiledbackground Compare y less or equal -Self.Height / 2
>>Action - tiledbackground Set Y to Self.Y + Self.Height / 2

Anyone can please help let me know where am wrong which condition i need to put....it would be very gr8 if anyone upload a demo construct 2 file with example of vertical moving parallax background...so i can check my mistake...
B
6
S
1
Posts: 52
Reputation: 500

Post » Sun Oct 27, 2013 9:07 pm

I can't check it right now, but it could be a direction issue..

in the endless runner the runner goes to the right, which is positive in the x-direction..
your player is probably going up, which is negative in the y-direction..

So it could be as simple as changing a - and a + ..
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Mon Oct 28, 2013 6:06 pm

Now i hve changed to below

>Event - tiledbackground Compare y less or equal Self.Height / 2
>>Action - tiledbackground Set Y to -Self.Y - Self.Height / 2

But still its not working...can u please check this file...would be grtful if u can solve it
check demo file - dropbox.com/s/41lafd5ylk3ahl8/help.capx
B
6
S
1
Posts: 52
Reputation: 500

Post » Tue Oct 29, 2013 3:40 am

anyone here?? can solve it?
B
6
S
1
Posts: 52
Reputation: 500

Post » Tue Oct 29, 2013 11:26 am

[QUOTE=LittleStain] I can't check it right now, but it could be a direction issue..

in the endless runner the runner goes to the right, which is positive in the x-direction..
your player is probably going up, which is negative in the y-direction..

So it could be as simple as changing a - and a + ..[/QUOTE]

@LittleStain

i have tried but still m not able to make it up..can u check once?
B
6
S
1
Posts: 52
Reputation: 500

Post » Tue Oct 29, 2013 11:56 am

Tutorial Section

And this oneDUTOIT2013-10-29 12:02:16
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,718

Post » Thu Nov 07, 2013 6:30 pm

@DUTOIT
@LittleStain

i have tried on this its not working properly... can u please upload a demo capx which has vertical scrolling background repeating??
B
6
S
1
Posts: 52
Reputation: 500

Post » Fri Nov 15, 2013 8:48 am

You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,718

Post » Sat Nov 16, 2013 8:14 am

@DUTOIT
thanks for the reply :)
B
6
S
1
Posts: 52
Reputation: 500

Post » Sat Nov 16, 2013 10:09 am

No Problem, its an interesting way to achieve what you are after - also pretty simple way too.
You think you can do these things, but you can't, Nemo!
Just keep reading.
Just keep learning.
B
65
S
16
G
9
Posts: 1,429
Reputation: 12,718

Next

Return to How do I....?

Who is online

Users browsing this forum: batto and 20 guests