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

Jhonny Göransson b8dfbc059c Merge branch 'master' into dev-cubemap-reflection hace 9 meses
.github 58899f542c Add issue templates (#60) hace 10 meses
assets c251282203 Add look rotation example (#55) hace 10 meses
examples b8dfbc059c Merge branch 'master' into dev-cubemap-reflection hace 9 meses
input a6fe172095 Added cubemap example hace 11 meses
.gitignore f14ac06dcb Misc cleanup hace 9 meses
README.md 51cdf5d198 Update README.md hace 1 año
all.texture_profiles d07ba3dd83 Added a progress bar example hace 3 años
game.project 4b3c772a72 Update spine version to 3.5.3 (#58) hace 10 meses

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