Joystick controled actor animations

Hey guys. I created a joystick for my actor based on the CodeMonkey one. I was wondering if there was a way to create a specific animation when the actor is flying around in a particular direction. For instance when he's heading down, a tiny parachute will appear, etc, etc.
Best Answer
-
tatiang Posts: 11,949
Sure. Inside of the rule that determine downward movement, add a change attribute (e.g. boolean) game.FlyingDown to true. Then on your flying actor, have a rule that says When game.FlyingDown is true [animate or spawn actor]. You'll need to toggle game.FlyingDown to false when the actor is no longer heading downward.New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User