How do I set cloud movement like this ?

Get help using Construct 2

Post » Sat Dec 05, 2015 5:25 pm

I want to set cloud move loop on BG like a like picture. please advise

Image
B
15
S
5
G
3
Posts: 72
Reputation: 2,645

Post » Sat Dec 05, 2015 5:35 pm

Give the clouds bullet behaviour and wrap-behaviour.
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 » Sat Dec 05, 2015 6:38 pm

really depends..what do you want to randomize ..in the next passing

Cloud.capx
Image
B
62
S
23
G
7
Posts: 1,470
Reputation: 10,731

Post » Sat Dec 05, 2015 7:39 pm

You could use bullet behaviour on the clouds* and put a trigger somewhere outside the layer, near the left board (-x). And then add an event "cloud on collision with trigger" with an action to set the cloud.x to after the right board of the layer

* use a negative speed and set the Angle Rotation to no so the clouds go from right to left.

Let us know if it went as you intended to.
B
13
S
5
G
1
Posts: 48
Reputation: 1,139

Post » Sat Dec 05, 2015 7:56 pm

only I can see on this picture numbers? :?

Image
Image
B
62
S
23
G
7
Posts: 1,470
Reputation: 10,731

Post » Sun Dec 06, 2015 1:44 am

Sorry, Zeroflag, I didn't noticed the sequencial numbers. So, judging by the numbers, I guess its just one cloud traveling on the upper line, then on the lower, and again on the upper. You can add a sub event on that action to check if the cloud Y is on the upper line. If it is, order the program to changing the Y alongside the X to the lower line Y, on else, changing the Y alongside the X to the upper line.
B
13
S
5
G
1
Posts: 48
Reputation: 1,139

Post » Sun Dec 06, 2015 7:27 am

Sorry guy the number no meaning just count the cloud no. 1 2 3

Thank all for advise.
B
15
S
5
G
3
Posts: 72
Reputation: 2,645

Post » Sun Dec 06, 2015 6:43 pm

Zeroflag, did you get to put thoose clouds to move as you wish?
B
13
S
5
G
1
Posts: 48
Reputation: 1,139

Post » Mon Dec 07, 2015 1:34 pm

JPatchZ wrote:Zeroflag, did you get to put thoose clouds to move as you wish?


Yes ! Thank a lot.
B
15
S
5
G
3
Posts: 72
Reputation: 2,645


Return to How do I....?

Who is online

Users browsing this forum: Ajbael, ColombageEnPLS, Yahoo [Bot] and 9 guests