shift between two sizes?

GaranasGaranas Member Posts: 86
edited November -1 in Working with GS (Mac)
i have no idea how to formulate this right in english, so i can´t really search for it.

what i want to do is to resize an actor over a certain time say from 100% to 300% of it´s size and than back to 100% in a loop. i´m sure there is a formula for this. but how?

Comments

  • GaranasGaranas Member Posts: 86
    ah, nice. i will play with that. maybe it´s different if i use a timer instead of interpolation for the resizing. thx so far :D
  • GaranasGaranas Member Posts: 86
    that bad thing is i need the collision to be rather precise. but i will give it some tries. if it won´t work at all i can still use it as optical diversion ;)
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598
    Hi Garanas, and if you want your optical diversion to loop, try this (changing duration and sizes as you want, of course):

    a boolean attribute Switch1

    Rule:
    When Switch1 is false
    Interpolate self.Width to 200
    Duration 2 seconds

    Interpolate self.Height to 200
    Duration 2 seconds

    Timer After 2 seconds
    Change Attribute Switch1 to true

    Rule:
    When Switch1 is true
    Interpolate self.Width to 100
    Duration 2 seconds

    Interpolate self.Height to 100
    Duration 2 seconds

    Timer After 2 seconds
    Change Attribute Switch1 to false

    ----------------------------------------------
    http://davidgriffinapps.co.uk/

    ""You are in a maze of twisty passages, all alike." - Zork        temp domain http://spidergriffin.wix.com/alphaghostapps

Sign In or Register to comment.