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

Björn Ritzl 3902fef59b Update example.md 6 月之前
.github 58899f542c Add issue templates (#60) 10 月之前
animation 412e4c5a2a Moved example.md 7 月之前
basics 412e4c5a2a Moved example.md 7 月之前
collection 412e4c5a2a Moved example.md 7 月之前
debug 412e4c5a2a Moved example.md 7 月之前
factory 788f1887e3 Cleanup of dynamic example 7 月之前
file 412e4c5a2a Moved example.md 7 月之前
gui 412e4c5a2a Moved example.md 7 月之前
input 412e4c5a2a Moved example.md 7 月之前
material 412e4c5a2a Moved example.md 7 月之前
mesh 412e4c5a2a Moved example.md 7 月之前
model 412e4c5a2a Moved example.md 7 月之前
movement 412e4c5a2a Moved example.md 7 月之前
particles 412e4c5a2a Moved example.md 7 月之前
physics 412e4c5a2a Moved example.md 7 月之前
render 412e4c5a2a Moved example.md 7 月之前
resource 412e4c5a2a Moved example.md 7 月之前
sound 412e4c5a2a Moved example.md 7 月之前
sprite 3902fef59b Update example.md 6 月之前
tilemap 412e4c5a2a Moved example.md 7 月之前
timer 412e4c5a2a Moved example.md 7 月之前
.gitignore e12906523e Added sprite samplers example 6 月之前
README.md 412e4c5a2a Moved example.md 7 月之前

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