Skip to content
Snippets Groups Projects

Add missing doc on layer properties; small fixes

2 files
+ 38
14
Compare changes
  • Side-by-side
  • Inline

Files

+ 19
8
@@ -249,20 +249,28 @@ You can embed websites, which will open when upon stepping on predefined tiles.
Same as for start and exit layers, add a layer, place tiles at the desired
positions, and then set the property `openWebsite` (type string). Use https!
In general we recommend also setting the property `openWebsiteTrigger` to
`onaction`, which will cause the web site to open only after explicit user
interaction (a press on the space bar), which makes visiting the world much
easier on older laptops.
You can also set a custom message to be displayed where setting the
`openWebsiteTriggerMessage` property (which will overwrite the default "Press
SPACE or touch here to open web site").
![](img/cp_openwebsite.png)
Also not that websites which are outside of rC3 will be automatically prefixed
Also note that websites which are outside of rC3 will be automatically prefixed
with a dereferrer, which will alert visitors that they are now "leaving the
event area".
### Embedding jitsi
### Embedding Jitsi
You can embed Jitsi rooms in the same way. Simply set the custom property
`jitsiRoom` (type string) and assign it the name of your jitsi room as its value.
`jitsiRoom` (type string) and assign it the name of your Jitsi room as its value.
![](img/cp_jitsiroom.png)
To avoid unintentional collisions between different assemblies (e.g. so that
everyone can define their own "hackcenter") names of jitsi rooms are local to
everyone can define their own "hackcenter") names of Jitsi rooms are local to
your own assembly. If you want to share a room with a different assembly, just
prefix its name with `shared-`.
@@ -270,12 +278,12 @@ In general we recommend also setting the property `jitsiTrigger` to `onaction`,
which will cause the room to open only after explicit user interaction (a press
on the space bar), which makes visiting the world much easier on older laptops
and prevents people accidentally stumbling into your session. You can also set
a custom message to be displayed where the jitsi can be opened by setting the
`jitsiTriggerMessage` property (which will overwrite the default "press SPACE
to open jitsi meet").
a custom message to be displayed where the Jitsi can be opened by setting the
`jitsiTriggerMessage` property (which will overwrite the default "Press SPACE
or touch here to enter Jitsi Meet room").
### Embedding Big Blue Button
This works essentially the same as with jitsi: set `bbbRoom` to your room's name,
This works essentially the same as with Jitsi: set `bbbRoom` to your room's name,
and `bbbTrigger` along with `bbbTriggerMessage` to prevent the room from popping
open unexpectedly.
@@ -332,6 +340,9 @@ on their tiles. Only mp3 files included via a path relativ to your map are
supported. External files can not be included. If you want to include streams,
please write an email to [world@rc3.world](mailto:world@rc3.world). If you want
the audio to also loop, additionally set `audioLoop` (type boolean) to `true`.
To reduce playback volume, you can set `audioVolume` (type float) to a value
between `0.0` (0%) and `1.0` (100%). Users can also set a maximum volume. In this
case the lower value will be used.
![](img/cp_playaudio.png)
Loading