left an right?
Posted:
Thu Jun 29, 2006 2:39 pm
by LUFFY
o.k i have two mario sprites one facing left and on facing right how do i make it that when i press left he runs left and vise versa?
any help will be apprecated!
Posted:
Thu Jun 29, 2006 3:57 pm
by The achievement
First add the two animations to the mario actor. left and right.
Then, right click on the mario actor, then go to. key down, press left.
then go to change animation. and then choose the left animation. then, go to script editor and type in x = x - 5;
Do the same exact thing for moving right. scriot x = x + 5; change animation to right.