Instead of storing all levels and collections inside a single folder called levels
, we now store levels inside the levels
folder, and the collections inside a folder called collections
.
levels
folderThis folder stores all the levels visible in-game, including the levels referenced by collections (if there are any).
A valid level is a folder containing at least an audio track and a maidata.txt
file.
<aside>
<img src="/icons/report_orange.svg" alt="/icons/report_orange.svg" width="40px" /> There should only be levels inside the levels
folder. If a collection is placed inside levels
, it will be skipped.
</aside>
collections
folderThis folder stores all the collections visible in-game.
A valid collection is a folder containing at least a manifest.json
file.
manifest.json
describes the basic information used by a collection. Here’s a template:
{
"name": "My AstroDX Collection", // The in-game display name of this collection.
"levelIds": [] // A list of levels contained in this collection.
}
This describes a collection connected to a few levels. In the future, it’ll also be possible to connect a collection to a URL for content updates.
levelIds
describes a list of levels that make up this collection. In this case, each element inside this array is the folder name of the level you want to reference.