Spawn actor based on mouse movement?
ChirpinGames
Member, PRO Posts: 214
Hey guys,
Just wondering if anyone knows a way to spawn an actor based on mouse movement? So if the mouse is relatively still it will only spawn an actor say once a second but if you make a sudden quick movement it would spawn a whole heap as you drag along...
Thanks in advance,
Mark
Just wondering if anyone knows a way to spawn an actor based on mouse movement? So if the mouse is relatively still it will only spawn an actor say once a second but if you make a sudden quick movement it would spawn a whole heap as you drag along...
Thanks in advance,
Mark
Comments
Another little tip...don't spawn an actor that spawns another actor this will make you game judder/lag too.
Darren.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
if your spawns are just visual effects....
===
Particles - Are purely visual. This is not the same as a Spawn Actor behavior. The particles that are produced are only for show, and cannot be programmed. You can choose an image to make the particles out of but it can't be animated.
http://gamesalad.com/wiki/behaviors_reference:particles
===
yuck the search is broke... but WesWog had a lovely video tutorial
I don't know if you could confine the particle generation in a drag behavior that responds to the user input... you could work on this for us!
MH
How-To Create Cool Particle Effects in Gamesalad
hope this helps
MH
Cheers,