I have a touch screen, and best way to describe is making a game.
I have a video playing. I want the user to touch a part of the screen at a specific time (say, between 5-6 seconds in to the video). If they do so, the video continues to play normally. If they do not, at the end of that time it goes a specific "lose" video. If I have another time for an input (between 11-12 seconds in to the video) and they fail there, I want it to go to the "lose" video for that specific interaction. I don't want to the player to be able to touch the zone early and have that count as the correct input (storing a variable for a long time).
Any ideas on how I would go about this? I am planning many interactions, so wanting something easily built out.
Touch Screen; How to make a video continue playing only if touched at a specific time, otherwise exit to another video?