mouse touch

Discussion and feedback on Construct 2

Post » Wed Jul 11, 2012 10:00 am

Hi all,
I have a problem using touch / mouse it work perfectly in some layouts and it cause problem in other is there any propriety to fixe this problem??

Thanks
B
5
S
1
Posts: 49
Reputation: 723

Post » Wed Jul 11, 2012 10:06 am

what is the problem??
B
48
S
15
G
6
Posts: 795
Reputation: 12,035

Post » Wed Jul 11, 2012 10:50 am

the problem is when i click on sprite by mouse it interpert mouse and touch in same time
B
5
S
1
Posts: 49
Reputation: 723

Post » Wed Jul 11, 2012 10:56 am

might be helpful when you post your capx. With my type of setting up events, I can't reproduce this problem. When we know what you are doing, we might be able to help out.
B
42
S
9
G
6
Posts: 437
Reputation: 5,626

Post » Wed Jul 11, 2012 4:26 pm

I dont think your spose to use the mouse plugin and the touch plugin together are ya?
B
13
S
5
G
2
Posts: 306
Reputation: 3,262

Post » Wed Jul 11, 2012 5:10 pm

yes i use them in the same layout and and it work in some time and in other time it cause problem
B
5
S
1
Posts: 49
Reputation: 723

Post » Wed Jul 11, 2012 6:35 pm

As aridale said, you're not supposed to use both touch and mouse plugins for inputs.

Either use the touch with the "Mouse input" property set to yes, allowing you to test with a mouse, but using only events of the Touch plugin, either you use only the Mouse plugin and no touch at all.

Also as ubivis said, post a capx of your project and explain precisely what you are trying to achieve/what you expect to happen and what is currently happening.
"in some time and in other time it cause problem" is just too vague as a description.

You might also find this tutorial helpful.
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,999
Reputation: 57,793

Post » Fri Jul 13, 2012 9:25 am

thanks friends
i have do the proprity of touch by using mouse input and it is the solution of this problem
bouguima2012-07-13 09:25:46
B
5
S
1
Posts: 49
Reputation: 723


Return to Construct 2 General

Who is online

Users browsing this forum: tayxd and 14 guests