Here's the game http://flowlab.io/game/play/956395
Basically you're a fish and you press down to go underwater and let go to shoot back up and through the hoops, everytime you go through a hoop you get a point, but if you hit the sides or the top then you die and your points restart, the game gets increasingly more difficult overtime.
So I want it so the player can't skip hoops, if they skip a hoop then they die, I can't quite figure this out.
I also want it so you're only able to tap and hold in instances of one, so for example right now you're able to spam down to adjust your angle, which I don't want, I just want it so when you tap and hold down it'll go down and you can't press again once you go down until you hit the surface.
If anybody has any idea how to do this that would be amazing, I have a feeling that the skip hoops thing is possible with raycasting, but I'm not sure how.