mirror of
https://github.com/JulianGro/overte.git
synced 2025-05-28 06:31:30 +02:00
rename /toys to /toybox, remove non toybox scripts, update master refs
This commit is contained in:
parent
970d189262
commit
384a6a8154
31 changed files with 23 additions and 23 deletions
|
@ -1,6 +1,5 @@
|
||||||
//
|
//
|
||||||
// breakdanceCore.js
|
// breakdanceCore.js
|
||||||
// examples/toys
|
|
||||||
//
|
//
|
||||||
// This is the core breakdance game library, it can be used as part of an entity script, or an omniTool module, or bootstapped on it's own
|
// This is the core breakdance game library, it can be used as part of an entity script, or an omniTool module, or bootstapped on it's own
|
||||||
// Created by Brad Hefta-Gaub on August 24, 2015
|
// Created by Brad Hefta-Gaub on August 24, 2015
|
|
@ -7,10 +7,10 @@
|
||||||
//
|
//
|
||||||
|
|
||||||
// FIXME Script paths have to be relative to the caller, in this case libraries/OmniTool.js
|
// FIXME Script paths have to be relative to the caller, in this case libraries/OmniTool.js
|
||||||
Script.include("../toys/magBalls/constants.js");
|
Script.include("../entityScripts/magBalls/constants.js");
|
||||||
Script.include("../toys/magBalls/graph.js");
|
Script.include("../entityScripts/magBalls/graph.js");
|
||||||
Script.include("../toys/magBalls/edgeSpring.js");
|
Script.include("../entityScripts/magBalls/edgeSpring.js");
|
||||||
Script.include("../toys/magBalls/magBalls.js");
|
Script.include("../entityScripts/magBalls/magBalls.js");
|
||||||
Script.include("avatarRelativeOverlays.js");
|
Script.include("avatarRelativeOverlays.js");
|
||||||
|
|
||||||
OmniToolModuleType = "MagBallsController"
|
OmniToolModuleType = "MagBallsController"
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
(function () {
|
(function () {
|
||||||
var _this;
|
var _this;
|
||||||
var utilitiesScript = Script.resolvePath("../libraries/utils.js");
|
var utilitiesScript = Script.resolvePath("../../libraries/utils.js");
|
||||||
Script.include(utilitiesScript);
|
Script.include(utilitiesScript);
|
||||||
LightSwitch = function () {
|
LightSwitch = function () {
|
||||||
_this = this;
|
_this = this;
|
|
@ -13,7 +13,7 @@
|
||||||
// Script.include("../libraries/utils.js");
|
// Script.include("../libraries/utils.js");
|
||||||
//Need absolute path for now, for testing before PR merge and s3 cloning. Will change post-merge
|
//Need absolute path for now, for testing before PR merge and s3 cloning. Will change post-merge
|
||||||
|
|
||||||
Script.include("../libraries/utils.js");
|
Script.include("../../libraries/utils.js");
|
||||||
|
|
||||||
this.spraySound = SoundCache.getSound("https://s3.amazonaws.com/hifi-public/sounds/sprayPaintSound.wav");
|
this.spraySound = SoundCache.getSound("https://s3.amazonaws.com/hifi-public/sounds/sprayPaintSound.wav");
|
||||||
|
|
|
@ -14,14 +14,15 @@
|
||||||
|
|
||||||
var _this;
|
var _this;
|
||||||
|
|
||||||
var sprayPaintScriptURL = Script.resolvePath("../examples/toys/sprayPaintCan.js");
|
var sprayPaintScriptURL = Script.resolvePath("../examples/toybox/spray_paint/sprayPaintCan.js");
|
||||||
var catScriptURL = Script.resolvePath("../examples/toys/cat.js");
|
var catScriptURL = Script.resolvePath("../examples/toybox/cat/cat.js");
|
||||||
var flashlightScriptURL = Script.resolvePath('../examples/toys/flashlight/flashlight.js');
|
var flashlightScriptURL = Script.resolvePath('../examples/toybox/flashlight/flashlight.js');
|
||||||
var pingPongScriptURL = Script.resolvePath('../examples/toys/ping_pong_gun/pingPongGun.js');
|
var pingPongScriptURL = Script.resolvePath('../examples/toybox/ping_pong_gun/pingPongGun.js');
|
||||||
var wandScriptURL = Script.resolvePath("../examples/toys/bubblewand/wand.js");
|
var wandScriptURL = Script.resolvePath("../examples/toybox/bubblewand/wand.js");
|
||||||
var dollScriptURL = Script.resolvePath("../examples/toys/doll/doll.js");
|
var dollScriptURL = Script.resolvePath("../examples/toybox/doll/doll.js");
|
||||||
var lightsScriptURL = Script.resolvePath("../examples/toys/lightSwitch.js");
|
var lightsScriptURL = Script.resolvePath("../examples/toybox/lights/lightSwitch.js");
|
||||||
var targetsScriptURL = Script.resolvePath('../examples/toys/ping_pong_gun/wallTarget.js');
|
var targetsScriptURL = Script.resolvePath('../examples/toybox/ping_pong_gun/wallTarget.js');
|
||||||
|
|
||||||
|
|
||||||
ResetSwitch = function() {
|
ResetSwitch = function() {
|
||||||
_this = this;
|
_this = this;
|
||||||
|
|
|
@ -14,14 +14,14 @@
|
||||||
var utilitiesScript = Script.resolvePath("../examples/libraries/utils.js");
|
var utilitiesScript = Script.resolvePath("../examples/libraries/utils.js");
|
||||||
Script.include(utilitiesScript);
|
Script.include(utilitiesScript);
|
||||||
|
|
||||||
var sprayPaintScriptURL = Script.resolvePath("../examples/toys/sprayPaintCan.js");
|
var sprayPaintScriptURL = Script.resolvePath("../examples/toybox/spray_paint/sprayPaintCan.js");
|
||||||
var catScriptURL = Script.resolvePath("../examples/toys/cat.js");
|
var catScriptURL = Script.resolvePath("../examples/toybox/cat/cat.js");
|
||||||
var flashlightScriptURL = Script.resolvePath('../examples/toys/flashlight/flashlight.js');
|
var flashlightScriptURL = Script.resolvePath('../examples/toybox/flashlight/flashlight.js');
|
||||||
var pingPongScriptURL = Script.resolvePath('../examples/toys/ping_pong_gun/pingPongGun.js');
|
var pingPongScriptURL = Script.resolvePath('../examples/toybox/ping_pong_gun/pingPongGun.js');
|
||||||
var wandScriptURL = Script.resolvePath("../examples/toys/bubblewand/wand.js");
|
var wandScriptURL = Script.resolvePath("../examples/toybox/bubblewand/wand.js");
|
||||||
var dollScriptURL = Script.resolvePath("../examples/toys/doll/doll.js");
|
var dollScriptURL = Script.resolvePath("../examples/toybox/doll/doll.js");
|
||||||
var lightsScriptURL = Script.resolvePath("../examples/toys/lightSwitch.js");
|
var lightsScriptURL = Script.resolvePath("../examples/toybox/lights/lightSwitch.js");
|
||||||
var targetsScriptURL = Script.resolvePath('../examples/toys/ping_pong_gun/wallTarget.js');
|
var targetsScriptURL = Script.resolvePath('../examples/toybox/ping_pong_gun/wallTarget.js');
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue