Godot Demo Projects

repository·master·Indexed 27 days ago

https://github.com/godotengine/godot-demo-projects

A collection of demo projects for the Godot Engine showcasing 2D and 3D game development techniques. Examples include low-level Server object management, custom 2D drawing with antialiasing, Hierarchical Finite State Machines, AStarGrid2D navigation, RigidBody2D physics platformers, and various implementations of lighting, shadows, and particle systems using GDScript and C#.

Tokens
32.8K
Snippets
35
Records
291
Agent score
92%

What's inside godot-demo-projects

  1. Overview of Navigation Mesh Chunks 2D Demo

    master

    This demo demonstrates how to bake navigation meshes for large-scale world systems using a chunk-based approach. It is designed to handle navigation in environments where the world is divided into manageable chunks rather than one single massive mesh.

    Key Features:

    • Baking navigation meshes for large world chunk systems.
    • Debug path visualization.

    Interaction:

    • Left Click (Mouse): Changes the starting position for the debug paths.
  2. Overview of Networking Demos

    master

    The networking demos in this repository showcase various multiplayer and networking features within Godot.

    Key Technical Specifications:

    • Languages: All demos include GDScript implementations. Demos utilizing WebRTC may use C++ via GDExtension.
    • Renderer: All networking demos are configured to use the Compatibility renderer.
  3. Overview of 2D Physics Tests demo

    master

    The 2D Physics Tests demo provides a suite of tests designed to evaluate the Godot 2D physics engine. It serves two primary purposes:

    1. Functional tests: Used to verify engine behavior and check for regressions.
    2. Performance tests: Used to evaluate the performance capabilities of the 2D physics engine.

    Technical Specifications:

    • Language: GDScript
    • Renderer: Mobile
  4. Overview of Miscellaneous Demos

    master

    The misc folder contains Godot demo projects that do not fit into specific categories. These demos utilize various languages and renderers:

    • Languages: Most demos use GDScript. Specific demos include Godot shader language (e.g., OpenSimplexNoise) and C# (e.g., OS test).
    • Renderers: The Large World Coordinates demo uses the Mobile renderer, while all other miscellaneous demos use the Compatibility renderer.
  5. Overview of Operating System Testing Demo

    master
    The Operating System Testing demo showcases how to access and interact with OS-specific features in Godot. It is designed for testing Godot when porting to new platforms or for regression testing. The demo demonstrates gathering information from the host operating system and performing actions like interacting with the clipboard, managing environment variables, and executing binaries.
  6. Overview of Squash the Creeps (3D) Demo

    master

    Squash the Creeps (3D) is a simple game demo where the player moves and jumps to squash enemies to gain points. This project serves as a finished implementation of the "Your first 3D game" tutorial found in the official Godot documentation.

    Key technical features demonstrated:

    • Player input handling.
    • 3D movement and jumping mechanics.
    • Random enemy spawning within a game arena.
    • Using the built-in animation editor.
    • Implementing a complete game loop (scoring, lose conditions, and restarting).

    Technical Specifications:

    • Language: C#
    • Renderer: Forward+
    • GDScript Alternative: A GDScript version is available in the 3d/squash_the_creeps directory of this repository.
  7. Overview of 2D Demos

    master

    The 2D demo projects provide various examples of 2D gameplay and mechanics. These demos do not share a common theme and are intended to showcase different aspects of the Godot engine's 2D capabilities.

    Technical Specifications

    • Languages: Most demos are written in GDScript. Some demos also utilize the Godot shader language.
    • Renderers: The demos use different rendering backends depending on the specific project:
      • Forward+: Used by Glow for 2D and Physics Platformer.
      • Mobile: Used by 2D Particles.
      • Compatibility: Used by all other 2D demos.
  8. Overview of the Rhythm Game demo

    master

    The Rhythm Game demo is a GDScript-based project designed to demonstrate how to synchronize gameplay with audio and music. It specifically addresses playback position jitter by implementing a 1€ filter to ensure smooth note movements.

    Technical Specifications:

    • Language: GDScript
    • Renderer: Compatibility
    • Key Technique: Uses a 1€ filter for smooth movement and follows Godot's audio synchronization strategies.
  9. Overview of available plugin demos

    master

    This project demonstrates four distinct types of editor plugins:

    • Custom Node Plugin: Demonstrates how to create a custom node type using add_custom_type. Located in addons/custom_node.
    • Main Screen Plugin: A minimal example of creating a plugin with a dedicated main screen. Located in addons/main_screen.
    • Material Creator Plugin: Shows how to add a custom dock and create a custom Resource type with custom loading, saving, importing, and exporting logic, including editor integrations. Located in addons/material_creator.
    • Simple Import Plugin: Demonstrates how to handle importing a custom file type (e.g., *.mtxt). Located in addons/simple_import_plugin.
  10. Overview of Loading Demos

    master

    These demos demonstrate different techniques for loading scenes and other data within Godot.

    Technical Specifications:

    • Language: All demos are implemented using GDScript.
    • Renderer Compatibility:
      • The Loading with Threads demo requires the Mobile renderer.
      • All other loading demos use the Compatibility renderer.