Touch ID(1) simulated with right click on PC?

Discussion and feedback on Construct 2

Post » Wed Feb 05, 2014 12:26 pm

Hello,

Just a simple suggestion for the Touch behavior.

At the moment (correct me if I'm wrong or if there is an easier turnaround than the one described below) the 3 mouse buttons only simulate the default touch ID (0).

I think it would be pretty cool to have at least the right click to simulate the 2 fingers touch ID(1) so it would make life easier for testing on PC rather than having to duplicate all touch's events with "on right click" instead.
Also maybe the middle mouse button could simulate the ID(2) (3 fingers ?), i'm not using it but it might still be usefull for certain projects ?

That was my simple suggestion, thanks for reading and thanks even more for creating this awesome tool ! :)
Lunar Mission for Android & iOS
B
16
S
2
Posts: 44
Reputation: 1,365

Post » Wed Feb 05, 2014 1:27 pm

Would this really be useful? You can only have two simultaneous touches with exactly the same position and movement (i.e. following the mouse cursor), which is unrealistic. Also, there cannot be touch index 1 before there is a touch index 0, so I don't see much point in simulating that either.
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,454

Post » Wed Feb 05, 2014 2:09 pm

Yes they will share both the same mouse position but that's not much of a problem (at least for me) and it still allows you to check if your Touch (1) events are working correctly without having to test on mobile (or modifying events on right click or on default touch (0) ).
This is a minor suggestion, and it will not be perfect as you pointed out but still might be usefull. Maybe it could be an optional propertie in the "Touch / use mouse input" if it's not too much troubles to implement?

In my game I use touch (0) for player's movements, and Touch (1) for actions, which make it a little difficult to test on PC.
Lunar Mission for Android & iOS
B
16
S
2
Posts: 44
Reputation: 1,365

Post » Wed Feb 05, 2014 2:37 pm

Why not just use different objects, and touch those objects to simulate the mouse?
Image ImageImage
B
168
S
50
G
164
Posts: 8,231
Reputation: 105,581

Post » Wed Feb 05, 2014 3:11 pm

[QUOTE=newt] Why not just use different objects, and touch those objects to simulate the mouse?[/QUOTE]
This sounds like a good solution. And, perhaps you can have extra debug events as a subevent of System."Is in preview mode".
B
20
S
4
G
1
Posts: 185
Reputation: 2,563


Return to Construct 2 General

Who is online

Users browsing this forum: wmnjunior and 5 guests