Skip to content
/ Godot-Game-Template Public template

Godot template with a main menu, options menus, pause menu, credits, scene loader, extra tools, and an example game scene.

License

Notifications You must be signed in to change notification settings

Maaack/Godot-Game-Template

Repository files navigation

Godot Game Template

For Godot 4.4 (4.2+ compatible)

This template has a main menu, options menus, pause menu, credits, scene loader, extra tools, and an example game scene.

Example on itch.io

Featured Games

Videos

Quick Intro Video
Installation Video
More Videos

Screenshots

Main Menu
Key Rebinding
Audio Controls
Pause Menu
More Screenshots

Use Case

Setup menus and accessibility features in about 15 minutes.

The template can be the start of a new project, or plug into an existing one. It is game agnostic (2D or 3D) and can work with multiple target resolutions, up to 4k and down to 640x360.

Features

Base

The base/ folder holds the core components of the menus application.

  • Main Menu
  • Options Menus
  • Pause Menu
  • Credits
  • Loading Screen
  • Opening Scene
  • Persistent Settings
  • Simple Config Interface
  • Extensible Overlay Menus
  • Keyboard/Mouse Support
  • Gamepad Support
  • UI Sound Controller
  • Background Music Controller

Extras

The extras/ folder holds components that extend the core application.

  • Win & Lose Menus
  • Level Loaders
  • Level Progress Manager
  • Logging Scripts
  • Script for Releasing on itch.io with butler

Examples

The examples/ folder contains an example project using inherited scenes from the base/ and extras/.

  • Example Game Scene
  • Base Level Class
  • Example Levels
  • End Credits
  • Additional Inherited Scenes:
    • Game Options Menu w/ Reset button
    • Master Options Menu w/ Game Options tab
    • Main Menu w/ Animations
    • Opening w/ Godot Logo
    • Level Loading Screen
    • Loading Screen w/ Shader Pre-caching

Minimal

Users that want a minimal set of features can try Maaack's Menus Template or other options from the plugin suite.

Installation

Godot Asset Library

This package is available as both a template and a plugin, meaning it can be used to start a new project, or added to an existing project.

Package Icon

When starting a new project:

  1. Go to the Asset Library Projects tab.
  2. Search for "Maaack's Game Template".
  3. Click on the result to open the template details.
  4. Click to Download.
  5. Give the project a new name and destination.
  6. Click to Install & Edit.
  7. Continue with the New Project Instructions

When editing an existing project:

  1. Go to the AssetLib tab.
  2. Search for "Maaack's Game Template Plugin".
  3. Click on the result to open the plugin details.
  4. Click to Download.
  5. Check that contents are getting installed to addons/ and there are no conflicts.
  6. Click to Install.
  7. Reload the project (you may see errors before you do this).
  8. Enable the plugin from the Project Settings > Plugins tab.
    If it's enabled for the first time,
    1. A dialogue window will appear asking to copy the example scenes out of addons/.
    2. Another dialogue window will ask to update the project's main scene.
  9. Continue with the Existing Project Instructions

GitHub

  1. Download the latest release version from GitHub.
  2. Extract the contents of the archive.
  3. Move the addons/maaacks_game_template folder into your project's addons/ folder.
  4. Open/Reload the project.
  5. Enable the plugin from the Project Settings > Plugins tab.
    If it's enabled for the first time,
    1. A dialogue window will appear asking to copy the example scenes out of addons/.
    2. Another dialogue window will ask to update the project's main scene.
  6. Continue with the Existing Project Instructions

Usage

New Project

These instructions assume starting with the entire contents of the project folder. This will be the case when cloning the repo, or starting from the template version in the Godot Asset Library.

New Project Instructions

Existing Project

These instructions assume starting with just the contents of addons/. This will be the case when installing the plugin version in the Godot Asset Library.

Existing Project Instructions

More Documentation

Main Menu Setup
Game Scene Setup
Input Icon Mapping
Joypad Inputs
How Parts Work


Featured Games

Rent Seek Kill A Darkness Like Gravity Nanny Bot Overload
Rent-Seek-Kill A Darkness Like Gravity NannyBot Overload
Play on itch.io Play on itch.io Play on itch.io

All Shared Games

Community

Join the Discord server and share your work with others. It's also a space for getting or giving feedback, and asking for help.

Links

Attribution
License
Godot Asset Library - Template
Godot Asset Library - Plugin

About

Godot template with a main menu, options menus, pause menu, credits, scene loader, extra tools, and an example game scene.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •