Asset portal projects access from Defold opening screen?

#1

Just a thing to consider - but maybe it’s a good idea to add some projects from Defold Asset Portal to the New Project -> From Sample or another Tab here?

If you would like this, vote here with :+1: :

4 Likes

#2

Good idea!
This sounds like a great opportunity for a community contribution!

2 Likes

#3

Is it? Any tips where to start biting it? :smiley:

1 Like

#4

As for where the code is, I believe it’s welcome.clj.

And, for the task itself, I’d start with creating a new tab in the dialog, and also create a function that can scrape all the templates from a webpage. Since the assets’ meta info is actually stored here, you can iterate over those, and then redirect to each repo, to see if they contain a game.project. If it does, it’s an “asset”.

As for getting started using Clojure, I think @markus.gustavsson and @vlaaad can help.

3 Likes

#5

And the actual content to show is here: https://github.com/defold/defold/blob/dev/editor/resources/welcome/welcome.edn

As a first step it could be a curated and hardcoded list instead of dynamically checking each asset.

3 Likes

#6

Ok, seems really easy to do with static content I could just put there. How can I build it then? Where to start?

1 Like

#7

Setup the engine: https://github.com/defold/defold/blob/dev/README_SETUP.md
Building the engine: https://github.com/defold/defold/blob/dev/README_BUILD.md
Setup and Building the editor: https://github.com/defold/defold/blob/dev/editor/README.md

You need to setup and be able to build both the engine and the editor.

2 Likes

#8

What is:

:skip-root? true

?

0 Likes

#9

Good question. The key seems unused. There are other things such as “duration” that isn’t used either.

1 Like