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.
+1 vote

I know that you can duplicate sprites and animated sprites, but when you edit the duplicated sprite then it edits BOTH sprites. This is quite time consuming, as I have just created new races for my rpg and I have to create the animations from scratch.

An idea I have for this would be if you duplicate it, you could have the option to edit them separately or together.

in Engine by (309 points)
recategorized by

you may have race script or even node and ork and elf iherited from race

1 Answer

+1 vote

When you duplicate a Node, value passed information are copied, and reference passed ones are "linked". To unlink the texture, simply set the texture property (on the right side) to a new texture object, and then change the associated image. For the script, clear the script and set a new one.

If you want to create many independent custom Nodes in the editor, you can put a class_name Ork in the script of your Node to have it appear in the Node selection when adding them.

Godot is a collaborative project run by volunteers, by asking questions here (creating a form of documentation), you become one of the "Guys at Godot".

by (2,720 points)
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.