Skip to content

joshuafolkken/godot-project-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽฎ Godot Project Template

Godot Engine logo

๐Ÿš€ Production-ready template for Godot Engine development

Use this template

Godot 4.4.1 License CI

โญ Star this repo if it helps you!

๐ŸŽฏ What Makes This Template Special?

Production-ready Godot template that eliminates setup time and maintenance overhead:

  • โšก Zero Configuration - Start coding immediately
  • ๐Ÿ›ก๏ธ Enterprise Ready - CI/CD, testing, deployment
  • ๐ŸŒ Global Ready - EN/JP i18n built-in
  • ๐ŸŒ Multi-Platform - Web, desktop, mobile ready
  • ๐Ÿš€ Auto-Deploy - GitHub Pages with PWA
  • ๐Ÿงช Testing First - GdUnit4 integration

๐Ÿ†š Why Use This Template?

This template eliminates repetitive setup tasks and ongoing maintenance overhead:

๐Ÿ•’ Time Savings

๐Ÿ“Š Calculation Basis: 40h/week developer, 4 commits/day, daily deployment

๐Ÿš€ One-Time Setup

Feature This Template New Project Time Saved
๐Ÿš€ Initial Setup โš ๏ธ Required โœ… Ready +15min
๐Ÿ“ Project Structure โœ… Optimized โš ๏ธ Basic -45min

๐Ÿ”„ Weekly Savings

Feature This Template New Project Time Saved
๐Ÿงช Testing โœ… GdUnit4 ready โš ๏ธ Manual setup -2hrs
๐Ÿ”„ CI/CD โœ… GitHub Actions ready โš ๏ธ Manual workflow -3hrs
๐ŸŒ Multi-language โœ… EN/JP ready โš ๏ธ Manual i18n -1.5hrs
๐Ÿ“ฆ Web Export โœ… PWA ready โš ๏ธ Manual setup -1hr
๐Ÿš€ Deployment โœ… Auto-deploy ready โš ๏ธ Manual setup -2.5hrs
โœ๏ธ Code Quality โœ… Auto-format ready โš ๏ธ Manual setup -1.5hrs
๐Ÿช Git Hooks โœ… Automated โš ๏ธ Manual setup -2hrs

๐ŸŽฏ Total weekly savings: ~13.5 hours

โš–๏ธ Trade-offs

Aspect This Template New Project
๐Ÿ“ Code Standards โš ๏ธ Enforced โœ… Flexible
๐ŸŽฏ Main Branch โš ๏ธ Protected โœ… Direct commits

๐Ÿ’ก Pro Tip: Enforced standards actually save time by maintaining consistent code quality!

๐Ÿš€ Quick Start (30 seconds)

  1. Click Use this template
  2. Clone your new repository
  3. Open project.godot in Godot Engine
  4. Start coding! ๐ŸŽ‰

๐ŸŽฏ Pro Tip: Enable the GdUnit4 plugin in Project Settings for full testing capabilities!

โœจ Features

๐Ÿ“‹ Complete Feature Breakdown

๐ŸŽฎ Development Ready

  • ๐Ÿ“ Project Structure - Clean, scalable folder organization
  • ๐ŸŽจ Asset Management - Custom fonts with proper import setup
  • ๐ŸŒ Multi-Language - English/Japanese with real-time switching
  • ๐Ÿ“ Typed GDScript - Static typing for better code quality
  • ๐ŸŽฏ Sample Implementation - Complete example scene with real-time features
  • ๐Ÿ’พ Settings Management - Type-safe configuration with error handling
  • ๐Ÿ–ฅ๏ธ Editor Integration - VSCode/Cursor optimized configuration
  • ๐Ÿงช Testing Framework - GdUnit4 with automated test execution
  • ๐Ÿ› Advanced Debugging - Comprehensive logging with timestamps
  • ๐ŸŽฏ Spell Checking - Multi-dictionary system with custom terminology

๐Ÿ”„ Automation

  • โœ๏ธ Code Quality - Auto-formatting and linting
  • ๐Ÿช Git Hooks - Pre-commit and pre-push automation
  • ๐Ÿค– GitHub Actions - Automated CI/CD with multiple workflows
  • ๐Ÿท๏ธ Version Management - Automatic version tagging and releases
  • ๐Ÿ›ก๏ธ Security & Quality - Branch protection and conflict detection
  • ๐Ÿšซ Main Branch Protection - Prevents direct commits to main branch
  • ๐Ÿ” Conflict Prevention - Automatic merge conflict detection
  • ๐Ÿงน Report Cleanup - Automated test report management
  • ๐Ÿ“Š Quality Gates - Automated testing and code quality checks
  • ๐Ÿ” Code Scanning - Security and quality analysis
  • ๐Ÿ›ก๏ธ PR Validation - Automated pull request checks
  • ๐Ÿ”’ Security Settings - GitHub security configurations

