How to use TouchID for 2-Player onscreen gameplay?

0 favourites
  • 4 posts
From the Asset Store
Players follower. use it for anything which follows the player
  • I'm creating a simple pong game for both PC and mobile and I'm having this problem with binding each 'panel' to two, different, touches which each are separated on each of the screen's half. I think I'm already able to make only one panel move with a touch on a specific spot, but when I try having two touches, it simply breaks and the last touch gets to control both panels. I've tried writing TouchID's to variables but it's way more confusing then it should be. Big question short: how exactly does one use TouchID to manage two touches on separate sides of a screen, to control completely different and/or opposite things?

  • Try using DRAG AND DROP

  • You could try something like this.

    Create two sprites, one for each side of the screen. (Sprite Sprite R and L)

    And Sprites racquet (racquet racquet R and L)

    Then in the programming Might put the following:

    [attachment=0:rq29gkr8][/attachment:rq29gkr8]

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I had already done that part of making two 'touching' spaces on each side of the screen but I guess I got my programming wrong, gonna try that, thanks a lot!

    Edit: It doesn't seem to have worked, now it's even worst :\ I'm gonna try to roll back changes and try to figure it out...

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)