how to slow time?

TailGamesTailGames Member Posts: 76
edited March 2012 in Working with GS (Mac)
im makeing a game with stuff falling and one thing i need is power ups and one crucial one i need is slow down down time and then i need the ability to speed up time if theres anyway please tell me in the simpleist cause im new to gamesalad and it really kool :)

Comments

  • mm34125mm34125 Member Posts: 35
    edited March 2012
    Well I think you should make a global attribute called speed. set it to 1 whenever you dont need it. then you go into all moving actors and change their speed to (for example) 100*speed. If you tell an actor to move at a speed of 100 the speed attribute number won't affect it (100*1=100; 123*1=123). when you set your speed attribute to 0.5 all actors will move slower (100*0.5=50; 123*0.5=61.5). you can speed up and slow down all actors in the game this way. i hope you understand what i mean. simply use a speed attribute which influences all actors in the game. good luck!
  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949
    Yep, this is what I do... game.Speed and game.Multiplier. So an actor moves at game.Speed*game.Multiplier or just game.Speed if I don't want it to be affected when I speed up or slow down all other actors.

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

Sign In or Register to comment.