Attention: Here be dragons
This is the latest
(unstable) version of this documentation, which may document features
not available in or compatible with released stable versions of Godot.
Checking the stable version of the documentation...
Submitting to the Asset Store
Introdução
This tutorial aims to serve as a guide on how you can submit your own assets to the Godot Asset Store and share them with the Godot community.
As mentioned in the Using the Asset Store Website page, in order to be able to submit assets to the Asset Store, you need to have a registered account, and be logged in.
Diretrizes de submissão
Antes de enviar seu asset, certifique-se de que ele cumpre todos os requisitos e considere também seguir as recomendações.
Requisitos
Generally speaking, most assets people submit to the Asset Store are accepted. However, in order for your asset to be accepted, there are a few requirements it needs to meet to be approved.
O asset deve funcionar. Se o asset não rodar ou não funcionar na versão especificada do Godot, ele será rejeitado.
O asset deve ter um arquivo .gitignore adequado. É importante manter dados redundantes fora do repositório. Aqui está um modelo.
Sem submódulos, ou quaisquer submódulos devem ser não essenciais. O GitHub não inclui submódulos no arquivo ZIP baixado, portanto, se o asset precisar do conteúdo do submódulo, ele não funcionará.
The license needs to be correct. The license listed on the Asset Store must match the license in the repository. The repository must have a license file, called either "LICENSE" or "LICENSE.md". This file must contain the license text itself and a copyright statement that includes the year(s) and copyright holder.
Use Inglês adequado para o nome e a descrição do seu ativo. Isso inclui usar capitalização correta e usar frases completas na descrição. Você também pode incluir outros idiomas, mas deve haver pelo menos uma versão em inglês.
O link para o ícone precisa ser um link direto. Para links hospedados no GitHub, o link precisa começar com "raw.githubusercontent.com", não com "github.com".
Recomendações
These things are not required for your asset to be approved, but if you follow these recommendations, you can help make the asset store a better place for all users.
Ao criar assets que não são projetos inteiros, é prática comum colocar seus arquivos dentro de uma pasta addons/nome_do_asset/. Faça isso para evitar que seus arquivos entrem em conflito com outros assets ou com os arquivos dos usuários que estão instalando seu asset. Esta pasta não será gerada automaticamente quando um usuário instalar seu asset.
Corrija ou oculte todos os alertas do script. O sistema de alerta está lá para ajuda-lo a identificar problemas no seu código , porém, pessoas usando seus recursos não precisam vê-los.
Make your code conform to the official style guides. Having a consistent style helps other people read your code, and it also helps if other people wish to contribute to your asset. See the Guia de Estilo GDScript or the Guia de Estilo C#.
If you have screenshots in your repository, place them in their own subfolder and add an empty .gdignore file in the same folder (note: gd, not git). This prevents Godot from importing your screenshots. On Windows, open a command prompt in the project folder and run
type nul > .gdignoreto create a file whose name starts with a period.Se os recursos da sua biblioteca interagirem com outros arquivos, considere incluir arquivos de exemplo.
Consider adding a .gitattributes file to your repository. This file allows giving extra instructions to Git, such as specifying line endings and listing files not required for your asset to function with the
export-ignoredirective. This directive removes such files from the resulting ZIP file, preventing them from being downloaded by Asset Store users. These are common examples of .gitattributes:# Normalize line endings for all files that Git considers text files. * text=auto eol=lf
# Normalize line endings for all files that Git considers text files. * text=auto eol=lf # Only include the addons folder when downloading from the Asset Store. /** export-ignore /addons !export-ignore /addons/** !export-ignore
Se você estiver enviando um plugin, adicione uma cópia da sua licença e do readme na própria pasta do plugin. Esta é a pasta que os usuários com certeza manterão no projeto deles, portanto, uma cópia garante que eles sempre tenham esses arquivos à mão (e os ajuda a cumprir os termos da sua licença).
While the Asset Store allows more than just GitHub, consider hosting your asset's source code on GitHub. Other services may not work reliably, and a lack of familiarity can be a barrier to contributors.
Enviando
Once you are logged in, click on Upload Asset on the top right of the website. It will take you to the following page:
Here is a breakdown of each field:
Publisher: This is the public name associated with the asset. For example, the XR Tools asset has the publisher "Godot XR".
Publisher Name: The name of the new publisher you are creating.
Publisher URL Slug: how the publisher will appear in its link. For example, the XR Tools asset has the following URL:
https://store.godotengine.org/asset/godot-xr/godot-xr-tools/The publisher URL Slug in that is "godot-xr".
Asset Name: The name of your asset. Should be a unique, descriptive title of what your asset is.
Asset URL: How the asset will be named in its link. For example, the XR Tools asset has the following URL:
https://store.godotengine.org/asset/godot-xr/godot-xr-tools/The asset URL for that link is "godot-xr-tools".
After filling out those fields, agree to the terms of service after reading them, and click "Continue". You will be brought to the asset's management page, where you can edit almost everything about how it will appear on the store, as well as upload different versions.
Management pages
Visão geral
The overview tab lets you submit your asset for review. You can also view analytics including how many times it's been downloaded, page visits, and the number of people who have added it to their library.
You can also delete the asset at the bottom of the page from this tab.
Configurações
This tab is where you set up the following general information about your asset:
Asset Summary
Detailed description
Tags
Asset type (Full Project or Addon)
License
Link to source code
AI usage disclosure (This is mandatory if you use AI)
Media
The media tab is where you upload your thumbnail, screenshots, an image for the featured page if you want, and link to a YouTube video if you have one.
Versões
This is where you upload the actual asset files. For each version you upload you can give it a name, write a changelog, and specify the minimum Godot version (and maximum if applicable). There is also an additional information field for anything miscellaneous.
Each individual version has a maximum file size of 1GB.
Pricing
While paid assets can't be uploaded yet, there are some settings relevant to free assets. You can link to another website where you accept donations, such as Patreon or Ko-Fi. You can also disable reviews if you want (in the future paid assets will not have this option).
Submitting for review
Once you are done, press "Submit". Your asset will be entered into the review queue. You will be informed when your asset is reviewed. If it was rejected, you will be told why that may have been, and you will be able to submit it again with the appropriate changes.