Skip to content

Update 05.the_main_game_scene.rst #11084

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Feipian
Copy link

@Feipian Feipian commented Jul 4, 2025

change $Player.start($StartPosition.position) to
$Player.Start($StartPosition.position)
ensure the project working

change $Player.start($StartPosition.position) to
$Player.Start($StartPosition.position)
ensure the project working
@Calinou
Copy link
Member

Calinou commented Jul 4, 2025

This is not the correct fix for GDScript code, which uses the snake_case naming convention for method names. Notice how the line just below uses start().

If it doesn't work locally, double-check that you defined the player's start function as start() and not Start().

@Calinou Calinou added bug area:getting started Issues and PRs related to the Getting Started section of the documentation labels Jul 4, 2025
@Feipian
Copy link
Author

Feipian commented Jul 5, 2025

Thank you for the reply

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 bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants