Quick Time Events - For Noobs

A place for Ren'Py tutorials and reusable Ren'Py code.
Forum rules
Do not post questions here!

This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
Post Reply
Message
Author
McNoobNoob
Newbie
Posts: 1
Joined: Wed Nov 24, 2021 4:21 pm
Contact:

Quick Time Events - For Noobs

#1 Post by McNoobNoob »

what I came up with, when trying to understand how papiersam's solution works (Link to their post: viewtopic.php?t=50766 )
obviously similar to their version, but how I prefer it with the explanations I could've needed and additional explanations

You need the 'random' module, so import that
probably do that on top of the start label, not within a label, because saving might raise exceptions due to pickle issues (don't ask me)
randomimp.png
randomimp.png (2.74 KiB) Viewed 1303 times
Counter loop version: event runs a set amount of iterations, whether the player fails or succeeds
example, where you have to click a randomly-placed button in time
qteButtonCounter.png

Loop until failure version: event runs until the player fails to click the button in time
infiniteloop.png

Version, where you have to press keys instead of clicking unto a button
qteKeys.png
I hope that helps someone in understanding how to design a QTE event, which fits into their game. Go check out papiersam's version for a slightly different way and further information.

Post Reply

Who is online

Users browsing this forum: piinkpuddiin