Oops! This image does not follow our content guidelines. To continue publishing, please remove it or upload a different image.
Adding external editor:
1. Download VS code
2. In Godot's Editor → Editor Settings menu:
3. Set Dotnet -> Editor -> External Editor to Visual Studio Code.
Errors that you will encounter at the start of setting up Godot C# or VS code as editor:
If you see an error like "Unable to find package Godot.NET.Sdk", your NuGet configuration may be incorrect and need to be fixed.
A simple way to fix the NuGet configuration file is to regenerate it. In a file explorer window, go to %AppData%\NuGet. Rename or delete the NuGet.Config file. When you build your Godot project again, the file will be automatically created with default values.
Godot C# script:
For moving character:
Oops! This image does not follow our content guidelines. To continue publishing, please remove it or upload a different image.
For collision and switching scenes:
Oops! This image does not follow our content guidelines. To continue publishing, please remove it or upload a different image.
Tips:
When creating script can't have space on the script name.