We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hey, I am somewhat new to processing and I am trying to make a sort of game for a school project. It is an interactive game where the player is shown a video and within the last ten-ish seconds they have to make a choice by pressing a key, this will then take them to the next part of the story. My question is, is there a way to specify a time frame within which the player can press the key so that if they press the key outside of that time frame nothing happens? Right now if the key is pressed before the ten second countdown at the end it goes on to the next video, which kind of ruins the experience.
I'm not really sure how to correctly add code to this post so if you need to see any, let me know and I will try to figure it out.