0 votes

Hi,

I am not sure how you would add different weapons (melee weapons) in game for the player to wield and also have different animations for each weapon.

How would you have the player pick up different weapons with each having his own attack/idle animations?

in Engine by (18 points)

1 Answer

0 votes

I think what you should go for is to have a scene for each weapon, and to instantiate it in the player node. You could have the same node path inside the weapon scene, and so you could access it in you player script.
I'm not sure of your question, so maybe it won't help...

by (36 points)

Thank you for your answer!

But how do you equip said weapon?
Do I have to create a whole new sprite sheet with the weapon in hand or is there a more efficient way of doing this?

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.