Skip to main content

Getting Started

Install Godot Frog Framework

Software dependencies

Linux Mint / Debian

Install the software dependencies by entering the following command in a terminal:

sudo apt install -y python3 pipx
pipx ensurepath

Windows

Install the software dependencies by entering the following command in a Powershell command prompt with administrator rights:

winget install Python.Python.3.12
py -m pip install --user pipx
pipx ensurepath

Install Godot Frog Framework CLI

Linux Mint / Debian / Windows

pipx install git+https://git.collectivit.fr/frog-collective/godot-frog-framework.git
gff install

Windows

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

Create a new Godot project

gff new ProjectName

Configure your default text editor

The framework supports both NeoVim and Visual Studio Code. To select your preferred default text editor, execute the setup script using the --text-editor argument:

gff setup --text-editor NeoVim

The setting will be stored in the file .ggf/.user-config in your repository 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

Run the setup script to configure Visual Studio Code as your preferred default text editor:

gff setup --text-editor VSCode

Then configure Visual Studio Code following this steps:

  • 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.executablePath to 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.

Note: You can run the setup script by running the Setup Environment task (Ctrl+Shift+P -> Run Task -> Setup Environment).