Html 5 site for iPhone

Get help using Construct 2

Post » Fri Aug 24, 2012 9:19 am

Hi. I used this to test the touch on iphone: http://dl.dropbox.com/u/48692367/android/index.html

In browser it works well, but when on iPhone, then the touch.x and touch.y doesn't works propertly. It seems, that it can't get the correct x and y from the touch on iPhone.

How can I fox it? Is it something with screens?
B
4
Posts: 42
Reputation: 559

Post » Fri Aug 24, 2012 9:44 am

Can you share your .capx? Are you using the latest version of Construct 2? We fixed a bug related to touch co-ordinates a few releases ago.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,630

Post » Fri Aug 24, 2012 9:50 am

Hi rolad,

please post your *.capx - i can test this here for you.

KMag
B
13
S
4
G
3
Posts: 120
Reputation: 3,456

Post » Fri Aug 24, 2012 10:09 am

Here it is: http://dl.dropbox.com/u/48692367/test/test.capx

I managed to get it working just making it to scale, but theres another problem. As I found on forums, iPhone 4+ size is 640x960 px, but when I test on iPhone the screen doesn't looks the same as in c2.

My goal, is that on iPhone it would look exactly as in the c2.
B
4
Posts: 42
Reputation: 559


Return to How do I....?

Who is online

Users browsing this forum: blackhornet, selaus and 0 guests