sysfce2 / Defold_examples

Defold examples for the Learn section of the site

Home Page:https://www.defold.com/examples/

Repository from Github https://github.comsysfce2/Defold_examplesRepository from Github https://github.comsysfce2/Defold_examples

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.
author: Defold Foundation
scripts: foo.script, bar.script
thumbnail: myimage.png
---
  • List any scripts your example uses in the scripts field of the file header
  • The thumbnail image will be used on https://defold.com/examples

About

Defold examples for the Learn section of the site

https://www.defold.com/examples/

License:Creative Commons Zero v1.0 Universal


Languages

Language:Lua 86.7%Language:GLSL 13.1%Language:Python 0.2%