Pressing ANYWHERE as an input

jeffheif1jeffheif1 Member Posts: 10
edited November -1 in Working with GS (Mac)
In my game, I have only ONE control for my character: to move upwards. Right now, I have it so when "actor receives event: touch is pressed", the velocity changes. The only issue is that my character is very small, and oftentimes while testing it on my iphone, the character is too small to press. I was wondering if there was a way to make it so that if I press ANYWHERE on the screen the guy moves.

Thanks in advance,
jeffheif1

Comments

  • CodeMonkeyCodeMonkey Head Chef, Member, PRO Posts: 1,803
    Use the event condition in the Rule, When mouse button down.
  • BarkBarkCoBarkBarkCo Member Posts: 1,400
    Dang CM, you beat me... ;-)
  • AfterBurnettAfterBurnett Member Posts: 3,474
    Wow, I didn't know that, I was making bigger invisible actors!
  • scorelessmusicscorelessmusic Member Posts: 565
    If there's nothing to touch, you might use the touch count too.
  • ShpintShpint Member Posts: 404
    Or when background receive event "touch is inside"
    change attribute "xxx(interger) to xxx+1"
    When xxx ≥ 1 move actor up
Sign In or Register to comment.