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

Björn Ritzl 31cfe24382 Fixed materials 1 month ago
.github 867657ed93 Update trigger-site-rebuild.yml 6 months ago
animation d83f72031b Added example for animation states (#129) 1 month ago
basics af2892e3ef Added basic random numbers example. (#130) 1 month ago
collection c48b3ded0d Added authors 7 months ago
debug 77cae1d047 Fixed physics debug example and added description regarding collection proxy and slowing time for debugging. (#136) 1 month ago
factory 31500dde81 122 spawn with script properties (#124) 1 month ago
file 4cd0b58d53 load json as resource example (#126) 2 months ago
gui 68c0b60d3a Fixed input 5 months ago
input 88bfb413bd Add entity picking example (#90) 6 months ago
material b4dbf3ef75 Updated vertex color example to use new shaders. Fixed rapid clicking issue. (#123) 2 months ago
mesh 27b39a1f87 model vertex color fixes (#95) 4 months ago
model 31cfe24382 Fixed materials 1 month ago
movement 59f523597c Added basic 3D FPP example of movement and look around. (#131) 1 month ago
particles d7e3b9f499 Added example for particlefx emission space difference. (#128) 2 months ago
physics 97a83aee6a Cleaned up knockback example 5 months ago
render 06a5e933a6 Add world-to-screen example (#138) 1 month ago
resource 68c0b60d3a Fixed input 5 months ago
sound 8d609fa77d Update example.md 5 months ago
sprite fcde5dc0eb Added sprite cursor example 4 months ago
tilemap 68c0b60d3a Fixed input 5 months ago
timer c48b3ded0d Added authors 7 months ago
.gitattributes 2e80e4a28b Create .gitattributes 3 months ago
.gitignore 42c2c08a3e Update .gitignore 9 months ago
LICENSE d3e669124c Create LICENSE 6 months ago
README.md 40c2a2c3b7 Update README.md 6 months ago
create_archives.py 4c2cc94494 Create create_archives.py 6 months ago

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.
    author: Defold Foundation
    scripts: foo.script, bar.script
    thumbnail: myimage.png
    ---
    
  • List any scripts your example uses in the scripts field of the file header

  • The thumbnail image will be used on https://defold.com/examples