Hello World Example
Hello World Example
Installing the module
Create a new go project
Create a new main.go file
Use go get -u
to make sure the project and all the dependencies are up to date.
run the project
With godot editor running add the HelloWorld
Node to the the node in the current scene and save the project and close it.
Add it to the scene tree.
Save the project in Godot Editor.
In godot run the project or by running gd run
in your terminal.
You may need to close and open the godot editor using gd
if it cannot map the assets in the project.
If all is well check the editor and you should see the message Hello World from Go!
in the console of your code editor.