Flint Particle System Forum - "Interactive" Fireworks Sun, 11 Dec 2011 00:40:51 +0000 http://flintparticles.org/forum/ Lussumo Vanilla 1.1.10 & Feed Publisher "Interactive" Fireworks http://flintparticles.org/forum/comments.php?DiscussionID=358&Focus=1214#Comment_1214 http://flintparticles.org/forum/comments.php?DiscussionID=358&Focus=1214#Comment_1214 Sun, 23 May 2010 15:39:53 +0100 Kraig Walker
I was wondering if it were possible to make FLiNT particles respond to mouse click events, so that they can become "selected," as well as being able to some how control as state of being "selectable" and "non-selectable" as there is a minimum height they can be set off from on the screen to make the game more difficult. ]]>
"Interactive" Fireworks http://flintparticles.org/forum/comments.php?DiscussionID=358&Focus=1231#Comment_1231 http://flintparticles.org/forum/comments.php?DiscussionID=358&Focus=1231#Comment_1231 Thu, 17 Jun 2010 08:51:26 +0100 Richard
renderer.mouseEnabled = true;
renderer/mouseChildren = true;


It is easiest to use the DisplayObjectRenderer for this, since each particle is a discrete display object so the target of the event is the individual image object. It will still be a little tricky mapping back from the image object to the particle that it represents. If you get stuck do ask again. ]]>