0 votes

hey everyone,

so i'm creating a beat-em up game and adding sprites into a 3d scene in godot. setting up movement was ok and adding a single png sprite went ok . however now that i want to add animations like "walk", "jump", "punch" etc . i cant figure out where and how to add these sprite animations into the script.

i'm using $animatedSprite rather than animation player since creating sprite frames is an arduous task its easier for me to add in segments.

here is my script :

https://pastebin.com/UtMyHBiW

can someone suggest how could add the animated sprites as the movement code works really well. thanks

Godot version v3.4.4 stable.official(419e713a2)
in Engine by (55 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.