guide

Teleporter

Simple teleporter that links to an external site (in this case, a networked-aframe example) when you walk over it.

00
1256
12/16/2018

Light Shadow2


00
1582
04/02/2018

Lamp

Lamp using the AppendChild script

00
1775
04/02/2018

Lightswitch

Simple on / off switch for a light.

https://vesta.janusxr.org/files/guide/javascript/lamp/LightSwitch.js
#javascript

00
1793
04/02/2018

Room Template

To help users quickly begin building, JanusVR offers "template rooms", which are geometry that can be used to define a structure and boundary for a Room.
See graphic: http://janusvr.com/docs/build/roomtag/img/templates.png

use_local_asset - By entering any of the strings from the above image as a value, the associated default room geometry will be used.
visible - (default "true") Whether or not the default room geometry is visible.

http://janusvr.com/docs/build/roomtag/index.html#Room

00
1638
03/31/2018

Particle

Particle creates a particle system, where each particle is most often a quad rotated to face the user, but each particle can be any kind of geometry defined by specifying an AssetObject. To set the texture for the quad, set the image_id attribute. To specify geometry other than a quad to use for each particle, specify the id attribute which matches an AssetObject. For each particle, it's initial position, velocity, acceleration, colour and scale can be specified, as well as an additional random attribute which will be added.

http://janusvr.com/docs/build/roomtag/index.html#Particle

00
1726
03/31/2018

JediForce

Click anywhere to gather all the objects in the room. This example uses bullet physics that will work better in JanusVR native.

https://vesta.janusxr.org/files/guide/javascript/jediforce/JediForce.js
#javascript

00
1419
03/31/2018

Timer

Track how much time passes. This runs very slow on JanusWeb.

https://vesta.janusxr.org/files/guide/javascript/timer/TimerExample.js
#javascript

00
1893
03/31/2018

JS debugger

Text javascript debugger, try to click the cube.

https://vesta.janusxr.org/files/guide/javascript/jsdebugger/TextDebuggerJS.js
#javascript

00
1859
03/31/2018

HoverOver

Hover over an object and popup a message about the item using a nested setup.

https://vesta.janusxr.org/files/guide/javascript/hoverover/Hoverover_popupJS.js
#javascript

10
1562
03/31/2018

Door1

Taken from nazrin's TACOS script.

/*
Functions:
rDoor(js_id , rotation degrees , duration , delay , flag type);
sDoor(js_id , deltax , deltay , deltaz , duration , delay , flag type);
Text(user name , Text);
mText(user name , ['array','of','text']);
PlaySound(js_id);
Teleport(posx,posy,posz,delay);
rTeleport(deltax,deltay,deltaz,delay);
Grab(js_id);
*/

https://github.com/scooterboo/TACOS
#javascript #tacos

00
1932
03/31/2018

Realtime Lights

Modify the light attributes with with simple key presses.

https://vesta.janusxr.org/files/guide/javascript/realtimelights/EditJS.txt
https://vesta.janusxr.org/files/guide/javascript/realtimelights/JS_Light.js
#javascript

00
1575
03/30/2018