How to increase actor's movement speed after a period?

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

  • tatiangtatiang Posts: 11,949
    Accepted Answer

    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 100

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.