adding map properties to documentation

* screenshot of the result of the map properties
* first try at documenting map properties
This commit is contained in:
TabascoEye 2021-12-08 16:41:22 +01:00 committed by GitHub
parent 15bdb0eb56
commit 0cb17c7fd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 16 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 130 KiB

View file

@ -92,3 +92,19 @@ You can add properties either on individual tiles of a tileset OR on a complete
If you put a property on a layer, it will be triggered if your Woka walks on any tile of the layer.
The exception is the "collides" property that can only be set on tiles, but not on a complete layer.
## Insert helpful information in your map
By setting properties on the map itself, you can help visitors know more about the creators of the map.
The following *map* properties are supported:
* `mapName` (string)
* `mapDescription` (string)
* `mapCopyright` (string)
And *each tileset* can also have a property called `tilesetCopyright` (string).
Resulting in a "credit" page in the menu looking like this:
![](images/mapProperties.png){.document-img}