Could the guys at godot please find a way to duplicate sprites/animated sprites?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Amateur.game.dev.

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.

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

sirAlexDev | 2021-01-12 18:56

:bust_in_silhouette: Reply From: Lopy

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”.