How to change attribute when touching another actor?
psycho_mac
Member Posts: 3
Sorry if this question has already been posted, but i couldn't find the answer i'm looking for.
I'm making a game and i want to change the attribute of an actor +1 or -1 when touching the corresponding actors (+ button, - button).
I know how to hide it when it reach 0, but i want it to stop at 4.
Help me with the rules please, i'm a beginner with gamesalad.
Thanks
Comments
make it a game attribute , for example game.xx
in + button actor
if touch is pressed and game.xx < 4
change game.xx to game.xx+1
Thanks i'll try it tonight and tell you if it worked for me or if got it wrong.
Thank you Icebox, it works perfectly!!