Need help with character movement - Windows

prajpraj Member Posts: 68
edited July 2012 in Working with GS (PC)
In my game, i would like the man to move. if press left, move left etc.. Since i am using the windows version, i am finding that it is quite different than the mac version and thus, even when i follow the tutorials, my character wont budge.

Answers

  • Braydon_SFXBraydon_SFX Member, Sous Chef, Bowlboy Sidekick Posts: 9,273
    Make sure movable is turned on and try this:

    Create a Boolean attribute called MoveRight

    Then, create an actor called ArrowLeft.
    In that actor:

    When touch is pressed:
    Change attribute game.MoveRight to true.

    When touch is released
    Change attribute game.MoveRight to false.

    Now, go into your character actor:

    Rule:
    When attribute game.MoveRight is true,
    Drag the move behavior in and you should be ready to go.

    If that works, you can probably figure out how to get the left movement working, too.

    Hope this helps.

    Bray
Sign In or Register to comment.