Cloud Auto scrolling? Is it Possible

Get help using Construct 2

Post » Sat Jun 08, 2013 10:17 pm

Hi everyone,

I have looked everywhere on the site for a decent tutorial that showcases Clouds that autoscroll while your player stands still.I want to set my cloud tiles to different speeds making my game world come alive.I waqs wondering what i have to do to achieve this feature.I do know how to do this through code but Construct 2 works differnt as we all know. RookieDev2013-06-08 22:25:21
GMO FOOD = DEATH
B
23
S
9
G
5
Posts: 567
Reputation: 6,378

Post » Sat Jun 08, 2013 10:35 pm

try looking for particle tutorials
B
40
S
11
G
7
Posts: 514
Reputation: 9,646

Post » Sat Jun 08, 2013 10:38 pm

You could potentially make invisible sprites that spit out clouds like bullets off one side of the screen, and then have them travel slowly to the other side of the layout before self-destructing.
B
6
S
1
Posts: 62
Reputation: 532

Post » Sat Jun 08, 2013 10:41 pm

These are both great ideas,But is this the only way?I would think particles being used in that way would be bad on the framerate right? On the other hand i am a rookie so i really dont know thats why im asking you guys.Thanks for the replies it does mean alot to get help.
GMO FOOD = DEATH
B
23
S
9
G
5
Posts: 567
Reputation: 6,378

Post » Sat Jun 08, 2013 10:45 pm

I'm sure there are other ways to do this. I tend to take a very ungraceful approach a WD40 and duct tape approach if you will to doing things in Construct though. heh

This might help:

http://www.scirra.com/forum/scrolling-tiled-background-c2_topic44823_post281845.html#281845
B
6
S
1
Posts: 62
Reputation: 532

Post » Sat Jun 08, 2013 10:53 pm

Particle effects could give you a great result, but you'll struggle to get the right sort of cloud-like clumpiness (obviously depending on the sorts of clouds you want) without a fair bit of messing about. Not that it can't be done, just that it's a bit of a faff.

I'd say the easiest way is with the bullet behaviour. Throw a bunch of cloud images into a single bullet object and spawn the object off-screen. Set the animation speed to zero. On creation, set the animation frame, speed and height to random for a bit of variety.

Example capx (r133).
B
57
S
15
G
11
Posts: 912
Reputation: 12,606

Post » Sat Jun 08, 2013 10:53 pm

Yeah It looks like the duct Tape approch is the best way for now.The particle effect will be alot more realistic and the movements can be altered.The topic you posted i downloaded the capx but the clouds do not move at all when the player stands still.Thats what im aiming for.Thanks for the time you took out to post that link.
GMO FOOD = DEATH
B
23
S
9
G
5
Posts: 567
Reputation: 6,378

Post » Sat Jun 08, 2013 11:01 pm

Sorry, I was messing about and forgot that I was still working on that same file. Download it again and you'll see what I had in mind.
B
57
S
15
G
11
Posts: 912
Reputation: 12,606

Post » Sat Jun 08, 2013 11:12 pm

That is epic! Thank you @GeometriX i was wondering how to make this happen you saved me hours of testing with particles!IMHO i think the clumps of clouds are more realistic.Thank you GeometriX i owe you one.
GMO FOOD = DEATH
B
23
S
9
G
5
Posts: 567
Reputation: 6,378

Post » Sat Jun 08, 2013 11:17 pm

Yeah, I've been trying myself to get particle effects to do something great but it's just not happening. I think it is possible, but it needs quite some playing around with to get even half as decent as the quickie method I posted previously.

My pleasure. Enjoy!
B
57
S
15
G
11
Posts: 912
Reputation: 12,606

Next

Return to How do I....?

Who is online

Users browsing this forum: jorgmaquoi and 50 guests