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

Paweł Jarosz ec19f2e936 Added pendulum example with two joints type: fixed and spring and a possibility to change gravity. Changed instruction label in hinge_joint example. vor 3 Jahren
.github 303e5574ac Create trigger-site-rebuild.yml vor 6 Jahren
assets 67915aa51d Panning example changes vor 4 Jahren
examples ec19f2e936 Added pendulum example with two joints type: fixed and spring and a possibility to change gravity. Changed instruction label in hinge_joint example. vor 3 Jahren
input 629267225a Changed from "click" to "touch" to better map with template projects vor 6 Jahren
.gitignore 36b4a8acc8 Ignore IntelliJ project files + cleanup vor 6 Jahren
README.md 3b2acf5fc2 Added instructions vor 4 Jahren
game.project bb39c96ccd Trying no scale vor 6 Jahren

README.md

Defold examples

This repository includes the Defold examples application used in the examples section on https://defold.com/examples/basics/simple_move/

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