Documentation Home

Level Pack Description

Level Packs are defined by a Level Pack Description asset. This asset defines the scenes that are part of the level pack, and the properties of the level pack. A Unity project can have multiple Level Pack descriptions in it.

Settings:

Exporting and Testing

To export your level pack, select the Level Pack Description asset and press the Export Level Pack button. This will produce a folder containing a JSON file, XML files, and any optional icons. Do not edit these files, as this can break their internal logic and prevent proper loading.

IMPORTANT! If there are errors during export, they will be logged in the Unity editor Console. The console can be opened via the main menu bar: Window > General > Console.

Exported level packs must be placed inside a specific folder for Tankken to be able to read them.

If in doubt, press the Open Level Pack Folder button in the in-game Level Pack chooser dialog, which can be opened from the game's main menu. This will open a file browser window pre-set to the correct location.

Publishing and Playing Online

Publishing level packs is very simple. Just create a zip file and give it to your friends, or host it on a website for download. Note that Tankken does not support loading level packs from zip files, so you'll need to unzip level packs you download before you can play them.

When playing online, only the host of the online lobby needs to have the level pack downloaded. Tankken will stream the level pack data to all connected clients as-needed.