How to increase actor's movement speed after a period?
msywong
Member Posts: 1
I've set the actor to follow my cursor in speed of 50. However i need the actor to increase the movement speed to 100 or more after following the cursor for 3sec.
I tried to insert "Timer","After 3 sec, Move To = follow cursor again, but the speed is 100", but it is not working. Am i doing it in the wrong way?
Best Answer
-
tatiang Posts: 11,949
Use an attribute as the speed of the Move To behavior. Since attributes (aka variables) can change value, that will allow you to do this:
Timer after 3 seconds
Change attribute game.speed to 100New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User