guide

Teleporter

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

00
201
12/16/2018

Light Shadow2


00
376
04/02/2018

Lamp

Lamp using the AppendChild script

00
509
04/02/2018

Lightswitch

Simple on / off switch for a light.

https://vesta.janusvr.com/files/guide/javascript/lamp/LightSwitch.js
#javascript

00
463
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
351
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
360
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.janusvr.com/files/guide/javascript/jediforce/JediForce.js
#javascript

00
362
03/31/2018

Timer

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

https://vesta.janusvr.com/files/guide/javascript/timer/TimerExample.js
#javascript

00
341
03/31/2018

JS debugger

Text javascript debugger, try to click the cube.

https://vesta.janusvr.com/files/guide/javascript/jsdebugger/TextDebuggerJS.js
#javascript

00
384
03/31/2018

HoverOver

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

https://vesta.janusvr.com/files/guide/javascript/hoverover/Hoverover_popupJS.js
#javascript

00
355
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
341
03/31/2018

Realtime Lights

Modify the light attributes with with simple key presses.

https://vesta.janusvr.com/files/guide/javascript/realtimelights/EditJS.txt
https://vesta.janusvr.com/files/guide/javascript/realtimelights/JS_Light.js
#javascript

00
356
03/30/2018