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

Björn Ritzl ce36698a89 Updated multiple examples hai 5 meses
.github 58899f542c Add issue templates (#60) hai 10 meses
animation a438501bff Update basic_tween.png hai 6 meses
basics 06812e6b52 Updated basic-z example hai 6 meses
collection 412e4c5a2a Moved example.md hai 7 meses
debug 412e4c5a2a Moved example.md hai 7 meses
factory 7be482b2d5 Updated factory basic example hai 6 meses
file 412e4c5a2a Moved example.md hai 7 meses
gui 412e4c5a2a Moved example.md hai 7 meses
input 6d4f5ef1c5 Cleanup of examples hai 5 meses
material 6b87009271 Merge branch 'master' of https://github.com/defold/examples hai 6 meses
mesh 412e4c5a2a Moved example.md hai 7 meses
model 1dcde352a0 Update example.md hai 6 meses
movement ce36698a89 Updated multiple examples hai 5 meses
particles 412e4c5a2a Moved example.md hai 7 meses
physics 412e4c5a2a Moved example.md hai 7 meses
render d0f18fff9d Updated example with new graphics hai 6 meses
resource 412e4c5a2a Moved example.md hai 7 meses
sound 412e4c5a2a Moved example.md hai 7 meses
sprite a32fe2a15f Moved images hai 7 meses
tilemap 412e4c5a2a Moved example.md hai 7 meses
timer 412e4c5a2a Moved example.md hai 7 meses
.gitignore 42c2c08a3e Update .gitignore hai 6 meses
README.md 412e4c5a2a Moved example.md hai 7 meses

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.
    scripts: foobar.script
    ---
    
  • List any scripts your example uses in the scripts field of the file header