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.
+3 votes

I have a main play scene structured like this:

PlayNode
|------BGNode
|.......|----CloudScene1
|.......|----CloudScene2

Now, the CloudScene1,2 are scene instances. It is like this:

CloudScene
|------Sprite
|------Timer

In my main play scene, I want to instantiate different types of clouds. I want to change the texture of Sprite in CloudScene for different children from the main play scene itself. How to do that? Is it not possible without coding?

If the scene instance node was expandable, it would have been really useful.

in Engine by (83 points)

2 Answers

+4 votes
Best answer

If the scene instance node was expandable, it would have been really useful.

You can click the arrow next to the name of the scene and click "Editable Children" to show the instanced scene and all its nodes.

About changing the texture without code, i guess it would be possible to do so with the AnimationPlayer http://docs.godotengine.org/en/stable/tutorials/step_by_step/animations.html

by (306 points)
selected by

Oh! How stupid of me! The option was right there all the time and I didn't see it. Thank you.

Just to add if anyone sees this, in 3.x ++ you have to right click the node and select "Editable Children"! Was searching for this for hours :O

Difference is the scene icon now opens in a new tab.

+3 votes

You can see scene icon on Scene panel with instanced scene node.
Click and check Editable Children.
Then you can see child nodes and change there properties.
Those changes are saved in current edited scene.

by (9,800 points)

Yes I see that now. Thanks.

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.