Multiple animations in a single actor?
I plan to have the Hero change animations based on different events. Setting up a basic rule for each event didn't seem to do the trick. Anyone know how to accomplish this?
This type of thing is a pretty important thing for certain types of games. If anyone had time to do a video/tutorial... I'm sure plenty of people would benefit.
This type of thing is a pretty important thing for certain types of games. If anyone had time to do a video/tutorial... I'm sure plenty of people would benefit.
Comments
I'm still unsure about how GS understands new attributes that I create. You mentioned game.left and game.right (I understand that was just for example purposes) I just don't know how to set up new attributes that gamesalad will understand.
When you say "animate" do you mean that I should use the "animate" behavior? (currently, I am using that "animate" behavior.)
Thanks for helping me out on this btw.
If you wanted to do this with a single set of numbers you might set up the self interger and then use a rule such as when self number interger = 0 then display images 'standing still' and change self speed x and y to zero. Then if self number interger = 1 then animate 'walk left' and change attribute self speed x to -40 and flip image Boolean to untrue. If the self interger was 2 then you would set things to animate and move positive x and flip the walk left graphics so they displayed correctly moving right.
How the changed the number in the self interger attribute can be done with touch in areas, movement of the device, or a number of other ways.
Hope that helps. Kipper