Welcome, Guest
Want to take part in these discussions? Sign in if you have an account, or apply for one below
-
- CommentAuthorgiraz
- CommentTimeMar 17th 2009
Hi All
First of all my compliments Richard - FLINTS looks very promising.
I've just started using FLINT so here is my dummy question:
Let's say I start from the snow example and I want to make it snow from a small could.
addInitializer(new Position(new LineZone(new Point(-50, 0), new Point(50, 0))));
then I rotate the emitter depending on the cloud rotation:
on enter frame: _emitter.rotation = _cloud.rotation;
How can I correctly apply the gravity and speed to the particles so that all the snowflakes will keep on going down after an initial movement in the direction of the emitter?
Also I was wondering, is it possible to change the color of the new particles from time to time without effecting the older ones already visible?
Thanks!
Cheers
Riccardo -
- CommentAuthorgiraz
- CommentTimeMar 19th 2009
anyone?
I was thinking of converting the fountain example in 2d and then see how close I can get adding the rotation -
- CommentAuthorRichard
- CommentTimeMar 20th 2009
You need to add downward acceleration to the snow to make it turn to move downwards, and probably some drag to stop it going too fast. Add to that a ColorInit initializer to set the color. Changing the color property on this initializer will alter the color of new particles without affecting those already created.
1 to 3 of 3
