- Home /
tap and untap !! (QTE) ?
hi to all ... i want to make almost a QTE event for my game. but i don't know what i should to do. for example i think you have play last tomb rider. in first level when she want to get her bow ... she try and pull her hands to get bow if we tap E. how i can do this ? it means play a animation by tap E and stop this (or change animation in idle) when untap E ! i don't know how we can detect repeatedly press a key with no repeatedly ! please hellp me.
Answer by fafase · Jun 24, 2013 at 11:31 AM
Maybe something like this:
if(input.GetKey(KeyCode.E)){
animation.CrossFade("GetBow");
}else{
animation.CrossFade("Idle");
}
thanks but its not correct. because in QTE you tap the key ... not press it (or hold it) when you tap E it play animation and if you don't tap key its stop animation or switch to idle.
Your answer
Follow this Question
Related Questions
How to determine a tap velocity or a tap strength on iOS and Android with Unity? 2 Answers
How to make a ball bounce when a user taps the screen ios 0 Answers
Detect whether a tap is a swipe up gesture or just a tap 0 Answers
Help with code logic iPhone Touch FPS 0 Answers
Custom touch phase? 0 Answers