Gestures, simultaneous use of 2 sides

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
Andredron
Miko-Class Veteran
Posts: 718
Joined: Thu Dec 28, 2017 2:37 pm
Location: Russia
Contact:

Gestures, simultaneous use of 2 sides

#1 Post by Andredron »

I wanted to make a similar effect as in this video:
https://vk.com/video-153103257_456296601

And I thought that using gestures,
https://www.renpy.org/doc/html/gesture.html
you can make such a chip

Code: Select all

screen my_keymap:
key "t" action.... 

$ config.gestures["s"] = "t"


And I couldn't bind simultaneous north and south clicks, only from top to bottom and vice versa.

Of course, you can not worry, and prescribe 1 gesture, but suddenly who managed to make a simultaneous click?

Of course, you can make 2 invisible buttons, and prescribe a condition with a timer,

viewtopic.php?f=51&t=51263

but I wanted to use a special created function, but I read Mr. Python's answer in the search that he was not going to develop this section

Post Reply

Who is online

Users browsing this forum: Bing [Bot]