Interrupt behavior interpolate

mrpacogpmrpacogp Member Posts: 400
edited December 2012 in Working with GS (Mac)
I have make one behavior for interpolate selfsize, and required 2 seconds.
Sometimes i need to break it, but can do it fine, because it break the interpolate behavior and dont return to real size...
Need some idea...
Nevermind, have a happy new year!

Comments

  • SocksSocks London, UK.Member Posts: 12,822
    edited December 2012
    Destroy the actor and spawn a new one at whatever size you want.
  • mrpacogpmrpacogp Member Posts: 400
    I have 15 actors doing same interpolation, i want to find a better way.
    I use that, because when i shoot, my score need to interpolate her size because the camera increase the size of screen...
    At this point its ok and work fine and return to initial size when you start another shoot.
    But, sometimes you need to break that behavior for some question, adn you can't and all breaks...
  • SocksSocks London, UK.Member Posts: 12,822
    //
  • mrpacogpmrpacogp Member Posts: 400
    edited January 2013
    Ok, let me refloat that.
    This is for my HUD.
    Finally i don't stay using interpolate for HUD when zooming my camera.
    I use alpha 1 to 0 and thats ok.
    But, when camera zooming, i use interpolate for increase the size of screen camera.
    I still needing to break that interpolation in some cases, but i cant find an easy way to do it fine.
    Any ideas are wellcome.
    Cheers!

    Just found that
    http://forums.gamesalad.com/discussion/comment/265420/#Comment_265420

    Leave out!
  • gyroscopegyroscope I am here.Member, Sous Chef, PRO Posts: 6,598

    Hi @mrpacogp Here's the link to another thread on the subject of stopping an interpolate which might help you:

    http://forums.gamesalad.com/discussion/comment/361704/#Comment_361704

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

  • mrpacogpmrpacogp Member Posts: 400
    edited January 2013
    Thank you.
    This could be very useful, i had not thought, use an attrib on duration. Thank you!

    Finally a combination of that two threads are solved my problems.
    I`m happy.
    Thank you gyroscope and all people.
Sign In or Register to comment.