Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accelerometer on touch devices #3615

Open
via-my opened this issue Jun 5, 2022 · 2 comments
Open

Accelerometer on touch devices #3615

via-my opened this issue Jun 5, 2022 · 2 comments
Labels
enhancement A proposed or requested enhancement or improvement to renpy's features.

Comments

@via-my
Copy link
Contributor

via-my commented Jun 5, 2022

Some projects have scenes with parallax effect, but supplied mouse position is not really useful on devices with touch screen. What about adding an ability for gamemakers to access accelerometer since it can also improve flexibility in creating minigames?

@Gouvernathor Gouvernathor added the enhancement A proposed or requested enhancement or improvement to renpy's features. label Jun 6, 2022
@Andredron
Copy link

Andredron commented Sep 14, 2022

https://lemmasoft.renai.us/forums/viewtopic.php?f=8&t=65275

On the forum lemma, it was possible to receive data from the accelometer, but there is no way to use the received code. Suddenly someone wants to contribute with the addition of this useful feature

@via-my
Copy link
Contributor Author

via-my commented Sep 14, 2022

@Andredron Excellent! The numbers you received from the sensor are gravity forces that apply to those axis.
There's a documentation with all the data we can receive from those sensors: https://developer.android.com/guide/topics/sensors/sensors_motion

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A proposed or requested enhancement or improvement to renpy's features.
Projects
None yet
Development

No branches or pull requests

3 participants