using_assetlib.rst 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201
  1. .. _doc_using_assetlib:
  2. Using the Asset Library
  3. =======================
  4. On the website
  5. --------------
  6. Overview
  7. ~~~~~~~~
  8. As mentioned before, you can access the web frontend of the Asset Library on
  9. `Godot's official website <https://godotengine.org/asset-library/asset>`_.
  10. This is what it looks like when you first visit it:
  11. |image0|
  12. At the top, you see the **header**, which takes you to various other parts of the
  13. AssetLib - at the moment, it's empty, as we are not logged in.
  14. Searching
  15. ~~~~~~~~~
  16. In the left sidebar is the **search bar + settings** section, and the
  17. **assets** section takes up the main content area on the right. Below
  18. the search bar, you can filter assets by **category** (such as 2D tools,
  19. scripts and demos), **support level**, **engine version**, and **license**.
  20. You can also change the **sorting order** to sort by license, name, or
  21. update date.
  22. While most other filter settings should be fairly self-explanatory, it's worth
  23. going over what "support level" means in the Asset Library.
  24. Currently there are three support levels, and each asset can belong to only one.
  25. **Featured** assets are hand-picked resources recognized for their value to the community.
  26. **Community** assets are submitted and maintained by the members of the
  27. Godot community.
  28. **Testing** assets are works-in-progress, and may contain bugs and usability
  29. issues. They are not recommended for use in serious projects, but you are
  30. encouraged to download, test them, and submit issues to the original authors.
  31. You can mix and match any of the search filters and criteria, and upon clicking
  32. the Search button, receive the list of all assets in the Library that match them.
  33. |image1|
  34. Note that the search results are not updated in real-time, so you will have to
  35. re-submit the search query each time you change the query settings.
  36. Breakdown of an asset
  37. ~~~~~~~~~~~~~~~~~~~~~
  38. Now let's take a look at what an asset's page looks like and what it contains.
  39. |image2|
  40. 1. Asset's thumbnail/icon.
  41. 2. Asset's name.
  42. 3. Current version number of the asset.
  43. 4. Asset's category, Godot version, and support status.
  44. 5. Asset's original author/submitter.
  45. 6. The license the asset is distributed under.
  46. 7. The date of the asset's latest edit/update.
  47. 8. A textual description of the asset.
  48. 9. Links related to the asset (download link, file list, issue tracker).
  49. 10. Images and videos showcasing the asset.
  50. Registering and logging in
  51. ~~~~~~~~~~~~~~~~~~~~~~~~~~
  52. In order to upload assets to the AssetLib, you need to be logged in, and to do
  53. that, you need a registered user account. In the future, this may also give you
  54. access to other features, such as commenting on or rating the existing assets.
  55. You do *not* need to be logged in to browse and download the assets.
  56. The login/registration page can be accessed from the AssetLib header.
  57. |image3|
  58. From here, you can register your account, which requires a valid email address,
  59. a username, and a (preferably strong) password.
  60. |image4|
  61. Then, you can use your username and password to log in.
  62. |image5|
  63. This will change the look of the AssetLib header. Now you get access to a handful of
  64. new functions:
  65. - The feed, which shows a list of status updates on your submitted assets (and possibly more in the future).
  66. - A list of your uploaded assets.
  67. - The ability to submit new assets.
  68. |image6|
  69. You can learn how to submit assets to the Library, and what the asset submission
  70. guidelines are, in the next part of this tutorial, :ref:`doc_submitting_to_assetlib`.
  71. .. _doc_using_assetlib_editor:
  72. In the editor
  73. -------------
  74. .. note::
  75. The editor will display different categories of assets depending on whether
  76. you're browsing the Project Manager's **Asset Library Projects** tab or the editor's
  77. **AssetLib** tab.
  78. The Project Manager's **Asset Library Projects** tab will only display assets that are
  79. standalone projects by themselves. This is denoted on the asset library with
  80. the *Templates*, *Demos* and *Projects* categories.
  81. The editor's **AssetLib** tab will only display assets that are *not* standalone
  82. projects by themselves. In other words, it will display assets from all
  83. categories except *Templates*, *Demos* and *Projects*.
  84. You can also access the AssetLib directly from Godot:
  85. |image7|
  86. |image14|
  87. Click on it, and Godot will fetch info about the assets from the AssetLib. Once
  88. it's finished, you will see a window similar to what the AssetLib website looks
  89. like, with some differences:
  90. |image8|
  91. Similarly to the web version of the AssetLib, here you can search
  92. for assets by category, name, and sort them by factors such as name or edit date.
  93. Notably, you can only fetch assets for the current version of Godot you are running.
  94. Projects, Demos and Templates can be downloaded from the Project Manager
  95. view of the AssetLib. Addons (tools, scripts, materials etc.) can be downloaded from
  96. the in-project AssetLib and added to the current project.
  97. In addition, unlike when using the web frontend, the search results are updated
  98. in real-time (you do not have to press Search after every change to your search
  99. query for the changes to take place).
  100. In the future, you will be able to choose a different AssetLib provider to fetch
  101. assets from (using the Site dropdown menu), however currently only the official
  102. `Godot website <https://godotengine.org>`_ version of the AssetLib is supported,
  103. as well as the version that may be running on your local machine's web server
  104. (the localhost option).
  105. When you click on an asset, you will see more information about it.
  106. |image9|
  107. If you click on the Install button, Godot will fetch an archive of the asset,
  108. and will track download progress of it at the bottom of the editor window. If
  109. the download fails, you can retry it using the Retry button.
  110. |image10|
  111. When it finishes, you can proceed to install it using the Install button.
  112. This will bring up the Package Installer window.
  113. |image11|
  114. Here you can see a list of all the files that will be installed. You can tick off
  115. any of the files that you do not wish to install, and Godot will also inform you
  116. about any problems with files that it cannot install. These files will be shown
  117. in red, and hovering over them will show you a message stating why it cannot be
  118. installed.
  119. |image12|
  120. Once you are done, you can press the Install button, which will unzip all the
  121. files in the archive, and import any assets contained therein, such as images or
  122. 3D models. Once this is done, you should see a message stating that the Package
  123. installation is complete.
  124. |image13|
  125. You may also use the Import button to import asset archives obtained
  126. elsewhere (such as downloading them directly from the AssetLib web frontend),
  127. which will take you through the same package installation procedure as with the
  128. assets downloaded directly via Godot that we just covered.
  129. .. |image0| image:: img/assetlib_website.webp
  130. .. |image1| image:: img/assetlib_search.webp
  131. .. |image2| image:: img/assetlib_asset.webp
  132. .. |image3| image:: img/assetlib_register-login.webp
  133. .. |image4| image:: img/assetlib_register.webp
  134. .. |image5| image:: img/assetlib_login.webp
  135. .. |image6| image:: img/assetlib_login_header.webp
  136. .. |image7| image:: img/assetlib_editor_workspace.png
  137. .. |image8| image:: img/assetlib_editor.png
  138. .. |image9| image:: img/assetlib_editor_asset.png
  139. .. |image10| image:: img/assetlib_editor_download.png
  140. .. |image11| image:: img/assetlib_editor_installer.png
  141. .. |image12| image:: img/assetlib_editor_installer_error.png
  142. .. |image13| image:: img/assetlib_editor_installer_success.png
  143. .. |image14| image:: img/assetlib_editor_projects.webp