Welcome to the Defold examples repo. Here you find a variety of Defold projects that you can use for study or as a base for your own work. If you want to scavenge them for assets that's fine too.
How am I allowed to use these assets?
All assets are free to use as you wish, commercially or non-commercially. We encourage some attribution to the artist.
The license for the "Alien World", "War Battles", "Ocean Commotion", "Magic Link" and "Runner" projects can be found at http://www.defold.com/about-terms/#licence (section 5).
The "Examples" project contains assets from http://kenney.nl/ that public domain (Creative Commons Zero) licensed. See https://creativecommons.org/publicdomain/zero/1.0/
How do I include the assets in my projects?
If you are not comfortable using Git, you can download any of the examples separately in a zip archive.
- Create a new project in Defold and open it in the editor
- Right-click "game.project" in the Project Explorer and select Show in Finder (Mac) or Show in Explorer (PC)
- Download and unpack the examples archive you want
- Drag the contents of the archive to the location of the new project in the Finder/Explorer and replace the files in the project
- The editor will pick up the new files and you are ready to go
Alternatively you can add a project as a library dependency in a project. Add the zip url to the "dependencies" in the project section in "game.project".
If you have any questions about these examples, please don't hesitate to visit the Defold forum.
Alien World is a complete game art pack to make a fantastic sci-fi platform metroidvania game in the style of the 16-bit console era. It includes everything you need, from seamless loopable backgrounds, tillable sprites, sci-fi props, some fearful enemies, mysterious NPC’s and of course a Daring Hero.
Download or library use: https://github.com/defold/defold-examples/releases/download/0.2.0/alien-world.zip
War Battles is a complete game art pack to make a sci-fi RTS game in the style of the 16-bit console era. It includes everything you need, from environment tilemaps, unit sprites, resource sprites, HUD elements, icons and effects.
Download or library use: https://github.com/defold/defold-examples/releases/download/0.2.0/war-battles.zip
A test-bed for toying with match-3 game mechanics. It is currently partially modelled after "Candy Crush" with implementation of a few boosters and a bomb.
Download or library use: https://github.com/defold/defold-examples/releases/download/0.2.0/ocean-commotion.zip
A simple game where the goal is to connect a set of magic spheres. Remove adjacent bricks of the same color to create space for the spheres to move.
There is a tutorial on how to build this game step by step from scratch at http://www.defold.com/tutorials/magic-link/
Download or library use: https://github.com/defold/defold-examples/releases/download/0.2.0/magic-link.zip
A barebones runner game where the goal is to jump on platforms and collect as many coins as possible.
There is a tutorial on how to build this game step by step from scratch at http://www.defold.com/tutorials/getting-started/
Download or library use: https://github.com/defold/defold-examples/releases/download/0.2.0/runner.zip
A handful of isolated examples showcasing various aspects of the Defold engine.
Graphics by Kenney web: http://kenney.nl