0 votes

So here I have several spritesheets for character's different states, i.e. idle, run, attack... And unfortunately, all of the spritesheets is big (run-spritesheet is in 2040x1360) and not in the same format (run is a 6x4 but idle is 3x8).
Now I use several sprites to store different aniamtion. But when using AnimationNodeStateMachine to handle aniamtion transition I have to manually hide and show those sprites which makes code really dirty. Is there a better way to do it? Or should I just rearrange those sprites into one big sheets?
update: I just notice that I can place all nodes in "sprite" group and hide them first! But in my opinion this is still far away from "beautiful" :(

in Engine by (14 points)
edited by

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.