Tilt/compass Problem on Tablet

Discussion and feedback on Construct 2

Post » Sun Dec 27, 2015 12:34 pm

Hi There.
On this Tutorial
h**ps://www.scirra.com/tutorials/4840/get-mobile-orientation-tilt-leftrightupdown-compass
sizzle-games.com/tilt
i tested it with Samsung Galaxy S3 phone and Samsung Galaxy Tab A .
It works on the Phone but not on the Tab A.

So maybe someone have a Idea why ?

Greetings
B
5
S
1
Posts: 17
Reputation: 411

Post » Sun Dec 27, 2015 7:49 pm

Just tried it on an iPad 2, and works fine.
So can't really help you, sorry.
Bushy Ball\Boatman Bill\Sticky Web\Snake

Image ImageImageImage

During the gold rush it was a good time to be in the pick and shovel business
B
46
S
14
Posts: 252
Reputation: 5,352

Post » Mon Dec 28, 2015 1:18 pm

thx

Test on Samsung Galaxy Note 10.1 and Iphone 5 =Works!
Test on Samsung Galaxy Tab 3 = Not Working

Testet with Tilt/Mazegames from Google Store all Device working.

Must be a bug in Construct 2 .
B
5
S
1
Posts: 17
Reputation: 411

Post » Mon Dec 28, 2015 1:31 pm

Basshase wrote:Testet with Tilt/Mazegames from Google Store all Device working.
Must be a bug in Construct 2 .


It doesn't work like that, unfortunately.

How did you test the Scirra tutorial? On the tablet in a browser? Which one? Or was it exported via XDK/Crosswalk or Cordova?

If it was in a stock browser: Chances are that the stock browser on the tab is faulty (there is a long and ugly tradition of that with Samsung)
If it was the Chrome browser: That would be interesting.
If it was Cordova: The webview on the Tab is probably suffering from the same fault as the stock browser.
If it was XDK/Crosswalk: That would be interesting, too.

So you need to test the two "interesting" options, and see if it happens there. If it does, for example in option 2, you'd need to find a 3rd party in- browsergame that uses the gyroscope and that actually works on the tablet. If that's the case, THEN there's probably a problem hidden somewhere in C2 ;)

Samsung tablets have always been the ass-end of the HTML5 world, and for good reason.
B
77
S
28
G
32
Posts: 481
Reputation: 19,763

Post » Mon Dec 28, 2015 1:39 pm

All Device (incl.Iphone) was tested with Chrome Browser .
No APK test.

i tested the Tab 4 and the Tab 3 device with an game example from Cyberix3d with tilt build in.and it works.
No html tilt browsergame found yet.

Greets
B
5
S
1
Posts: 17
Reputation: 411

Post » Mon Dec 28, 2015 1:54 pm

You could use this for testing:
http://orb.enclavegames.com/

If I need to find test cases not made with C2 I typically start looking at examples of competing HTML5 engines. I found Phaser useful for that (they have a lot of examples and a large community).
B
77
S
28
G
32
Posts: 481
Reputation: 19,763

Post » Sat Jan 02, 2016 10:40 am

THX. Eisenhans
But same Problem it works on the s3 phone but not in the tab a and tab 3.
B
5
S
1
Posts: 17
Reputation: 411


Return to Construct 2 General

Who is online

Users browsing this forum: AnD4D and 27 guests