What the heck does interpolate do?

jckmcgrawjckmcgraw Member Posts: 647
edited December 2011 in Working with GS (Mac)
Hey guys,

I am very new with working with game salad, but am still making some good progress. I have scrolled through the list of behaviors many times, but I have no idea what the interpolate behavior does.

Thanks in advanced for everybody's help.

Comments

  • LaurenSaladLaurenSalad Inactive, Chef Emeritus Posts: 650
    Hey! Welcome to the community!

    Make sure to check out GameSalad Cookbook where there are great "Getting started" tutorials. Also, there is a dictionary available with a glossary of terms. That should help you with the interpolate behavior! http://cookbook.gamesalad.com/definitions
  • firemaplegamesfiremaplegames Member Posts: 3,211
    Interpolate works as a "tweening" engine. You can Interpolate the value of an attribute from one value to another.

    It is one of the more powerful behaviors in GameSalad, and lets you create complex animations from a few simple Actors, instead of costly .png sequence animations.

    By Interpolating the X and Y coordinates, you can move Actors across the screen, make menus and panels slide in, etc.
    You could Interpolate score values so your scores don't just jump to a new value but "roll".
    By Interpolating the alpha attribute you can have Actors fade in and out.
    You can Interpolate the sound volume to fade your music in and out.



  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Interpolate is the most amazing thing on the face of the Earth!!!!

    Ok maybe slightly exaggerating but really its extremely valuable and is really only limited by you imagination.
  • cbtcbt Member Posts: 644
    1 head chef and 2 sous chefs.
    @jckmcgraw
    Are you someones nephew or something?

    :D
  • jckmcgrawjckmcgraw Member Posts: 647
    Thanks so much everyone!
  • jckmcgrawjckmcgraw Member Posts: 647
    @cbt what?
Sign In or Register to comment.