- Godot 4.3
- Follow GDQuest's Godot GDScript guidelines
Run the install_hooks.sh
script after cloning the project to install
the pre-commit hooks.
You can run this script from the command line by going to the directory
containing the project and issuing this command:
sh install_hooks.sh
Having set up that hook will ensure that all the automated tests are run prior to each commit. For this to work, you need to be able to run Godot Engine from the command line as godot
. Here is a recommended approach for Windows and Git Bash users:
- Download Godot Engine and extract the executable (
.exe
file) from the archive. - Rename that executable to
godot.exe
. - Move that file to the
bin
folder of your home directory. (Your home directory is something likec:\Users\username
.)
That executable is now on your default path, so you can now run godot
from the command line and the automated tests will work.
You can still create a shortcut to that executable on your Desktop for ease of mouse access, though there's real value to just opening the project you want from the command line.
The override.cfg
file, which can be used to override project
settings,
is not version controlled. Each developer can have their own settings in this file.
The most common use case for this is that a developer may need to adjust the
test game window's resolution to fit on their current display. For example, in this case, putting the following into a override.cfg
in the project folder will run the
game at 360x640.
display/window/size/window_width_override=360
display/window/size/window_height_override=640
©2024 Paul Gestwicki
This software is licensed under GNU General Public License v3.0.
Assets are licensed under Creative Commons Attribution-ShareAlike 4.0 International.
-
Shantell Sans font licensed under OFL
-
Rounds Black font licensed under OFL
-
Button click sound is a modification of Mouse Button Clicks licensed under CC0
-
Gear image is licensed under CC0