🌟 We are Open Source! Check out our repository on GitHub

Godot Project Structure

A scalable and maintainable folder structure for Godot game development

File Structure

  • scenes
    • Main.tscn
    • Player.tscn
  • scripts
    • Player.gd
    • GameManager.gd
  • assets
    • sprites
    • audio
  • project.godot
  • README.md

Directory Structure Explanation

scenes/

Contains all Godot scene files (.tscn) that represent game objects, levels, and UI elements.

scenes/Main.tscn

The main scene file that serves as the entry point for the game.

scenes/Player.tscn

Player character scene containing the player node structure and components.

scripts/

Contains all GDScript files (.gd) that define game behavior and logic.

scripts/Player.gd

GDScript file controlling player movement, input handling, and player-specific behavior.

scripts/GameManager.gd

Central manager script that controls game state, flow, and overall game logic.

assets/

Contains all game assets including sprites, audio files, and other resources.

project.godot

Godot project configuration file containing project settings and metadata.