0 votes

2D fighting games like street fighter commonly uses box collision animation (stretching). If animating collision shapes is not recommended on Godot, what is the best approach to make a 2D fighting game? Thanks!

An example video of box collision working on street fighter

in Engine by (12 points)

1 Answer

0 votes

The Godot Area2D is the same as used in fighting games. Basically it works by checking for overlap in a 2D(X,Y) vector and is very fast.

You can stretch it as much as you want, because stretching only makes the X or Y value larger, it doesn't do anything fancy.

by (1,480 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.