more docs changes

This commit is contained in:
Piotr 'pwh' Hanusiak 2022-04-12 15:43:32 +02:00
parent a71d29d997
commit ce1961e34e
4 changed files with 15 additions and 3 deletions

View File

@ -16,6 +16,9 @@ In order to create Jitsi meet zones:
You can have this object (i.e. your meeting area) to be selectable as the precise location for your meeting using the [Google Calendar integration for Work Adventure](/integrations/google-calendar). To do so, you must set the `meetingRoomLabel` property. You can provide any name that you would like your meeting room to have (as a string). You can have this object (i.e. your meeting area) to be selectable as the precise location for your meeting using the [Google Calendar integration for Work Adventure](/integrations/google-calendar). To do so, you must set the `meetingRoomLabel` property. You can provide any name that you would like your meeting room to have (as a string).
{.alert.alert-info}
As an alternative, you may also put the `jitsiRoom` properties on a layer (rather than putting them on an "area" object)
## Triggering of the "Jitsi meet" action ## Triggering of the "Jitsi meet" action
By default, Jitsi meet will open when a user enters the area defined on the map. By default, Jitsi meet will open when a user enters the area defined on the map.

View File

@ -20,6 +20,9 @@ In order to create a zone that opens websites:
A website can explicitly forbid another website from loading it in an iFrame using A website can explicitly forbid another website from loading it in an iFrame using
the [X-Frame-Options HTTP header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options). the [X-Frame-Options HTTP header](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options).
{.alert.alert-info}
As an alternative, you may also put the `openWebsite` properties on a layer (rather than putting them on an "area" object)
## Integrating a Youtube video ## Integrating a Youtube video
A common use case is to use `openWebsite` to open a Youtube video. A common use case is to use `openWebsite` to open a Youtube video.

View File

@ -13,6 +13,9 @@ In order to create a silent zone:
* Object must be of type "`area`" * Object must be of type "`area`"
* In object properties, you MUST add a boolean "`silent`" property. If the silent property is checked, the users are entering the silent zone when they walk on the area. * In object properties, you MUST add a boolean "`silent`" property. If the silent property is checked, the users are entering the silent zone when they walk on the area.
{.alert.alert-info}
As an alternative, you may also put the `silent` property on a layer (rather than putting them on an "area" object)
## Playing sounds or background music ## Playing sounds or background music
Your map can define special zones where a sound or background music will automatically be played. Your map can define special zones where a sound or background music will automatically be played.
@ -27,3 +30,6 @@ In order to create a zone that triggers sounds/music:
{.alert.alert-info} {.alert.alert-info}
"`playAudioLoop`" is deprecated and should not be used anymore. "`playAudioLoop`" is deprecated and should not be used anymore.
{.alert.alert-info}
As an alternative, you may also put the `playAudio` properties on a layer (rather than putting them on an "area" object)

View File

@ -87,11 +87,11 @@ Repeat for every tile that should be "collidable".
In the next sections, you will see how you can add behaviour on your map by adding "properties". In the next sections, you will see how you can add behaviour on your map by adding "properties".
You can add properties for a variety of features: putting exits, opening websites, meeting rooms, silent zones, etc... You can add properties for a variety of features: putting exits, opening websites, meeting rooms, silent zones, etc...
You can add properties either on individual tiles of a tileset OR on a complete layer. You can add properties either on individual tiles of a tileset, on Tiled object OR on a complete layer.
If you put a property on a layer, it will be triggered if your Woka walks on any tile of the layer. If you put a property on a object or layer, it will be triggered if your Woka walks on object area / any tile of the layer.
The exception is the "collides" property that can only be set on tiles, but not on a complete layer. The exception is the "collides" property that can only be set on tiles, but not on an object or on complete layer.
## Insert helpful information in your map ## Insert helpful information in your map