Quick Time Events - For Noobs
Posted: Thu Nov 25, 2021 10:09 am
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) 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
Loop until failure version: event runs until the player fails to click the button in time
Version, where you have to press keys instead of clicking unto a button 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.
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) 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
Loop until failure version: event runs until the player fails to click the button in time
Version, where you have to press keys instead of clicking unto a button 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.