Best character controller (new programer)

Godot Version

godot 4.4

Question

Hi i just started doing a little project of mine (a 2d platformer pixelart) and i’ve seen a lot of tutorials on character movement an animation.
Currently I have 2 player controllers to test wich one would be beter for my project: one calls the animations through code+animated sprite 2D and the other has a animation tree , so i wanted to hear some thoughts of some experienced godot users on this topic :godot:

a side from basic movement anims + attack anim it doesn’t have that much anims (just to clarify)

To some extent the answer is going to depend on how complex your character’s animations and actions will be.

1 Like

Each animation will have max 4 frames (kirby’s adventure characters as an example)
and it will be like: idle,walk,jump,fall,attack,hurt and that’s it

i guess that for more complex and numerous animations the tree would be the best option
but still i wanted to see some opinions :slight_smile:

I’ve seen AnimationTrees used for top-down games where each animation has at least four different directions, and it’s easier to pass in the facing vector to the AnimationTree instead of using an if statement to determine which animation to play. Since you’re doing a platformer, you wouldn’t get that benefit since there’s probably only one animation for each animation that you flip.

1 Like

ye u right, and from what im seeing from other posts (while i was coding the health bar this evening heh) about animation trees i think im gonna stay on animated sprite 2D for this first project, thanks. :gdhearteyes:

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.