Install Godot Frog Framework
FirstGetting time setupStarted
Software dependencies
Linux Mint / Debian
Install the software dependencies by entering the following command in a terminal:
Linux Mint
sudo apt install -y git git-lfs python3 python3-pip python3-nox nox dotnet8 gettext libmagickwand-dev pre-commitpipx
DebianWindows
On debian, you need to add the Microsoft apt repository before installing the dotnet-sdk-8.0 package.
wget https://packages.microsoft.com/config/debian/13/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
sudo apt-get update
sudo apt-get install -y dotnet-sdk-8.0
Install GFF project
Clone the starter template project and run its setup script:
# Clone StarterProject
git clone git@git.collectivit.fr:frog-collective/godot-starter-project.git
cd godot-starter-project
# Setup the starter project
nox -s setupWindows
Install the software dependencies by entering the following command in a Powershell command prompt with administrator rights:
winget install Git.Git Python.Python.3.12
Microsoft.DotNet.SDK.8py mlocati.GetText ImageMagick.ImageMagickThen clone the starter template project and run its setup script:
# Clone StarterProject
git clone git@git.frog-collective.com:frog-collective/godot-starter-project.git
cd godot-starter-project
# Install python dependencies-m pip install --user --upgradepipx
noxpipx pre-commitensurepath
Install =Godot [Environment]::GetEnvironmentVariable("PATH",Frog "User")Framework [Environment]::SetEnvironmentVariable("PATH",CLI
pipx "User")install #git+https://git.collectivit.fr/frog-collective/godot-frog-framework.git
Setupgff the starter project
python -m nox -s setupinstall
CreateWindows
Automatic shortcut creation is not done during installation on Windows (#20), you should create a Godot shortcut manually (for example on your desktop) that references the version configured by the setup script (this is useful to allow you to work on projects that use different version of Godot).
- In an explorer, go to
%USERPROFILE%/AppData/Local/Programs/Godot/ActiveVersion/ - Create a shortcut from
Godot-stable_mono_win64.exe
Install dotnet project template
Dotnet project template allow you to create new projects automatically based on our Godot project template. See the documentation here.
Build export configuration
To export your game, you need to install Godot build export template. In Godot, go to the Export menu (Project -> Export...):
You can now build the project by using the command nox -s export (or using the Export VSCode task).
Configure your default text editor
This framework is configured to work with NeoVim or Visual Studio Code. You can choose your default text editor by calling the setup script with --text-editor argument:
nox -sgff setup -- --text-editor nvimNeoVim
The setting will be stored in the file .editor-config so you don't need to specify it any time you call the setup script.
The setup script will automatically configure godot to open in the specified text editor.
VS Code special configuration
nox -s setup -- --text-editor code
- Install the recommended extensions, vscode should ask you after opening the workspace, if not hit CTRL+P and type
Show Recommended Extensions. - Setup VS Code User Setting (File -> Preferences -> Settings), set property
godot.csharp.executablePathto the Godot executable path:- For Linux:
~/.local/opt/godot/ActiveVersion/Godot-stable_mono_linux.x86_64. - For Windows:
${env:UserProfile}/AppData/Local/Programs/Godot/ActiveVersion/Godot-stable_mono_win64.exe.
- For Linux:
Note: You can run the setup script by running the Setup Environment task (Ctrl+Shift+P -> Run Task -> Setup Environment).