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

Björn Ritzl e2e384f8cf Wrong image link 4 ماه پیش
.github 58899f542c Add issue templates (#60) 10 ماه پیش
animation a438501bff Update basic_tween.png 5 ماه پیش
basics 06812e6b52 Updated basic-z example 5 ماه پیش
collection 412e4c5a2a Moved example.md 7 ماه پیش
debug 412e4c5a2a Moved example.md 7 ماه پیش
factory e2e384f8cf Wrong image link 4 ماه پیش
file 412e4c5a2a Moved example.md 7 ماه پیش
gui 412e4c5a2a Moved example.md 7 ماه پیش
input 6d4f5ef1c5 Cleanup of examples 5 ماه پیش
material 6b87009271 Merge branch 'master' of https://github.com/defold/examples 6 ماه پیش
mesh 412e4c5a2a Moved example.md 7 ماه پیش
model 5c8eb726de Update player.script 5 ماه پیش
movement d5b6e3d905 Cleaned up move forward example 5 ماه پیش
particles 412e4c5a2a Moved example.md 7 ماه پیش
physics 412e4c5a2a Moved example.md 7 ماه پیش
render d0f18fff9d Updated example with new graphics 5 ماه پیش
resource 412e4c5a2a Moved example.md 7 ماه پیش
sound 8d14e1d57a Cleanup music example 5 ماه پیش
sprite f6678c339a Added change image example for sprite 5 ماه پیش
tilemap 412e4c5a2a Moved example.md 7 ماه پیش
timer 412e4c5a2a Moved example.md 7 ماه پیش
.gitignore 42c2c08a3e Update .gitignore 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