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

Artsiom Trubchyk fbb49d0377 Sort categories in the main menu (#50) il y a 10 mois
.github 303e5574ac Create trigger-site-rebuild.yml il y a 6 ans
assets 047aa7f001 Add orbit camera script (#51) il y a 11 mois
examples fbb49d0377 Sort categories in the main menu (#50) il y a 10 mois
input f0cca946bd Add screenspace example (#49) il y a 11 mois
.gitignore 36b4a8acc8 Ignore IntelliJ project files + cleanup il y a 6 ans
README.md 51cdf5d198 Update README.md il y a 1 an
all.texture_profiles d07ba3dd83 Added a progress bar example il y a 3 ans
game.project d590c2c975 New example: particlefx "confetti" (#44) il y a 11 mois

README.md

Defold examples

This repository includes the Defold examples application 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/foobar.collection with your example
  • Create examples/sprite/foobar/foobar.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

  • Add a new collection proxy in examples/_main/loader.go

  • Add a new entry in examples/_main/menu.gui_script