diff --git a/Design-Doc%3A-%60level%60-tool.md b/Design-Doc%3A-%60level%60-tool.md index 42005b9..e102c97 100644 --- a/Design-Doc%3A-%60level%60-tool.md +++ b/Design-Doc%3A-%60level%60-tool.md @@ -7,3 +7,12 @@ This document details some approaches for implementing the `level` tool. # What is `level`? `level` is a tool for reskit that converts [Tiled Map Editor](https://www.mapeditor.org/) tilesets and maps to a binary format accessible to C or assembly language engines. It distinguishes itself from other available homebrew tools by offering support for Tiled's native tmx/tsx XML formats, and user-specified event objects (e.g. "drop enemy", "open door") that your custom engine can read and apply. + +# Events +By adding an object layer and object in Tiled, and adding the property `reskit-event`, you can define an event triggered in certain scenarios depending on additional `reskit-*` properties. + +| Object Property | Description | +|-------------------------|--------------------------------------------------------------------------------------------------------| +| reskit-event | String. Defines an event type to use (see Event Types) | +| reskit-character | String. Target character defined for a particular event type | +