Gyro sensor in renpy

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
Kun
Newbie
Posts: 19
Joined: Sun Dec 27, 2020 4:22 am
Projects: Hana's Campus Life (limitedfactory.info)
Organization: Limited Factory
Contact:

Gyro sensor in renpy

#1 Post by Kun »

Found we have gyro sensor part of the kivy system.
Can we try to use this to renpy?

Or is there a better way to do it?

Thanks

Kun

User avatar
Andredron
Miko-Class Veteran
Posts: 736
Joined: Thu Dec 28, 2017 2:37 pm
Location: Russia
Contact:

Re: Gyro sensor in renpy

#2 Post by Andredron »

A year ago I tried to implement this kiwi (with that version of the ancient in which 2.7 python support was present) and renpy, a lot of conflicts, errors came out. Partially succeeded, but count on Python 2.7 it is not realizable. At all. And then the abolition of support for Python 2.7 from Java, from kiwi, and the departure of competent pythonists from 2.7 to a new python. After the release of the new renpy at 3.6 or whatever python it will be, it will be quite realizable.

User avatar
Andredron
Miko-Class Veteran
Posts: 736
Joined: Thu Dec 28, 2017 2:37 pm
Location: Russia
Contact:

Re: Gyro sensor in renpy

#3 Post by Andredron »

Parallax and bind the movement to the mouse cursor.

viewtopic.php?p=492874#p492874

There is an example in teaching. Easier, more convenient and much less hassle

User avatar
Kun
Newbie
Posts: 19
Joined: Sun Dec 27, 2020 4:22 am
Projects: Hana's Campus Life (limitedfactory.info)
Organization: Limited Factory
Contact:

Re: Gyro sensor in renpy

#4 Post by Kun »

Right...

Let me experiment more and let you know.
If this works, man, renpy will be at a different level ;)

and thanks for the parallax effect. Have already implemented it but did not knew there was a
such a nice tutorial about it :'(

Post Reply

Who is online

Users browsing this forum: Bing [Bot], humwawa, Majestic-12 [Bot]