0 votes

How do you code in combo moves and such. And by this I mean how do you get Godot to register several buttons push at once. Thanks in advance

in Engine by (34 points)

1 Answer

0 votes

Real fighting games rarely check if buttons are pressed at once. Each button press triggers some kind of combo indicator/counter and untriggers it after chosen time passes. For moves like A+B this time is simply very small, closer to few frames. I suspect modern fighting games have very complicated button - combo system, backed up by large data sheets. You can design simpler one, but You surely need this kind of input intermitter to detect multiple presses ( if input X is (just)pressed -> actionpress X is true -> wait Y - > action X is false )

by (5,557 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.