Defold Example Projects
#defold #sample #example #gamedev #starter #template
|
1 年間 前 | |
---|---|---|
.github | 6 年 前 | |
assets | 1 年間 前 | |
examples | 1 年間 前 | |
input | 3 年 前 | |
.gitignore | 6 年 前 | |
README.md | 4 年 前 | |
all.texture_profiles | 3 年 前 | |
game.project | 1 年間 前 |
This repository includes the Defold examples application used in the examples section on https://defold.com/examples/basics/simple_move/
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:
foobar
in examples/sprite
examples/sprite/foobar/foobar.collection
with your exampleCreate 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