title: Editor templates
You can add your own custom project templates to the New Project window:
In order to add one or more new tabs with custom project templates you need to add a welcome.edn
file in the .defold
folder in your user home directory:
.defold
in your user home directory.
C:\Users\**Your Username**\.defold
/Users/**Your Username**/.defold
~/.defold
welcome.edn
file in the .defold
folderThe welcome.edn
file uses the Extensible Data Notation format. Example:
{:new-project
{:categories [
{:label "My Templates"
:templates [
{:name "My project"
:description "My template with everything set up the way I want it."
:image "empty.svg"
:zip-url "https://github.com/britzl/template-project/archive/master.zip"
:skip-root? true},
{:name "My other project"
:description "My other template with everything set up the way I want it."
:image "empty.svg"
:zip-url "https://github.com/britzl/template-other-project/archive/master.zip"
:skip-root? true}]
}]
}
}
This will create the list of templates seen in the screenshot above.
::: sidenote You can only use the template images bundled with the editor. :::