Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/godot-gamejamPublic template

🤖 Godot Engine 4 template to better get started for gamejams with your 2D or 3D game!

License

NotificationsYou must be signed in to change notification settings

bitbrain/godot-gamejam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

godot-gamejam

🤖 Godot Engine 4.0 template to better get started for gamejams with your game!

🧪 Features

🌌Game Settings

This template project comes with game settings out of the box:

  • Audio volume (Master, Sound, Music)
  • Game Language (English only by default)

Bootsplash scene support

Either use the default Godot bootsplash or define your own logo bootsplashes!

🎩 Basic menu flow (main menu, settings, pause)

This project comes with basic menu navigation that allows you to navigate between ingame, settings and quitting the game.

💾 Save Game Integration

Automatically saves the state of the game on exit. Starting a new game overrides the existing save game. Any game object that needs to be saved has to be part of the "Persist" group.

🌎 Translation support (i18n)

Comes with pre-defined translations that can be extended.

⏸ Pause Menu

TheIngameScene supports a pause menu to temporarily pause the game.

🚀 Automaticitch.io deployment

This templates comes with automatic deployment to itch.io for MacOS, Windows, Linux and HTML5 (Web). Delete.github/workflows/godot-ci.yml in case you are not interested in deploying to itch.io!

  1. generate new API key in your itch.io settings and setup yourBUTLER_API_KEY secret -learn more
  2. create a new game on itch.io
  3. setupITCHIO_GAME andITCHIO_USERNAME secrets in Github and assign them to your itch.io username and game name

See working example here

🎮 Getting started!

  1. ClickUse this template in Github (learn more about Template Repositories)
  2. Open the project in Godot Engine 4
  3. Customize it to your needs (see🧱 Customization)
  4. Open theIngameScene and start building your game!

🔌 Compatible Gamejams

Not all gamejams allow project templates! Please make sure to carefully read the gamejam rules before using this project, otherwise you mightrisk being disqualified!

Down below is a list of some compatible gamejam formats that permit using this repository as a template:

🧱 Customization

This project is built to be as generic as possible and it can be fully adjusted to your needs.

Defining custom UI theme

Search for the filetheme.tres and open it. TheGodot theme editor should appear. Feel free to customise the UI to your needs. AnyControl node will use this theme by default:

custom-theme

Choosing 2D vs 3D

This toolkit is not limited to either 2D or 3D. It has been kept vague on purpose so feel free to build 2D or 3D scenes with it!

Custom boot splash

Within Godot Engine, head toscenes/boot to access boot splash scenes. You can create your custom bootsplash by either modifyingGodotBootsplashScene or creating a new node of typeControl. AddBootsplashScene as a child and configure its properties as follows:

  • Fade Duration - the amount of time in milliseconds to fade in/out the bootsplash.
  • Stay Duration - the amount of time in milliseconds the bootsplash should stay.
  • Node - the node/scene that should be displayed during the bootsplash.
  • Next Scene - the next scene that should be loaded after the bootsplash has finished.
  • Interruptable - wether the bootsplash is interruptable or not.

Add new translation

You will find a translation file ini18n/translation.csv. Feel free to extend it to your needs. Godot will automatically pickup the translations if you use them inside your control nodes likeButton orLabel. In case you need to manually translate something in a script, call thetr() function.

In case you want to add a new language, add a new column to thetranslation.csv file.

Game Settings

The game settings are managed inUserSettings.gd. You can change the defaults by updatingUSER_SETTING_DEFAULTS. You can also add additional properties to extend them.

TheGameSettings node and theGameSettings.gd script connects to theUserSettings by setting it/loading from it.

Save game configuration

By default, save games are enabled. You can toggle support for save games insideSaveGame.gd by changing theENABLED property.

The save game saves any node inside theIngameScene that is part of thePersist group (learn more about groups in Godot). The save game system will save existing nodes but also nodes that were dynamically added to the scene at runtime!

Currently, the game will only save the scene when exiting the game via the pause menu.

🍻 Contributing

Feel free to raise a pull request or suggest any changes or improvements you would like to see!

🐱‍💻PLEASE NOTE: this project is a template and any contribution should only introduce/extend features that are template related. If something can be its own addon (e.g. movement controller or specific 2D/3D stuff) it probably should be its own (separate) addon.

About

🤖 Godot Engine 4 template to better get started for gamejams with your 2D or 3D game!

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

[8]ページ先頭

©2009-2025 Movatter.jp