Gyroscope,

Get help using Construct 2

Post » Mon Jul 09, 2012 10:48 am

Hi!

First, sorry for my english.

Ok. I want to use the gyroscope controls for mobile, but I dont know how. I have read the properties of alpha, beta, Gamam but dont know how to apply it. Is there a tutorial? Thank you!
B
6
Posts: 17
Reputation: 641

Post » Wed Jul 11, 2012 6:35 am

Hey ingumak.

I was testing gyroscope a while ago but decided to give it a whirl again recently.

It seems there has been tests on a few iOS platforms in here.

Gyroscope on iPad 1 seems to be supported. But iOS5 on the newer devices seems to work somewhat. But that's pretty much on Safari browsers. And I don't think Safari is on Android.

So it seems the answer to the gyroscope controls on mobile is sometimes yes and sometimes no.

The thread I mentioned above also says they got movement through the accelerometer, so it might be wise to explore that option. But still and yet the target platforms you plan to run your game on also matters. As with appMobi and CocoonJS export options now available,whether these support device orientation and touch expressions is completely independent on whether or not a browser like Safari does.

I was testing on CocoonJS for Android 2.2 and the features did seem to be buggy. They did release a new update though, but to my despair all I get is a black screen with the fps showing as opposed to my objects originally showing up. The only things that didn't seem to be working were touch and gyro (not sure about accelerometer). The touch was returning 0 but I can't check the return of the gyro with the black screen bug.

Anyway, say Construct 2 is doing it's job on it's end, it would probably be best to to test out your target platform yourself or see if anyone around here has tested it. That would actually make for useful data..."Frameworks and Browsers that support Gyroscope and Accelerometer."

That's standards based technology for ya.Astro2012-07-11 06:41:30
B
29
S
5
G
5
Posts: 39
Reputation: 5,991

Post » Thu Jul 12, 2012 3:43 pm

Thank you! Ok! I think I understand. Better try something else for now! I have more projects! Thanks for the reply! A greeting! :D
B
6
Posts: 17
Reputation: 641

Post » Tue Aug 27, 2013 12:51 pm

Of course there is gyroscope on Android, its not like a first Nokia Phones...Geez
B
6
S
1
Posts: 28
Reputation: 1,144

Post » Tue Aug 27, 2013 8:55 pm

@HellMax, but the next question is, does Chrome Mobile support Gyro input?
B
5
S
1
Posts: 22
Reputation: 569

Post » Tue Aug 27, 2013 10:39 pm

check out the plugins of rexrainbow, i think he made some great gyro plugins
B
23
S
6
G
5
Posts: 132
Reputation: 4,487


Return to How do I....?

Who is online

Users browsing this forum: jeffige, TheHat, Yahoo [Bot] and 1 guest