Touch - On Touched sprite not working

Get help using Construct 2

Post » Fri Jul 05, 2013 2:57 pm

Hi,
   Please see the attached capx file, it works fine on Desktop, Android but on iPad 3/iOS Touch - On Touched sprite is not working. Please help...

CAPX File

-Thanks
B
13
S
3
Posts: 76
Reputation: 1,679

Post » Fri Jul 05, 2013 3:04 pm

I would like to help, but I can't open your capx, because it has add-ons I don't use. (html pode div) and (chrome console).
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Jul 05, 2013 3:30 pm

@LittleStain I have removed reference to those 2 plugins, please see now.

New CAPX

-Thanks
B
13
S
3
Posts: 76
Reputation: 1,679

Post » Fri Jul 05, 2013 4:05 pm

@mchulet

You are making it hard on yourself by using touch input and mouse input. You can use just the touch input (It's set to accept mouse input as touch). So when you left click inside your game it will be seen as touch input. That way you won't have to make different events for different devices. Your last event has "is touching", you should change this to on object touched.

I'll have a look at other things I notice, but for now this could be a good start, for I don't know if your events for different devices are hurting eachother.
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Fri Jul 05, 2013 4:30 pm

@LittleStain I tried with just Touch events, removed Mouse but the results are same. It works on Android but not on iOS. Could it be an issue with my C2 version ? I am running release: 132 64bit.

-Thanks
B
13
S
3
Posts: 76
Reputation: 1,679

Post » Wed Jul 10, 2013 5:54 am

I think as a system its working fine, something that I have done thats making it mess up. Let me investigate.
B
13
S
3
Posts: 76
Reputation: 1,679


Return to How do I....?

Who is online

Users browsing this forum: Ajbael, Darknessed, Yahoo [Bot] and 11 guests