"Touch" and "Mouse" objects

Forum for plugin, effect and behavior programmers. Please use the Help & Support forum for help using Construct.

Post » Sun Nov 20, 2011 7:24 pm

why "Touch" and "Mouse" objects are not the single one? What is the reason?
B
11
S
2
G
4
Posts: 64
Reputation: 2,777

Post » Sun Nov 20, 2011 7:27 pm

I think the touch object will soon support multi-touch, if it doesn't already.
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Post » Mon Nov 21, 2011 10:46 am

In this case more logically create "Touch" and "Multi-touch" objects.
B
11
S
2
G
4
Posts: 64
Reputation: 2,777

Post » Mon Nov 21, 2011 11:07 am

You should check the TouchMouse plugin by rexrainbow.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Mon Nov 21, 2011 12:55 pm

[QUOTE=Jayjay] I think the touch object will soon support multi-touch, if it doesn't already.[/QUOTE]
It does already, and you can also enable mouse input as single-touch input for testing.

They're separate so if you want you can handle mouse input separately to touch input. Since they're very different forms of input I thought games might want to tweak their method of touch control and mouse control separately, which having separate object allows, or if not you can easily enable mouse input for the touch object and have both the same.
Scirra Founder
B
359
S
214
G
72
Posts: 22,946
Reputation: 178,468

Post » Mon Nov 21, 2011 9:27 pm

It also helps to differentiate between the two when building other, general purpose apps. Construct2 was built with games in mind but it, via ajax, should do applets nicely.
B
27
S
5
G
5
Posts: 24
Reputation: 4,553

Post » Wed Dec 07, 2011 11:28 pm

[QUOTE=Ashley] you can easily enable mouse input for the touch object and have both the same.[/QUOTE]

What solution do you mean?
B
11
S
2
G
4
Posts: 64
Reputation: 2,777


Return to Construct engineering

Who is online

Users browsing this forum: No registered users and 0 guests