Welcome, Guest
Want to take part in these discussions? Sign in if you have an account, or apply for one below
-
- CommentAuthormnu7
- CommentTimeFeb 21st 2011
In my application I want to create particles wherever I move mouse.
And these particles to be fade after some seconds.
How to Solve this -
- CommentAuthorRichard
- CommentTimeFeb 27th 2011
See the Sparkler example for an example of this. -
- CommentAuthormnu7
- CommentTimeFeb 28th 2011
Can I make it to work on touch also. -
- CommentAuthorkillerspaz
- CommentTimeMar 2nd 2011
Touch will dispatch both MOUSE_CLICK and TOUCH events, so you should be safe.
Basically, anything that is done with a mouse, is also done with touch - but not the other way around. For example, gestures do not translate to mouse events. -
- CommentAuthormnu7
- CommentTimeMar 16th 2011
Thanks...
But at same time I also want to include it for multi touch not only single touch then what special should be done. -
- CommentAuthorGeorge.M
- CommentTimeMar 16th 2011
I'll continue on in this thread as it appears to be related:
I have a 'mouse-move-particle-sparkler' effect that is set to a particular size. As I drag out of the particle area particles are generated right up to the edge where I see a sharp cut-off.
I have tried masking the BitmapRenderer (doesn't work, TBH didn't think it would, but worth a shot).
Is there a way I can set the 'mouse-active-area' in the Render area? (I would probably give the mouse-active area a padding of 50px all the way round)
Thanks -
- CommentAuthorPGF
- CommentTimeMar 19th 2011
Take a look at http://www.new-school.fr it may be what you're looking for.
Sources are in www.new-school.fr/flintsrc.zip
This was my first test with the particles. -
- CommentAuthorRichard
- CommentTimeMar 22nd 2011
This can be done but will need additional code on your part since the FollowMouse activity doesn't do what you need. You might try extending the FollowMouse class to do what you need.
1 to 8 of 8
