ANDROID – 3 Onscreen Buttons. LEFT-RIGHT & JUMP. How do I code it?

About Monkey 2 Forums Monkey 2 Programming Help ANDROID – 3 Onscreen Buttons. LEFT-RIGHT & JUMP. How do I code it?

This topic contains 4 replies, has 2 voices, and was last updated by  Amon 3 months, 2 weeks ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #13848

    Amon
    Participant

    I have 3 onscreen buttons in my game. 1 for going left, 1 for going right, and 1 for jumping. I’d like to be able to tap left or right buttons and also the jump button.

    I can’t get anything to work. I need to be able to jump whilst going left or right.

    Can any assistance be offered, please?

    #13851

    abakobo
    Participant

    Have you opened the touchtest banana?

    #13852

    Amon
    Participant

    Yep. Still clueless.

    #13887

    abakobo
    Participant

    Here’s a short example. Note that there is Touch.FingerDown but also Touch.FingerPressed and Touch.FingerReleased like with the mouse button. (Touch.FingerPressure too on some devices!)

    #13903

    Amon
    Participant

    Thank you. Will test now.

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.