0 votes

Here is my character and his main sprite:
enter image description here

If I wanna add more sprites, how can I do that? I tried to use more sprite nodes, but all the sprites appears on the screen.

in Engine by (171 points)

1 Answer

0 votes

It's not exactly clear what you're asking.

Do you mean you want to add additional frames for animation? If so, you can see two options for how to accomplish that here:
https://docs.godotengine.org/en/latest/tutorials/2d/2d_sprite_animation.html

by (20,377 points)

What Im saying its: I have the main spritesheet with the animation of the player (left, right, up and down), but when my character will enter on a battle (jrpg), I want to change his sprite to a battle sprite of another spritesheet. My question is how can I do that? Using many sprite nodes or animatedsprite or animationplayer?

Just use your AnimationPlayer - it can change the Texture property of the sprite as well.

Thx for the help, I fix that using animatedsprite.
Adm can close the topic :P

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.
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 webmaster@godotengine.org with your username.