DropDown Animation?

thewhitedeveloperthewhitedeveloper Member Posts: 2
edited February 2012 in Working with GS (Mac)
So i have a button and when i press it i would like it to perform a sort of animation were a menu slides down displaying whatever i please, is this possible in GS?

Comments

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Hi,

    You'll need to learn how to use the interpolate behavior.

    So pretty much something like this:

    Create an attribute (boolean) and set it to false. Name it "startmenu"

    Now, in the actor you want to slide down, make a rule:

    When attribute game.startmenu is true,

    Interpolate self.position x to whatever you want
    Interpolate self.position y to whatever you want.

    Set the duration to whatever you please.

    Bray
  • Appreciate the prompt response will give this a try.
Sign In or Register to comment.