Defold Example Projects
#defold #sample #example #gamedev #starter #template

Björn Ritzl 8d609fa77d Update example.md vor 2 Monaten
.github 867657ed93 Update trigger-site-rebuild.yml vor 4 Monaten
animation 68c0b60d3a Fixed input vor 2 Monaten
basics c48b3ded0d Added authors vor 4 Monaten
collection c48b3ded0d Added authors vor 4 Monaten
debug c48b3ded0d Added authors vor 4 Monaten
factory c48b3ded0d Added authors vor 4 Monaten
file c48b3ded0d Added authors vor 4 Monaten
gui 68c0b60d3a Fixed input vor 2 Monaten
input 88bfb413bd Add entity picking example (#90) vor 3 Monaten
material ae87837ec1 Added Sprite Local UV example vor 3 Monaten
mesh a7897a3fd4 Removed unused files from triangle example vor 3 Monaten
model 6fe16106d5 Refactor projects with the unlit material (#89) vor 3 Monaten
movement 68c0b60d3a Fixed input vor 2 Monaten
particles 68c0b60d3a Fixed input vor 2 Monaten
physics 97a83aee6a Cleaned up knockback example vor 2 Monaten
render 227b712808 Update bee.script vor 3 Monaten
resource 68c0b60d3a Fixed input vor 2 Monaten
sound 8d609fa77d Update example.md vor 2 Monaten
sprite 7293f76aca Update example.md vor 3 Monaten
tilemap 68c0b60d3a Fixed input vor 2 Monaten
timer c48b3ded0d Added authors vor 4 Monaten
.gitignore 42c2c08a3e Update .gitignore vor 6 Monaten
LICENSE d3e669124c Create LICENSE vor 4 Monaten
README.md 40c2a2c3b7 Update README.md vor 4 Monaten
create_archives.py 4c2cc94494 Create create_archives.py vor 4 Monaten

README.md

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