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_SFXMember, Sous Chef, Bowlboy SidekickPosts: 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.
Comments
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
My GameSalad Academy Courses! ◦ Check out my quality templates! ◦ Add me on Skype: braydon_sfx