My actor just won't move, PLEASE HELP! (Urgent)
Jamsehh
Weymouth, DorsetMember Posts: 2
Yesterday I downloaded GameSalad, and I have been doing extremely well with it, but there is just one thing that is stopping me from success in any project I want to create. I open GameSalad and create a new character, I will place and resize him/her on the stage, then I will create a rule. This rule includes, When a KEY is pressed (Up, down, left, right) I want it to DO the move action, pointing in the directions as displayed before, then when I go into preview mode (Green play symbol) the actor just wont move at all... Please someone help me this is a serious problem
Comments
what move action are you using?
The move behavior, an animation...?
I set the rule to move my character when a key is pressed, so for example, when the 'Right' key is pressed, I want my character to 'Move', not move to. But he just doesn't move when I press my assigned key...
@Jamsehh create a rule where when right key is pressed change attribute (self.motion.linearVelocity.x) to 300 ( or whatever # you want), else change attribute to 0. Then copy that rule but make it for left and instead of 300 change to -300.
^^ that's a better way.