Click anywhere to...

jeffheif1jeffheif1 Member Posts: 10
edited November -1 in Working with GS (Mac)
My game contains one character who can move in only one direction. I currently have it so "when pressed" he moves forward. The only problem is that when I tested it on the iphone, the character was too small to accurately press him each time. Is there any way to make it so if you touch anywhere on the screen, the character will move forwards? I was thinking about making a clear actor over the whole screen, only to find out that there's not way to say "if clear actor receives touch, then move character", and then I was also thinking about making a clear character make a "moving credit" attribute set to 1, and then when the credit is 1, the character moves and the attribute is set to zero. The only problem I found is that when a lot of attributes are being used, the gameplay slows and it causes a much higher rate of glitches. if anyone has any solution to my problem or could help me brainstorm, that would be a huge help. Thanks!
jeffheif1

Comments

Sign In or Register to comment.