Skip to content

defold/examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

37cf9c3 · May 16, 2025
Nov 1, 2024
May 14, 2025
May 14, 2025
May 14, 2025
May 14, 2025
May 14, 2025
May 14, 2025
May 14, 2025
May 14, 2025
May 16, 2025
May 14, 2025
May 14, 2025
May 14, 2025
May 14, 2025
May 14, 2025
May 14, 2025
May 14, 2025
May 14, 2025
May 14, 2025
May 14, 2025
May 14, 2025
Mar 7, 2025
Feb 11, 2025

Repository files navigation

Defold examples

This repository includes the Defold examples used in the examples section on https://defold.com/examples

Adding more examples

Examples are grouped by category, for instance "physics", "sprite" or "collection". Each group of examples has a folder in /examples. Here's how to add a new example named "foobar" to the "sprite" category:

  • Create a folder named foobar in examples/sprite
  • Create examples/sprite/foobar/game.project and the files required for your example
  • Create examples/sprite/foobar/example.md with example documentation. The file must start with:
---
title: Foobar
brief: This example shows how to use foobar.
scripts: foobar.script
---
  • List any scripts your example uses in the scripts field of the file header