Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added add-on creator #1890

Merged
merged 4 commits into from
Nov 16, 2021
Merged

Added add-on creator #1890

merged 4 commits into from
Nov 16, 2021

Conversation

Semphriss
Copy link
Member

@Semphriss Semphriss commented Nov 14, 2021

It is now possible to pack a world or a levelset as an add-on zip archive automatically, form inside the game.

Features:

  • Create an add-on automatically from an option in the editor menu; no user input needed.
  • Add-on generated as a full, ready-to-ship zip archive in the addons folder.
  • Automatically finds the necessary data to fill the .nfo file.
  • Versioning system: Packaging the same add-on multiple times increases the version number automatically.

Flaws and shortcomings:

  • Author and license for the add-on automatically set to be the same as the level from which the option is called, which might not be consistent/compatible with other licenses if many assets.
  • Does not seek for files outside the world's folder; images and other assets will not be packaged if they are not located within levels/<world-id>/.

Closes #717

@tobbi
Copy link
Member

tobbi commented Nov 14, 2021

#717

@tobbi tobbi merged commit 100bc05 into SuperTux:master Nov 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Export to add-on option for the editor
2 participants