This site is currently in read-only mode during migration to a new platform.
You cannot post questions, answers or comments, as they would be lost during the migration otherwise.
0 votes

Hi,
so in my current game there are a lot of animations. Walking and running in all 4 directions, punching, Kicking, Energy Beam, Energy Wave/bigger ball , Getting hurt animations, Getting knocked away, Getting back up. All of these are in all 4 directions and in my game left and right side animations are unique not just mirrored version.

As you can imagine the animation tree has become really clogged up. I tried creating separate animation trees but there's a problem with that since the root (autoplay on start) animation will always play first so switching from one animation tree to another with code causes the root to play first.

I will be adding even more animations later like different weapon attacks, magic spells and eating and talking. Which will make the tree even harder to manage. This is a 2D game btw.

I have been using animation node state machine inside the tree. Will using something else solve the problem?

Another idea was to just use the animation player directly for some things and deactivate the tree when doing that.

Can anyone give me some tips and ideas on what to do?

Godot version godot 3.2.3
in Engine by (208 points)

Please log in or register to answer this question.

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 Frequently asked questions and 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 [email protected] with your username.