Gyroscope in v6b4

Q&A about the latest versions
Post Reply
nidrig
Posts: 27
Joined: Wed Aug 22, 2018 11:39 am

Hi,

I would like the gyroscope to always be enabled on mobile device, without the user having to turn it on.

How to do it in v6b4? is it possible?

Thanks.
User avatar
Hopki
Gnome
Posts: 13005
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Hi,
The attached project uses a timer with an action filter.
The idea is that when the timer times out it turns on the Gyro.
The reason for the timer is so you can have a Fly In.

The Action Filter will only activate the Gyro if it's on a mobile.
If your not going to use the Fly In you can either set the value from 4 to 1 or not use the timer at all and just use a container with the action:
Start, Player Settings, Gyro, Enable Gyro.
Also use the action filter so it only activates on a mobile.
Regards,
Hopki
Attachments
Gyro.zip
(1.47 MiB) Downloaded 180 times
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
nidrig
Posts: 27
Joined: Wed Aug 22, 2018 11:39 am

Thank you so much! Works like a charm and spared me some much needed time!
Post Reply