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

Jonas Thurfors 36b4a8acc8 Ignore IntelliJ project files + cleanup vor 6 Jahren
assets fed4df388b Added z-order sprites example. vor 7 Jahren
examples 03388d6b77 Update bunny2.script vor 6 Jahren
input ded1f200a4 Initial commit. vor 8 Jahren
.gitignore 36b4a8acc8 Ignore IntelliJ project files + cleanup vor 6 Jahren
README.md 7c9f3e658f Fixed link in README. vor 8 Jahren
game.project e285b6c57c Changed package name vor 7 Jahren
gulpfile.js 86b96f809e Minor fix to pointer over example. Gulp fix. vor 7 Jahren
package-lock.json d53ba95e4f The package lock file should apparently go into git. vor 7 Jahren
package.json 86b96f809e Minor fix to pointer over example. Gulp fix. vor 7 Jahren
publish.sh 0647f26351 Added random images to our own cdn to prevent mishaps with image loading example. vor 7 Jahren

README.md

Defold examples

This repository includes the Defold examples application and the tools used to explode the app to the examples section on https://www.defold.com/examples

Dependencies

Node.js and Gulp:

$ brew install node
$ npm install gulp-cli -g
$ npm install

Edit and preview

$ gulp watch

Builds all documentation for preview and opens a browser pointing to the build root. Edits to any .md manual or image is detected, rebuilt and reloaded in browser.

Build and publish

$ ./publish_sh

Builds the HTML5 application with "bob". Publishing documentation to GCS is done with the gsutil which is part of the Google Cloud SDK. It's automatically installed if needed.