0 votes

Hey !

I'm trying to do a "dodge" move like that:

I tried with a keyframe animation but I want the movement to be relative to the player position so it was not the right way.

Later I tried with a tween but I can't do a "circular" movement as on my diagram with it.

I think that I should use a curve2D but I don't know how to use the same curve2D for the left and the right movement (1 curve that facing player's input direction).

Having two curves each side of the player will be another solution but I don't know if it's well optimized for a 2D fighting game...

Maybe you guys will have some other ideas !

asked Nov 26, 2017 in Engine by Dahaarl (30 points)

1 Answer

+1 vote
Best answer
answered Nov 27, 2017 by kidscancode (17,702 points)
selected Nov 27, 2017 by Dahaarl

Thanks a lot ! I searched on the net but didn't use "parable" as a keyword ! Thanks again ! ;)

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.