0 votes

In the Source and Stuff does anybody know the whereabouts of where i can change this so if say i wanted to connect to my own database and download templates and such i would be able to set it in the Source Code? and where could i find said file in the source files?

asked Jun 20, 2016 in Engine by The_Duskitty (494 points)

1 Answer

+2 votes
Best answer

It took me a while to understand the question, but I guess you're asking how to setup your own asset library and connect it to Godot.

To add a new repository, for the time being, you have to edit this file: https://github.com/godotengine/godot/blob/master/tools/editor/asset_library_editor_plugin.cpp#L1323-L1326
In the future it should be possible to add repos without having to compile the engine.

As to setting up your own instance, you need to expose an API that can talk to Godot. There is no official documentation yet as to how to do it, but you can check the code of the official asset library: https://github.com/godotengine/asset-library

answered Jun 20, 2016 by Akien (1,865 points)
selected Jun 21, 2016 by The_Duskitty

Thanks ^^ I was curious how i would be able to do this, i'll be sure to look into it

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.