-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Updating the 2D tutorial in light of an editor bug #7915
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
Updating the 2D tutorial in light of an editor bug #7915
Conversation
|
Thank you for the corrections AThousandShips! |
|
These are unrelated changes, and should be kept in a separate PR |
|
Will do! I'm new to contributing to the project; thanks for outlining the norm. |
|
At the same time please squash your commits into one, see here |
|
Okay, I believe that removes the unrelated changes from this PR. Going to go over and squash the commits in my other branch before making a PR for those. |
|
Please go ahead and squash the commits in this one too, as it has 14 of them |
|
This is embarrassing, but I don't know how to do that. I'm new to contributing to repositories other than my own on GitHub, so I'm still coming to grips with how the workflow works. I've tried squashing the 14 commits, but GitHub Desktop is giving me an error: Unable to squash. Squashing replays all commits up to the last one required for the squash. A merge commit cannot exist among those commits. I also can't squash subsets of the commits, even individual pairs. |
|
You need to drop the merge commit you have, using "drop" as a command, and when updating your branch you need to use I'll take a look tomorrow about providing more detailed instructions by testing doing it myself |
|
The note reads like writing an |
|
I don't have any problems using the command line interface, just using |
You're right! I tested again this morning. I'm not sure where my original confusion about this came from, but I was convinced it was connecting despite the format of the function name not matching (I still changed it to match after coming to that conclusion, because I just really didn't like them not being exact matches). I think the fact that the connection icon in the Node panel is bright green even if there's no connected function in the script might have contributed to the confusion. I've removed that part of my edit. |
|
I'm hoping to figure out how to squash these commits today. I've never used the command line with Git so it will be a learning process. |
Issue #41283 is currently disrupting the flow of the official 2D tutorial for folks with external script editors. This change is to update the tutorial to acknowledge this bug and provide newcomers with clearer guidelines on how to complete the tutorial despite the bug. It also clarifies a potential point of confusion about how the editor communicates connection between signals and script functions.
ac1e8a6 to
bb82f03
Compare
|
There, I think that did it! |
skyace65
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just needs a few minor changes.
I agree with these suggested changes! Applying Co-authored-by: Matthew <matthewehr@hotmail.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
|
Thanks! Congrats on your first merged PR! I've done a squash and merge for this PR but as AThousandShips said previously, you should be keeping everything to 1 commit, I'm making an exception since this is your first merged PR. In the future I'd recommend updating your branch as described in the doc page AThousandShips linked to so you don't have to do a rebase. If that's something you can't do with the GitHub desktop app I'd recommend trying a different workflow. Personally I use VisualStudio Code, but use whatever you find works best for you! |
Issue #41283 is currently disrupting the flow of the official 2D tutorial for users with external script editors.
This change is to update the tutorial to acknowledge this bug and provide newcomers with clearer guidelines on how to complete the tutorial despite the bug.
It also clarifies a potential point of confusion about how strictly function naming conventions must be adhered to.