123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298 |
- {
- "extends": "proxy/aframe/ascene.vwf",
- "properties": {},
- "methods": {
- "initialize": {
- "body": " this.globalTransport.init();\n console.log(\"INIT TRANSPORT!!!\");\n",
- "type": "application/javascript"
- }
- },
- "children": {
- "fog": {
- "extends": "proxy/aframe/aSceneFogComponent.vwf",
- "type": "component",
- "properties": {
- "fogType": "linear",
- "fogColor": "#ECECEC",
- "far": 20,
- "near": 0
- }
- },
- "floorTexture": {
- "extends": "proxy/aframe/a-asset-image-item.vwf",
- "properties": {
- "itemID": "bg2",
- "itemSrc": "/defaults/assets/checker.jpg"
- }
- },
- "newSky": {
- "extends": "proxy/aframe/aentity.vwf",
- "children": {
- "skyshader": {
- "extends": "proxy/aframe/app-skyshader-component.vwf"
- }
- }
- },
- "groundPlane": {
- "extends": "proxy/aframe/aplane.vwf",
- "properties": {
- "height": "50",
- "width": "50",
- "rotation": [
- -90,
- 0,
- 0
- ]
- },
- "children": {
- "material": {
- "extends": "proxy/aframe/aMaterialComponent.vwf",
- "properties": {
- "wireframe": false,
- "src": "#bg2",
- "repeat": "10 10"
- }
- }
- }
- },
- "myLight": {
- "extends": "proxy/aframe/alight.vwf",
- "properties": {
- "type": "point",
- "color": "white",
- "position": [
- 0,
- 10,
- 5
- ],
- "rotation": [
- 0,
- 0,
- 0
- ]
- }
- },
- "spaceText": {
- "extends": "proxy/aframe/atext.vwf",
- "properties": {
- "value": "Music World",
- "color": "#2b5d83",
- "position":
- [-1.2,2.5,-3]
-
- }
- },
- "notesLine":{
- "extends": "proxy/aframe/aentity.vwf",
- "properties":{
- "position": "0 0 -3"
- },
- "children":{
- "note1": {
- "includes": "proxy/objects/music/note.vwf",
- "properties": {
- "position": "0 1 0"
- }
- },
- "note2": {
- "includes": "proxy/objects/music/note.vwf",
- "properties": {
- "position": "1.2 2 0"
- }
- },
- "note3": {
- "includes": "proxy/objects/music/note.vwf",
- "properties": {
- "position": "-0.7 0.5 0"
- }
- },
- "note4": {
- "includes": "proxy/objects/music/note.vwf",
- "properties": {
- "position": "0.6 1.5 0"
- }
- }
- },
- "scripts":{
- "source":"sequence.js"
- }
- },
- "instrument": {
- "extends": "proxy/aframe/abox.vwf",
- "properties": {
- "position": "-1.6 1 -3",
- "rotation": "0 0 0",
- "depth": 1,
- "height": 0.5,
- "width": 0.5,
- "class": "clickable intersectable"
- },
- "methods": {
- "clickEventMethod": {},
- "doButtonTriggerdownAction": {
- "parameters":["value"]
- }
- },
- "events": {
- "clickEvent": {}
- },
- "children": {
- "playButton":{
- "extends": "proxy/objects/gui/button.vwf",
- "properties": {
- "target": null,
- "displayName": "playButton",
- "position": [-0.5, 0.5, 0.3],
- "clickColor": "blue",
- "baseColor": "green",
- "height": 0.4,
- "width": 0.4,
- "text": "Play"
- }
- },
- "transportLine": {
- "extends": "proxy/aframe/abox.vwf",
- "properties": {
- "position": "0 1.5 0",
- "rotation": "0 0 0",
- "depth": 1.1,
- "height": 5,
- "width": 0.04,
- "delta": 1,
- "end": 5,
- "playing":false
- },
- "methods": {
- "initialize":{},
- "run":{},
- "play": {},
- "stop": {},
- "fromhitstartEventMethod": {
- "parameters": [
- "value"
- ]
- },
- "fromhitendEventMethod": {
- "parameters": [
- "value"
- ]
- }
- },
- "children": {
- "material": {
- "extends": "proxy/aframe/aMaterialComponent.vwf",
- "properties": {
- "color": "white",
- "opacity": 0.5
- }
- },
- "aabb-collider": {
- "extends": "proxy/aframe/aabb-collider-component.vwf",
- "type": "component",
- "properties": {
- "debug": false,
- "interval": 10,
- "objects": ".hit"
- }
- },
- "interpolation": {
- "extends": "proxy/aframe/interpolation-component.vwf",
- "type": "component",
- "properties": {
- "enabled": false
- }
- }
- },
- "scripts": {
- "source": "transportLine.js"
- }
- },
- "synth": {
- "extends": "proxy/tonejs/synth.vwf",
- "properties": {}
- },
- "material": {
- "extends": "proxy/aframe/aMaterialComponent.vwf",
- "properties": {
- "color": "white"
- }
- },
- "raycaster-listener": {
- "extends": "proxy/aframe/app-raycaster-listener-component.vwf",
- "type": "component"
- },
- "cursor-listener": {
- "extends": "proxy/aframe/app-cursor-listener-component.vwf",
- "type": "component"
- }
- },
- "scripts": {
- "source": "instrument.js"
- }
- },
- "drum": {
- "extends": "proxy/aframe/abox.vwf",
- "properties": {
- "position": "0 1 -4.5",
- "rotation": "0 0 0",
- "depth": 1,
- "height": 0.5,
- "width": 0.5,
- "class": "clickable intersectable",
- "seq": [{ "beat": 0, "msg": "C0" }, { "beat": 15, "msg": "C0" }]
- },
- "methods": {
- "clickEventMethod": {},
- "doButtonTriggerdownAction": {
- "parameters":["value"]
- }
- },
- "events": {
- "clickEvent": {}
- },
- "children": {
- "playButton":{
- "extends": "proxy/objects/gui/button.vwf",
- "properties": {
- "target": null,
- "displayName": "playButton",
- "position": [-0.5, 0.5, 0.3],
- "clickColor": "blue",
- "baseColor": "green",
- "height": 0.4,
- "width": 0.4,
- "text": "Play"
- }
- },
- "synth": {
- "extends": "proxy/tonejs/membraneSynth.vwf",
- "properties": {}
- },
- "material": {
- "extends": "proxy/aframe/aMaterialComponent.vwf",
- "properties": {
- "color": "white"
- }
- },
- "raycaster-listener": {
- "extends": "proxy/aframe/app-raycaster-listener-component.vwf",
- "type": "component"
- },
- "cursor-listener": {
- "extends": "proxy/aframe/app-cursor-listener-component.vwf",
- "type": "component"
- }
- },
- "scripts": {
- "source": "generate.js"
- }
- },
- "globalTransport": {
- "extends": "proxy/aframe/transport.vwf",
- "properties": {
- "displayName": "global",
- "position": [3,2.5,-3]
- }
- }
- }
- }
|