problem with buttons

DarkGSDarkGS Member Posts: 25
edited November -1 in Working with GS (Mac)
How can u make a button that can be held down and make a character move in a certain direction?

Comments

  • UtopianGamesUtopianGames Member Posts: 5,692
    There's loads of ways to do this but one way would be....

    Make a game boolean called left

    Make a button (let's call it left).

    Now make a rule...when touch is inside..change game.left to true and in the otherwise part do change game.left to false.

    Now in you character have a rule if game.left=true move 180

    Darren.

    http://www.deepblueapps.com/Deep_Blue_Ideas_Ltd./Home.html
Sign In or Register to comment.