Mobile Touch Gamma and Beta dont work

Get help using Construct 2

Post » Sat Mar 31, 2012 11:52 pm



ADZ is a global variable set to 5


I made the game, and converted it to apk using phonegap.

installed it.

now the touch screen to fire works, but the bullet is not drawn at x,y of the ship object (as it does when preveiwed on screen).

when i tilt or rotate my phone to move the ship object nothing works.

I am testing using htc phone.


Last thing my manufacturer says my phone screen size is 800x480 i set layout size to 800x480 but still when i play on phone their is a small white area on right of screen. it is not centered or stretched to fit the whole screen.

rafhelp2012-03-31 23:53:41
B
7
S
1
Posts: 65
Reputation: 821

Post » Sun Apr 01, 2012 12:44 am

What model HTC phone is it? Last I checked it worked OK for me. Are you sure it has a hardware accelerometer?

Do not hard code a window size, see supporting multiple screen sizes.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Sun Apr 01, 2012 3:40 pm

desire yes it has all the usual smartphone stuff, maybe its the code but all the code is doing is shifting the position of the sprite
B
7
S
1
Posts: 65
Reputation: 821

Post » Tue Apr 17, 2012 2:20 am

I have the same problem too.
I use Phonegap and Touch.Gamma.
My phone is also HTC Desire.
Hope to solve this problem.Thanks.
B
5
G
1
Posts: 7
Reputation: 604

Post » Thu Apr 19, 2012 5:10 am

I changed cordova1.5 to phonegap1.2 then it works.zdtpku2012-04-19 07:58:36
B
5
G
1
Posts: 7
Reputation: 604


Return to How do I....?

Who is online

Users browsing this forum: 99Instances2Go, Artpunk, Magistross and 31 guests