Public Defold Examples

This is a collection of several small examples for the Defold game engine. Most examples are created in response to questions on the Defold forum.

Live examples

See some of the examples live at the demo site:

How to try the examples yourself

Each example is located in a subfolder of the examples folder. Each example is fully self-contained with a game.project file, input bindings and all assets.

Editor 2

You can try the examples yourself by downloading, cloning or forking this repository to a location on disk. Open the editor and select to open project From Disk:

Select the game.project file of the example you wish to open.

Editor 1

You can try the examples yourself by downloading, cloning or forking this repository to a location on disk. Once this is done you can copy the files of the example you wish to test to an existing Defold project. It is recommended that you create an empty Defold project from the dashboard and copy the files into that project (take care to not remove the .git folder!)

This approach is described in detail by forum user h3annawill in this excellent video tutorial:

Video tutorial

License

The examples are released under the same Terms and Conditions as the Defold editor and service itself.

Credits

Assets by Kenney