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

Pawel 6a8808218b Added interpolation example. (#148) 1 week ago
.github 867657ed93 Update trigger-site-rebuild.yml 9 months ago
animation d83f72031b Added example for animation states (#129) 4 months ago
basics af2892e3ef Added basic random numbers example. (#130) 4 months ago
collection afc14f2ec1 Added thumbnail for timestep example 2 weeks ago
debug 77cae1d047 Fixed physics debug example and added description regarding collection proxy and slowing time for debugging. (#136) 3 months ago
factory 9f6c06f43b Added spawn manager example 2 weeks ago
file 4cd0b58d53 load json as resource example (#126) 4 months ago
gui cebab747bf Revert "Fixed lua file references in localization example." 2 weeks ago
input 9491c3595f Refactor entity picking to use built-in camera API (#143) 4 weeks ago
material e9bc30285c Add repeating background example with scrolling texture (#144) 4 weeks ago
mesh c3d6c0217b Added textured mesh example 2 weeks ago
model 31cfe24382 Fixed materials 3 months ago
movement 25b8f0546b Fix quat_look_rotation (#140) 1 month ago
particles d7e3b9f499 Added example for particlefx emission space difference. (#128) 4 months ago
physics 6a8808218b Added interpolation example. (#148) 1 week ago
render 48ab1d4386 Updated screen to world 4 weeks ago
resource 68c0b60d3a Fixed input 7 months ago
sound 8d609fa77d Update example.md 7 months ago
sprite fcde5dc0eb Added sprite cursor example 6 months ago
tilemap 68c0b60d3a Fixed input 7 months ago
timer c48b3ded0d Added authors 9 months ago
.gitattributes 2e80e4a28b Create .gitattributes 5 months ago
.gitignore 42c2c08a3e Update .gitignore 11 months ago
LICENSE d3e669124c Create LICENSE 9 months ago
README.md 40c2a2c3b7 Update README.md 9 months ago
create_archives.py 4c2cc94494 Create create_archives.py 9 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