Slow actor for 1 second when hit

sl-imagessl-images Member Posts: 44
edited November -1 in Working with GS (Mac)
How would i Slow actors movement to perhaps half the speed of its normal movment for 1 second when coliding with an object, im using the move atribute

Thanks

Comments

  • sl-imagessl-images Member Posts: 44
    any ideas??

    also how would i get the character to flash red aswell as slowing down ?
  • JohnPapiomitisJohnPapiomitis Member Posts: 6,256
    Have a rule when actor overlaps or collides with whatever you want to slow down

    change attriubute self motion linear x to 100 (or whatever you want the slow speed to be)
    have 3 more change attribute behaviros and change attiubte self color blue to 0, self color green to 0, and change self color red to 1.
    Also Have a timer in that rule after 1 second with run to completion checked and in that timer put change attribute motion linear x to 300 (or whatver you want the normal speed to be) and have 2 more change attribute behaviors in the timer changing self color blue to 1 and self color green to 1

    cheers
Sign In or Register to comment.