Snow

Discussion and feedback on Construct 2

Post » Wed Sep 14, 2011 8:41 am

Figured I'd post this for reference for anyone looking to get some very basic snow. It's a very simple example.
http://dl.dropbox.com/u/41325628/snow-prototype.capx

Usually examples like this are the best way for me to learn software. Hope this helps somebody. :)

Cheers,
David
B
126
S
7
G
4
Posts: 185
Reputation: 7,233

Post » Wed Sep 14, 2011 1:45 pm

very basic but helpful...tnx a lot ^^
B
159
S
38
G
11
Posts: 229
Reputation: 17,361

Post » Wed Sep 14, 2011 1:58 pm

Nice example! If you create the snow objects at Y: random(LayoutHeight) as well, then you don't need to wait a while for the snow to 'even out'.
Scirra Founder
B
359
S
214
G
72
Posts: 22,949
Reputation: 178,544

Post » Thu Sep 15, 2011 3:58 am

Yep, I was going to do that but I was trying to pave way for including a foreground transparent png that the snow could possibly stick to and I figured the snow would possibly spawn inside that if so.

In retrospect, a check could be made when spawning the snow so that it doesn't spawn on another object, at which point it would re-spawn. I should have figured that.Ugotsta2011-09-15 03:59:28
B
126
S
7
G
4
Posts: 185
Reputation: 7,233


Return to Construct 2 General

Who is online

Users browsing this forum: tayxd and 14 guests