+1 vote

I have an enemy scene A, and I make a new inherited enemy scene B which inherited form scene A. Now if I update the AnimatedSprite, all A and B are changed to the new updated animation. From my research, I understand all inherited scenes (both parent and child) share the same resource, so if I want new animation for B only, I need to tick the Local to Scene for the resource. However, even with the option on, when I change the animation on B, A still got effected and updated at the same time. How do I properly change animation (or resource) for inherited scenes? Thank you.

Edit: Actually, I found out the Local to scene option is for canvasItem / material. I can't seem to find it for Animated Sprite. Therefore, how do I make Animated Sprite local to scene? Thank you.

in Engine by (264 points)
edited by

1 Answer

+1 vote
Best answer

https://godotengine.org/qa/69324/bestway-to-edit-a-animatedsprite-of-a-inherited-object

Solved!
I marked "Local To Scene" in Resource of SpriteFrames.
by (1,867 points)
selected by

Thank you, got it. Without your hint, I will never find the Local To Scene option for sprite frame, it is hidden so deep.

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