My actor just won't move, PLEASE HELP! (Urgent)

JamsehhJamsehh 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

  • allc1865allc1865 Member, PRO Posts: 777
    edited August 2014

    what move action are you using?

    The move behavior, an animation...?

  • JamsehhJamsehh Weymouth, DorsetMember Posts: 2

    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...

  • MendezMendez Member Posts: 21

    @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.

  • allc1865allc1865 Member, PRO Posts: 777

    ^^ that's a better way.

Sign In or Register to comment.