Destroy after Change Size

gribblegribble Member Posts: 4
edited September 2012 in Working with GS (Mac)
I want to destroy an actor after it slowly expands to twice its size.
I have the Change Size to .3 rate and Destroy to run after .5 seconds. However, after the resize the actor isn't destroyed.
Any ideas please?

Comments

  • OskarDeveloperOskarDeveloper Member Posts: 533
    Do like this, Delete the timer and add this rule: When attribute self.size = what ever the size is then it is big
    Destroy!
  • pinkio75pinkio75 Member, PRO Posts: 1,221
    edited September 2012
    Hi, to make this you can use interpolate command,

    Inside your Actor that you want to destroy:
    1 interpolate, size, Height to 0.5 (1sec. set the time to resize)
    2 interpolate, size, Width to 0.5 (1sec. set the time to resize)

    After to destroy Actor use this Rule:

    3 Rule: when Attribute Size Height or Width is=0.5
    Than Destroy this actor

    I use this form to make this action Bye.


Sign In or Register to comment.