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

Update 05.the_main_game_scene.rst #10452

Merged
merged 1 commit into from
Jan 10, 2025
Merged

Conversation

koubaa
Copy link
Contributor

@koubaa koubaa commented Dec 30, 2024

Make the 2d tutorial slightly more straightforward

Handle assigning the position before setting the direction

Handle the position before the direction to simplify
@tetrapod00
Copy link
Contributor

In theory I agree, since the position is set between two lines of code about setting the direction.
Note that the demo project has a completed version, too, and if we change the tutorial, the completed version will no longer match. The relevant line in the completed project is: https://github.com/godotengine/godot-demo-projects/blob/master/2d/dodge_the_creeps/main.gd#L32-L36

@koubaa
Copy link
Contributor Author

koubaa commented Dec 30, 2024

godotengine/godot-demo-projects#1151

Copy link
Member

@Calinou Calinou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Calinou Calinou merged commit 8debbc2 into godotengine:master Jan 10, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:getting started Issues and PRs related to the Getting Started section of the documentation cherrypick:4.3 enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants