• News
  • Learn
  • Sign Up
  • Log In
    • See Tags...
    LOG INTO VESTA

    Username

    Password

    Forgot Password?

    AssetScript

    by guide
    0 Likes
    Clone

    An AssetScript defines a file containing JavaScript (technically ECMAScript 3 compliant code) that you can run in the FireBoxRoom. Functions can be set up for specific events such as mouse clicks or on frame updates. Sounds can be played, Objects can be created, have their properties modified, and be destroyed. For further details about this, see this page: http://janusvr.com/docs/build/roomobject/index.html. Also check the "experiment" workspace included with JanusVR which serves as a JS example.

    http://janusvr.com/docs/build/assetstag/index.html#AssetScript

    #onclick is used for the JS that plays the sound

    http://demos.janusxr.org/JavaScript/index.html

    2429 viewsPosted

    Suggested

    blend0 onclick test by cedricdsm

    collider4 by guide

    Plex Cinema by sly

    snowy by bepis

    Image3D by guide

    wall by bepis

    Comments

    0/280

    Message

    Embed Webspace

    Copy embed HTML:

    Report Webspace

    Please read the Community Guidelines page if you have questions about reporting.
    The reason for reporting this webspace:

    NSFW Content Warning

    You must be logged in, with NSFW Content enabled in your Account Settings to view this webspace.

    You may create a free account here