TOUCH event and the iPad

Discussion and feedback on Construct 2

Post » Sun Jul 22, 2012 8:51 pm

I am having problems with the TOUCH event on the ipad on the Safari browser (not iPad app).

The touch presses are being offsetted. I think the problem is that the ipad is zooming my game to fit the screen.

Is there some META html command I can add in index.html so that the ipad keeps my game 100% and TOUCHes register on spot?

Or am I doing something wrong?
B
41
S
11
G
4
Posts: 428
Reputation: 7,356

Post » Tue Jul 24, 2012 10:31 am

solved the problem. I just had to select the RETINA DISPLAY setting to OFF as this was offsetting Touch.X and Touch.Y
B
41
S
11
G
4
Posts: 428
Reputation: 7,356

Post » Mon Aug 27, 2012 7:46 pm

Thanks, this resolve a problem I was having with 4th gen ipods
B
9
S
3
G
3
Posts: 39
Reputation: 3,112

Post » Mon Aug 27, 2012 10:56 pm

I am amazed that your touch events work! I know that the html5 support is limited on these devices, but I can't figure out what magic it takes to get any interaction from my ipad(3rd gen) or ipod touch. The game loads and animation/movement seems to work, but you can't use any of the touch screen controls. Very frustrating...
B
17
S
2
G
2
Posts: 5
Reputation: 1,294

Post » Mon Aug 27, 2012 11:27 pm

This is an old post from July. Touch events should work correctly with any settings. Please post a bug report if it doesn't work in some case.
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578

Post » Tue Aug 28, 2012 8:02 am

Do they work with RETINA set to ON too ?
B
41
S
11
G
4
Posts: 428
Reputation: 7,356

Post » Tue Aug 28, 2012 1:23 pm

@bjadams - like I say, it should work correctly with any settings. Please post a bug report if it doesn't work in some case.
Scirra Founder
B
359
S
214
G
72
Posts: 22,951
Reputation: 178,578


Return to Construct 2 General

Who is online

Users browsing this forum: Televangelist and 11 guests