Godot Demos Versions Save

Dozens of free and open source demos for the Godot game engine, version 3. Head to the link below for newer demos for Godot 4+

1.1

6 years ago

This demo is larger than usual: it shows a character system with a common parent script that both the player and the AI share. It is the result of a collaboration with Heartbeast

To learn how to manage weapon animation and collisions, watch the two part tutorial:

  1. How to Animate the Sword
  2. Code the Sword Attack

Character killing itself with its weapon, a collision issue explained and fixed in the tutorial

Player killing himself. A common collision issue the tutorial and the demo show how to fix.

Download the demo below. Warning: you must use a recent Godot 3 build. Download a nightly build on this page.

The demo features:

  • Start and end versions to follow the tutorial
  • Simple combat mechanics
  • Scene inheritance
  • Sword and spear with animation-driven mechanics
  • Basic patrol AI
  • Simple state machine example

It's also open source, meaning you can reuse the code as a base for your own games!