Quantcast
Channel: Answers for "Ensuring that a button is released before checking that it's pressed?"
Browsing latest articles
Browse All 4 View Live

Answer by nesis

GetButtonDown() is the way to go. What you're doing is purporting this check on the same frame as when the attack starts... so of course it'll return true! The solution for what you're wanting is to...

View Article



Answer by xt-xylophone

Combos are normally done by saving the most recent say 5 moves in a queue data structure and then you can just check it to see if the player has pressed a combo. In your case though are you hoping to...

View Article
Browsing latest articles
Browse All 4 View Live




Latest Images