Flint Particle System Forum - Interactive snow2011-12-12T00:43:33+00:00http://flintparticles.org/forum/
Lussumo Vanilla & Feed Publisher
Interactive snowhttp://flintparticles.org/forum/comments.php?DiscussionID=428&Focus=1458#Comment_14582010-12-08T00:00:10+00:002011-12-12T00:43:33+00:00alexdhttp://flintparticles.org/forum/account.php?u=443
Hi everyone,
I have to admit I'm quite new to AS3 and especially flint. Thing is, I've been assigned to create an interactive e-card.
The idea really requires Flint to make it doable.
It goes ...
I have to admit I'm quite new to AS3 and especially flint. Thing is, I've been assigned to create an interactive e-card. The idea really requires Flint to make it doable.
It goes like this: snow falls, like the snow tutorial pretty much, but when you mouseover (or hit a hitbox near the center) - the snow is attracted to the middle where it floats, sortof horizontally wobbling gently, within the shape of a pinetree (defined by bitmap is easiest I assume) The colors would preferably also change from white radialdots to colored radialdots (in a spectrum of typical xmascolors). When you mouseout again, it just switches to snowmode again, pinetree lights gently drop to deathzone and turn white along the way. Snowfall at the top is restored, etc.
I've been reading for the past few hours and will continue doing so since this is kind of urgent. But I have to admit this is quite dazzling for a mediocre programmer like me. If anyone can help me even in the smallest bit with this it would be really appreciated. I really wanna learn more about this library, seems so powerful :)]]>
Interactive snowhttp://flintparticles.org/forum/comments.php?DiscussionID=428&Focus=1479#Comment_14792010-12-16T08:48:52+00:002010-12-16T08:49:08+00:00Richardhttp://flintparticles.org/forum/account.php?u=1
My first thought is to use two emitters. One creates the snow and the other does the pine tree effect. Switch between the two with...
snowEmitter.pause();
treeEmitter.particles = ...
snowEmitter.pause(); treeEmitter.particles = snowEmitter.particles; snowEmitter.particles = []; treeEmitter.resume();