Skip to content

gdquest-demos/godot-4-new-features

Repository files navigation

cover itchio youtube tags description
static/cover.png
demos 2d 3d physics clipping 2d_lighting 2d_particles 2d_physics audio 3d_particles 3d_physics animation audio_polyphony fonts heightmap ui voxelgi navigation networking sdfgi tilemap tweens
A set of more than 20 demos showing the new features of Godot 4

Godot 4: New Features demos

A demo showing the new font handling: a person with a bubble that says, "hey, wake up! It's time to make video games"

In this project, we've built over of 20 simple demos you can play with and learn from to try some of Godot 4's new features.

The demos navigation menu

Feel free to run the project and test them out!

We will keep this repository up to date with the latest Godot 4 releases.

To get the source code for previous Godot versions, click the links below:

Demos

If you run the demo project, the navigation menu will provide you with a short description for each of these. If you prefer jumping to the code, here is the full list!

Godot 4.0:

Godot 4.1:

A demo showing the new physics benchmark: A pool of balls A demo showing the new dynamic 2D lights A demo showing the new 2D particles: a rainy night scene A demo showing the new light handling with voxels A demo showing the new physics: an area with balls that can bounce around

Bonus demos and code snippets

On top of the demos you can run from the menu, we have some examples accessible only in the editor.

  • In additional/custom_resources, you'll find a demonstration of custom resource exports, grouped exports, auto-generation documentation, and generally, the new inspector panel and export features
  • In additional/POT_generation, we explain how to generate POT (translation) files
  • In additional/snippets, you'll find a good number of examples of the new GDScript features and syntax
  • In 2d_particles, there's an additional rainy scene
  • In networking, you'll find no less than six different network architectures, which we tried to keep as simple as possible, demonstrating different setups.

Credits

We didn't build those demos alone; We were greatly helped by:

  • Fales
  • Paulloz
  • Tokage
  • iFire
  • Smix8
  • Calinou
  • Raulsntos

Controls

Most demos use:

  • WASD
  • 🖱 Mouse
  • Left Mouse
  • ␣ Space

Where relevant, we've described the controls.