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.
-
goldo
- Regular
- Posts: 63
- Joined: Mon Jan 23, 2017 8:23 am
-
Contact:
#1
Post
by goldo » Sat Dec 15, 2018 10:42 am
Hi,
I know how to make a key repeat an action when pressing down, such as:
Code: Select all
key "repeat_K_UP" action (Function(select_previous))
However, I also have
buttons that I would like to work the same way (say, a '+' button that increases an amount the longer you press it with the mouse).
I don't know that it is possible to do that from reading the documentation: an action can be triggered when clicking, alt_clicking or hovering/unhovering. Is there a workaround?
Users browsing this forum: Bing [Bot]