mage-engine 3.22.7 → 3.22.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mage.js +9 -7
- package/package.json +1 -1
package/dist/mage.js
CHANGED
|
@@ -57770,7 +57770,7 @@ function applyMiddleware() {
|
|
|
57770
57770
|
|
|
57771
57771
|
var thunk = createThunkMiddleware();
|
|
57772
57772
|
thunk.withExtraArgument = createThunkMiddleware;var name$1 = "mage-engine";
|
|
57773
|
-
var version$1 = "3.22.
|
|
57773
|
+
var version$1 = "3.22.8";
|
|
57774
57774
|
var description = "A WebGL Javascript Game Engine, built on top of THREE.js and many other libraries.";
|
|
57775
57775
|
var main = "dist/mage.js";
|
|
57776
57776
|
var author$1 = {
|
|
@@ -91115,6 +91115,7 @@ var Sound$1 = /*#__PURE__*/function (_Entity) {
|
|
|
91115
91115
|
_this.buffer = null;
|
|
91116
91116
|
_this.audioNode = null;
|
|
91117
91117
|
_this.volumeNode = null;
|
|
91118
|
+
_this.detuneValue = 0;
|
|
91118
91119
|
|
|
91119
91120
|
if (!_this.setupConfig.deferred) {
|
|
91120
91121
|
_this.setupAudio();
|
|
@@ -91343,14 +91344,14 @@ var Sound$1 = /*#__PURE__*/function (_Entity) {
|
|
|
91343
91344
|
key: "detune",
|
|
91344
91345
|
value: function detune(value) {
|
|
91345
91346
|
if (this.audioNode) {
|
|
91346
|
-
this.
|
|
91347
|
-
this.audioNode.detune.value = this.
|
|
91347
|
+
this.detuneValue = value;
|
|
91348
|
+
this.audioNode.detune.value = this.detuneValue;
|
|
91348
91349
|
}
|
|
91349
91350
|
}
|
|
91350
91351
|
}, {
|
|
91351
91352
|
key: "getDetune",
|
|
91352
91353
|
value: function getDetune() {
|
|
91353
|
-
return this.
|
|
91354
|
+
return this.detuneValue;
|
|
91354
91355
|
}
|
|
91355
91356
|
}, {
|
|
91356
91357
|
key: "addEffect",
|
|
@@ -91671,6 +91672,7 @@ var Sound = /*#__PURE__*/function (_Entity) {
|
|
|
91671
91672
|
_this.buffer = null;
|
|
91672
91673
|
_this.audioNode = null;
|
|
91673
91674
|
_this.volumeNode = null;
|
|
91675
|
+
_this.detuneValue = 0;
|
|
91674
91676
|
|
|
91675
91677
|
if (!_this.setupConfig.deferred) {
|
|
91676
91678
|
_this.setupAudio();
|
|
@@ -91899,14 +91901,14 @@ var Sound = /*#__PURE__*/function (_Entity) {
|
|
|
91899
91901
|
key: "detune",
|
|
91900
91902
|
value: function detune(value) {
|
|
91901
91903
|
if (this.audioNode) {
|
|
91902
|
-
this.
|
|
91903
|
-
this.audioNode.detune.value = this.
|
|
91904
|
+
this.detuneValue = value;
|
|
91905
|
+
this.audioNode.detune.value = this.detuneValue;
|
|
91904
91906
|
}
|
|
91905
91907
|
}
|
|
91906
91908
|
}, {
|
|
91907
91909
|
key: "getDetune",
|
|
91908
91910
|
value: function getDetune() {
|
|
91909
|
-
return this.
|
|
91911
|
+
return this.detuneValue;
|
|
91910
91912
|
}
|
|
91911
91913
|
}, {
|
|
91912
91914
|
key: "addEffect",
|