๐ŸŒ Web Deployment

  • ๐Ÿ“ฆ Web Export - Optimized web export preset with PWA support
  • ๐Ÿš€ GitHub Pages Auto-Deploy - Automatic web deployment
  • ๐Ÿฆ Custom HTML - Optimized web export with PWA support
  • ๐Ÿ—‚๏ธ Export Presets - Pre-configured export settings
  • ๐Ÿ“ฑ Progressive Web App - Full PWA support with offline capabilities
  • ๐Ÿ“Š Social Media - Twitter cards and meta tags

โš™๏ธ Setup Guide

Prerequisites

Tool Version Installation
Godot Engine 4.4.1+ Download
GdUnit4 Latest Godot AssetLib
Node.js 18+ Download
godot-gdscript-toolkit Latest Install

Step-by-Step Setup

  1. Enable GdUnit4 Plugin

    Project Settings โ†’ Plugins โ†’ GdUnit4 โ†’ Enable
    
  2. Install Dependencies

    npm install
  3. Configure Editor (Optional)

    • Install VSCode/Cursor extensions
    • Enable auto-format on save
  4. Customize Project

    • Update project name in project.godot
    • Configure GitHub Pages: Settings โ†’ Pages โ†’ Source: gh-pages

๐Ÿ”ง Development Workflow

Essential Commands

# Testing
npm run test:win    # Windows testing
npm run test:mac    # macOS testing

# Code Quality
npm run format      # Format all GDScript files
npm run lint        # Run linting checks
npm run spell       # Spell check with custom dictionaries

Development Standards

  • ๐Ÿ“ Typed GDScript - Use static typing for all functions
  • ๐ŸŽจ Auto-format - Enable format on save in your editor
  • โœ… Spell Check - Custom dictionaries for game terminology
  • ๐Ÿงช Unit Tests - Write tests for critical game logic
  • ๐ŸŒ Translations - Add new languages to locale/ directory

๐ŸŽฎ Example Implementation

The template includes a complete example scene demonstrating:

  • Real-time language switching with UI buttons
  • Type-safe settings management with error handling
  • Comprehensive logging with timestamp tracking
  • Asset management with custom fonts
  • Testing examples with GdUnit4

โ“ Troubleshooting

Common Issues & Solutions

Issue Solution Priority
๐Ÿงช Tests not running Enable GdUnit4 plugin in Project Settings ๐Ÿ”ด High
๐Ÿ’ป Formatting not working Install godot-gdscript-toolkit ๐Ÿ”ด High
๐Ÿ“ฆ npm commands fail Install Node.js 18+ ๐Ÿ”ด High
๐Ÿช Git hooks not working Run npm install to install Lefthook ๐ŸŸก Medium
๐ŸŒ Web export fails Check GitHub Pages branch is set to gh-pages ๐ŸŸก Medium
๐ŸŒ Translations not showing Ensure .po files are in locale/ directory ๐ŸŸก Medium

FAQ

Question Answer
Godot 4.3 compatible? โœ… Yes, optimized for 4.4.1 but works with 4.3+
All tools required? โŒ Only Godot Engine and Node.js required
Customize project name? โœ… Edit project.godot and update references
Add new languages? โœ… Add .po files to locale/ directory
Commercial use? โœ… Yes, MIT licensed for any use
Deploy to other platforms? โœ… Configure export presets in Godot

๐Ÿ“ž Support & Community

Channel Purpose Response Time
๐Ÿ› Bug Reports GitHub Issues < 48h
โœจ Feature Requests GitHub Discussions < 48h
๐Ÿ’ฌ General Questions GitHub Discussions < 48h

๐Ÿ“ License

MIT License - see LICENSE for details.

๐Ÿ™ Support This Project

GitHub stars Follow

Ways to Contribute

  • โญ Star the repository - Helps with visibility
  • ๐Ÿ› Report bugs - Help improve stability
  • โœจ Suggest features - Shape future development
  • ๐Ÿ“– Improve docs - Help other developers
  • ๐Ÿ”ง Submit PRs - Direct code contributions

Financial Support

Support continued development:

Credits


Made with โค๏ธ for the Godot community

๐Ÿ“Š Project Status

Release X GitHub closed issues GitHub repo size Auto Tag Deploy

About

A minimalist template project for Godot 4, providing a solid foundation for rapid game development.

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Sponsor this project

Contributors 2

  •  
  •