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 » Sun Jan 10, 2021 1:51 pm

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: 535
Joined: Thu Dec 28, 2017 2:37 pm
Completed: Kimi ga nozomu renpy-port(demo), Albatross Koukairoku(demo)
Projects: Sisters ~Natsu no Saigo no Hi~(renpy-port)
Location: Russia
Contact:

Re: Gyro sensor in renpy

#2 Post by Andredron » Sun Jan 10, 2021 3:47 pm

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.
I'm writing a Renpy textbook (in Russian). https://disk.yandex.ru/i/httNEajU7iFWHA (all information is out of date) Update 22.06.18

Help me to register in QQ International

Honest Critique

User avatar
Andredron
Miko-Class Veteran
Posts: 535
Joined: Thu Dec 28, 2017 2:37 pm
Completed: Kimi ga nozomu renpy-port(demo), Albatross Koukairoku(demo)
Projects: Sisters ~Natsu no Saigo no Hi~(renpy-port)
Location: Russia
Contact:

Re: Gyro sensor in renpy

#3 Post by Andredron » Sun Jan 10, 2021 3:49 pm

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
I'm writing a Renpy textbook (in Russian). https://disk.yandex.ru/i/httNEajU7iFWHA (all information is out of date) Update 22.06.18

Help me to register in QQ International

Honest Critique

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 » Mon Jan 11, 2021 12:59 am

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: No registered users