toggle menu
Categories
Discussions
Dashboard
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Dashboard
Sign In
·
Register
×
Home
›
GameSalad 101
›
Working with GS (Mac)
problem with buttons
DarkGS
Member
Posts:
25
July 2011
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
UtopianGames
Member
Posts:
5,692
July 2011
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.
Comments
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