How to use TouchID for 2-Player onscreen gameplay?

Get help using Construct 2

Post » Sun May 11, 2014 9:07 pm

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?
B
3
Posts: 5
Reputation: 185

Post » Mon May 12, 2014 12:50 pm

Try using DRAG AND DROP
B
43
S
11
G
2
Posts: 111
Reputation: 3,858

Post » Mon May 12, 2014 1:26 pm

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:
racket.jpg
You do not have the required permissions to view the files attached to this post.
B
43
S
11
G
2
Posts: 111
Reputation: 3,858

Post » Mon May 12, 2014 7:32 pm

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! :D
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...
B
3
Posts: 5
Reputation: 185


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 36 guests