Hey. Im making a rock band 2 drum style game and i've come across a problem. Whenever theres 2+ notes together, all i have to do is hold down the button ( in this case space ) and it hits both of them without any penalty (which i havnt come across yet). But what i would liek it to do is that when u come across these notes you have to release space then press it again or else the note wont hit. Here is the code i am currently using.
Where hitspace is the part where the note has to come in contact with when u hit the note. and spacehitbad is the back where if the note hits that it means you have missed the note. If anybody could please help me it would be much appreciated. Thanks