Search found 3 matches
- Sun May 12, 2019 10:20 am
- Forum: Ren'Py Questions and Announcements
- Topic: Renpy keypressed event [Solved]
- Replies: 5
- Views: 1421
Re: Renpy keypressed event
What I want to do is a QTE which stops under 3 conditions : - 5 success (5 keys hit correctly) - on the first wrong key pressed - timer runs out For now, I selected the keys individually. Here is my code : screen qte_keyboard: #key input qte timer interval repeat True action If(time_start > 0.0, tru...
- Sat May 11, 2019 1:55 pm
- Forum: Ren'Py Questions and Announcements
- Topic: Renpy keypressed event [Solved]
- Replies: 5
- Views: 1421
Re: Renpy keypressed event
Hello, Thanks for you answer. So there is no other way to "select" all the other keys except the one which is pressed ? I guess I'll only do it with some keys then. I do wonder what 'trigger_key' in your code is. Don't seem to be a key word. A variable? If so where does the value for that ...
- Fri May 10, 2019 9:04 am
- Forum: Ren'Py Questions and Announcements
- Topic: Renpy keypressed event [Solved]
- Replies: 5
- Views: 1421
Renpy keypressed event [Solved]
Hello, I am a beginner with Renpy and I have a question about the keypressed event. What I want to do is (with Screen language), return 1 when the key pressed is the correct one and return 0 otherwise. I managed to complete the first condition with "key trigger_key action Return(1)" but I ...