Forum Discussion
JeffRobedee
5 months agoCommunity Member
mouse trails
I'm adding a game at the end of the course where users will click moving objects, effectively, "spraying" them with water. Is there a way I can add some sort of animation that makes it look like a s...
Nathan_Hilliard
5 months agoCommunity Member
I have attached a simple example that you could expand upon. It "attaches" the objects in Group 1 to the mouse, so they move with it. Use space to turn on or off the animated water stream. Click on a fire to put it out.
See it: https://360.articulate.com/review/content/b4cbf794-1b56-4a6e-b062-a82cfc3ef623/review
This runs a short JavaScript on timeline start. It watches for the mouse to move, and adjusts the position of Group 1 to match, with an adjustable offset.
The animated GIF came from https://tenor.com/view/hot-summer-drink-water-sun-gif-1186220646279868592