Specific velocity colliding subtracts life

iTopGamesiTopGames Member Posts: 71
edited March 2012 in Working with GS (Mac)
Hi GS Guys, is there a tutorial where i can find how to do when an actor collide with a wall or another actor with a high velocity it subtracts a life of the actor, but if the velocity is slow it doesn't subtract it? If there is not a tutorial can somebody tell me how do it, thanks.

Best Answer

  • simo103simo103 Posts: 1,331
    Accepted Answer
    think this might help: http://forums.gamesalad.com/discussion/38019

    my guess from that is you may want to set a timer to establish the velocity of the moving actor and assign that to an attribute. Then when a collision occurs have a rule that if the velocity is greater than a certain value you pick then game.life = game.life-1

Sign In or Register to comment.