Project setup
Now that you’ve learned how to navigate in Godot’s 3D editor, you’re ready to start on the minigolf game. As with the other projects, download the game assets from the following link and unzip them into your project folder. The unzipped assets
folder contains images, 3D models, and other items you’ll need to complete the game.
Create a new project and download the project assets from https://github.com/PacktPublishing/Godot-Engine-Game-Development-Projects-Second-Edition.
You’ll notice a few different folders in assets
. The courses
folder has some pre-built minigolf holes for you to try out and compare to the ones you make. Don’t look at them yet – try and follow the steps to make your own first.
This game will use the left mouse click as an input. Open Project Settings and select the Input Map tab. Add a new action called click
and then click the plus sign to add the Left Mouse Button input to it: