How do I make movement like clouds from left to right (Loop)

Discussion and feedback on Construct 2

Post » Fri Sep 18, 2015 2:06 pm

How do I make movement like clouds from left to right in Loop?
After the object out of the screen is coming back again on the same track (not reverse) Doing again exactly the same movement.
B
13
S
2
Posts: 95
Reputation: 861

Post » Fri Sep 18, 2015 2:10 pm

have you try to add "warp" behavior to your sprite"cloud" ?
Image Image
B
22
S
13
G
130
Posts: 869
Reputation: 67,816

Post » Fri Sep 18, 2015 4:29 pm

Or you can use a tillable background and set it in a way that loops around. Here is a scene that uses a couple of methods to loop the clouds.

https://www.dropbox.com/s/ee9zj7cl91xp5 ... .capx?dl=0
composer - multimedia artist
www.eli0s.com/en/
B
68
S
26
G
4
Posts: 1,146
Reputation: 9,649

Post » Fri Sep 18, 2015 7:29 pm

warp work very good.
B
13
S
2
Posts: 95
Reputation: 861

Post » Fri Sep 18, 2015 10:25 pm

you're welcome
Image Image
B
22
S
13
G
130
Posts: 869
Reputation: 67,816

Post » Sat Sep 19, 2015 9:23 am

With wrap the cloud will stay at same y-position always though. I would've rather spawned random clouds with bullet behaviour, and destroyed them when far right.
Image
B
14
S
4
Posts: 145
Reputation: 1,943

Post » Sat Sep 19, 2015 9:30 am

there are thousand ways to make clouds... but he ask for "Doing again exactly the same movement." not for spawn random clouds with realistic movement.
Image Image
B
22
S
13
G
130
Posts: 869
Reputation: 67,816


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 4 guests