Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2D Getting started docs signals page missing step to make Node2D scene main scene #10103

Open
abrugsch opened this issue Oct 17, 2024 · 1 comment
Labels

Comments

@abrugsch
Copy link

abrugsch commented Oct 17, 2024

Your Godot version:
4.3 stable
Issue description:
The getting started docs for signals describes adding a new scene for adding a button, and the code for hooking up the signal to an event handler, but as it's a follow on step from the previous page, the Main scene is still set to the sprite2D scene. Therefore when you play the project, the sprite rotates but the button isn't visible.

A paragraph needs adding to switch the main scene from sprite_2D.tscn to node_2D.tscn in the filesystem pane

URL to the documentation page:
https://docs.godotengine.org/en/stable/getting_started/step_by_step/signals.html

@abrugsch abrugsch added the bug label Oct 17, 2024
@AThousandShips
Copy link
Member

The tutorial instructs to:

To add a button to our game, we will create a new scene which will include both a Button and the sprite_2d.tscn scene we created in the Creating your first script lesson.

And then:

Save your newly created scene as node_2d.tscn, if you haven't already. You can then run it with F6 (Cmd + R on macOS). At the moment, the button will be visible, but nothing will happen if you press it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants