How to install and play Defold templates

Hi I’m completely new to Defold and I want to try some of the templates and have a quick play about with them.

I looked at this one example;

And it says " This asset can be added as a library dependency in your project:"

I’ve tried doing that:


And then fetching libraries but noting is happening, how do I get this to work or is there an easier way of installing and playing the games these templates provide.

The war battles asset pack is just that, an asset pack (textures, fx, fonts etc). It is not a game you can play.
After you fetched this lib it became part of your project. Look at the assets pane, you should see a def-war-battles folder.

1 Like

And the actual tutorial is here: War battles tutorial

1 Like

Thank you I was hoping this was a mini-completed game that I could play to get a feel of how things work etc, I will work through the tutorial at some point.

However I think it’s still worth mentioning I was unable to fetch the files directly from Github using the library dependency which I think is worth understanding in case I want to work with other projects from Git in the future.

This without quotes in project-dependencies:
https://github.com/defold/defold-examples/releases/download/0.2.0/war-battles.zip
Then do project-fetchLibraries.
This adds ‘def war battles’ to your project.
Howto: Working with library projects in Defold

You can also clone the repository (https://github.com/defold/defold-examples/tree/master/war-battles) and run that.