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

Björn Ritzl 2027efc493 Update get_set_material.script 2 tháng trước cách đây
.github 867657ed93 Update trigger-site-rebuild.yml 4 tháng trước cách đây
animation db328ada7f Added thumbnails 3 tháng trước cách đây
basics c48b3ded0d Added authors 4 tháng trước cách đây
collection c48b3ded0d Added authors 4 tháng trước cách đây
debug c48b3ded0d Added authors 4 tháng trước cách đây
factory c48b3ded0d Added authors 4 tháng trước cách đây
file c48b3ded0d Added authors 4 tháng trước cách đây
gui 2027efc493 Update get_set_material.script 2 tháng trước cách đây
input 88bfb413bd Add entity picking example (#90) 4 tháng trước cách đây
material ae87837ec1 Added Sprite Local UV example 3 tháng trước cách đây
mesh a7897a3fd4 Removed unused files from triangle example 3 tháng trước cách đây
model 6fe16106d5 Refactor projects with the unlit material (#89) 4 tháng trước cách đây
movement c48b3ded0d Added authors 4 tháng trước cách đây
particles c48b3ded0d Added authors 4 tháng trước cách đây
physics c48b3ded0d Added authors 4 tháng trước cách đây
render 227b712808 Update bee.script 3 tháng trước cách đây
resource c48b3ded0d Added authors 4 tháng trước cách đây
sound f1db1de1d4 Update game.project 3 tháng trước cách đây
sprite 7293f76aca Update example.md 3 tháng trước cách đây
tilemap c48b3ded0d Added authors 4 tháng trước cách đây
timer c48b3ded0d Added authors 4 tháng trước cách đây
.gitignore 42c2c08a3e Update .gitignore 6 tháng trước cách đây
LICENSE d3e669124c Create LICENSE 4 tháng trước cách đây
README.md 40c2a2c3b7 Update README.md 4 tháng trước cách đây
create_archives.py 4c2cc94494 Create create_archives.py 4 tháng trước cách đây

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