react-simple-game-engine 0.1.52 → 0.1.53
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/lib/classes/scene.d.ts +4 -2
- package/lib/classes/scene.d.ts.map +1 -1
- package/lib/classes/scene.js +33 -2
- package/lib/classes/sound.d.ts +3 -0
- package/lib/classes/sound.d.ts.map +1 -1
- package/lib/classes/sound.js +34 -6
- package/lib/decorators/scene-sound.decor.d.ts +11 -0
- package/lib/decorators/scene-sound.decor.d.ts.map +1 -0
- package/lib/decorators/scene-sound.decor.js +13 -0
- package/lib/export-types.d.ts +7 -0
- package/lib/export-types.d.ts.map +1 -1
- package/package.json +1 -1
package/lib/classes/scene.d.ts
CHANGED
@@ -4,12 +4,13 @@ import { LogicComponent } from "./logic-component";
|
|
4
4
|
import { SceneManagement } from "./scene-management";
|
5
5
|
import { EntitySult } from "./entities/entity-sult";
|
6
6
|
import { Prefab } from "./prefab";
|
7
|
-
import { SoundManagement } from "../export-types";
|
7
|
+
import { SoundDecor, SoundManagement } from "../export-types";
|
8
8
|
import { SoundType } from "../export-enums";
|
9
9
|
declare type SoundOptionsChangeListener<O extends SoundType> = (options: SoundManagement[O]) => void;
|
10
10
|
declare type LoadAssetsListener = (loadedAssets: boolean) => void;
|
11
11
|
declare type EntityPropsChangeListener<V = any> = (value: V) => void;
|
12
12
|
export declare abstract class Scene<UIP = any> {
|
13
|
+
static soundsDecor: SoundDecor[];
|
13
14
|
private ui;
|
14
15
|
private worldManagement;
|
15
16
|
private _loadedAssets;
|
@@ -33,7 +34,7 @@ export declare abstract class Scene<UIP = any> {
|
|
33
34
|
onSoundOnceOptionsChange(func: SoundOptionsChangeListener<SoundType.ONCE>): () => void;
|
34
35
|
onSoundBackgroundOptionsChange(func: SoundOptionsChangeListener<SoundType.BACKGROUND>): () => void;
|
35
36
|
private bootSoundOptions;
|
36
|
-
protected getSoundOptions():
|
37
|
+
protected getSoundOptions(): DeepPartial<SoundManagement>;
|
37
38
|
protected onBorn(): void;
|
38
39
|
protected getUIProps(): UIP;
|
39
40
|
get loadedAssets(): boolean;
|
@@ -43,6 +44,7 @@ export declare abstract class Scene<UIP = any> {
|
|
43
44
|
onLoadAssetNotify(func: LoadAssetsListener): void;
|
44
45
|
destructor(): void;
|
45
46
|
switchToScene(tag: string): void;
|
47
|
+
loadSounds(): Promise<void>;
|
46
48
|
loadAssets(delay?: number): Promise<void>;
|
47
49
|
onLoadAssets(): Promise<void>;
|
48
50
|
getPrefab<C extends EntitySult>(Class: {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"scene.d.ts","sourceRoot":"","sources":["../../src/classes/scene.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIlC,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;
|
1
|
+
{"version":3,"file":"scene.d.ts","sourceRoot":"","sources":["../../src/classes/scene.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,OAAO,CAAC;AAEtC,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AAErD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAC;AACpD,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAIlC,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAC9D,OA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,CAAC,SAAS,CAAC,IAAI,CAAC,EAK5D;IAED,wBAAwB,CAAC,IAAI,EAAE,0BAA0B,CAAC,SAAS,CAAC,IAAI,CAAC;IAWzE,8BAA8B,CAC5B,IAAI,EAAE,0BAA0B,CAAC,SAAS,CAAC,UAAU,CAAC;IAYxD,OAAO,CAAC,gBAAgB;IAYxB,SAAS,CAAC,eAAe,IAAI,WAAW,CAAC,eAAe,CAAC;IAIzD,SAAS,CAAC,MAAM;IAEhB,SAAS,CAAC,UAAU,IAAI,GAAG;IAI3B,IAAI,YAAY,IAIuB,OAAO,CAF7C;IAED,OAAO,KAAK,YAAY,QAGvB;IAED,qBAAqB,CAAC,CAAC,GAAG,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,CAAC;IAOrD,mBAAmB,CAAC,CAAC,GAAG,GAAG,EACzB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,yBAAyB,CAAC,CAAC,CAAC;IAepC,iBAAiB,CAAC,IAAI,EAAE,kBAAkB;IAI1C,UAAU;IAQV,aAAa,CAAC,GAAG,EAAE,MAAM;IAInB,UAAU;IAUV,UAAU,CAAC,KAAK,CAAC,EAAE,MAAM;IAczB,YAAY;IAElB,SAAS,CAAC,CAAC,SAAS,UAAU,EAAE,KAAK,EAAE;QACrC,KAAK,GAAG,IAAI,EAAE,GAAG,EAAE,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC;KACjC,GAAG,MAAM,CAAC,CAAC,CAAC;IAIb,SAAS,CAAC,MAAM,EAAE,MAAM;IAmBxB,SAAS,CAAC,MAAM;IAChB,SAAS,CAAC,QAAQ;IAElB,MAAM;CAUP"}
|
package/lib/classes/scene.js
CHANGED
@@ -35,7 +35,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
35
35
|
}
|
36
36
|
};
|
37
37
|
import { WorldManagement } from "./world-management";
|
38
|
-
import { copyProperties, tick } from "../utils";
|
38
|
+
import { copyProperties, createAssetSound, tick } from "../utils";
|
39
39
|
import { Sound } from "./sound";
|
40
40
|
import { SoundType } from "../export-enums";
|
41
41
|
var Scene = /** @class */ (function () {
|
@@ -161,10 +161,40 @@ var Scene = /** @class */ (function () {
|
|
161
161
|
};
|
162
162
|
Scene.prototype.destructor = function () {
|
163
163
|
this.worldManagement.destructor();
|
164
|
+
for (var _i = 0, _a = Scene.soundsDecor; _i < _a.length; _i++) {
|
165
|
+
var propertyKey = _a[_i].propertyKey;
|
166
|
+
var sound = this[propertyKey];
|
167
|
+
sound === null || sound === void 0 ? void 0 : sound.stop();
|
168
|
+
}
|
164
169
|
};
|
165
170
|
Scene.prototype.switchToScene = function (tag) {
|
166
171
|
this.manager.gotoScene(tag);
|
167
172
|
};
|
173
|
+
Scene.prototype.loadSounds = function () {
|
174
|
+
return __awaiter(this, void 0, void 0, function () {
|
175
|
+
var _this = this;
|
176
|
+
return __generator(this, function (_a) {
|
177
|
+
switch (_a.label) {
|
178
|
+
case 0: return [4 /*yield*/, Promise.all(Scene.soundsDecor.map(function (decor) { return __awaiter(_this, void 0, void 0, function () {
|
179
|
+
var sound;
|
180
|
+
return __generator(this, function (_a) {
|
181
|
+
switch (_a.label) {
|
182
|
+
case 0: return [4 /*yield*/, createAssetSound(decor.src, decor.type)];
|
183
|
+
case 1:
|
184
|
+
sound = _a.sent();
|
185
|
+
sound.volumn = decor.volumn;
|
186
|
+
this[decor.propertyKey] = sound;
|
187
|
+
return [2 /*return*/];
|
188
|
+
}
|
189
|
+
});
|
190
|
+
}); }))];
|
191
|
+
case 1:
|
192
|
+
_a.sent();
|
193
|
+
return [2 /*return*/];
|
194
|
+
}
|
195
|
+
});
|
196
|
+
});
|
197
|
+
};
|
168
198
|
Scene.prototype.loadAssets = function (delay) {
|
169
199
|
return __awaiter(this, void 0, void 0, function () {
|
170
200
|
return __generator(this, function (_a) {
|
@@ -179,7 +209,7 @@ var Scene = /** @class */ (function () {
|
|
179
209
|
// if delay less than 0, it will wait forever
|
180
210
|
_a.sent();
|
181
211
|
this.loadedAssets = false;
|
182
|
-
return [4 /*yield*/, this.onLoadAssets().catch(function (err) {
|
212
|
+
return [4 /*yield*/, Promise.all([this.loadSounds(), this.onLoadAssets()]).catch(function (err) {
|
183
213
|
console.warn("Load assets fail", err.toString());
|
184
214
|
})];
|
185
215
|
case 2:
|
@@ -227,6 +257,7 @@ var Scene = /** @class */ (function () {
|
|
227
257
|
this.onDraw();
|
228
258
|
this.worldManagement.draw();
|
229
259
|
};
|
260
|
+
Scene.soundsDecor = [];
|
230
261
|
return Scene;
|
231
262
|
}());
|
232
263
|
export { Scene };
|
package/lib/classes/sound.d.ts
CHANGED
@@ -5,7 +5,10 @@ export declare class Sound {
|
|
5
5
|
static Management: SoundManagement;
|
6
6
|
readonly native: HTMLAudioElement;
|
7
7
|
constructor(type?: SoundType);
|
8
|
+
get volumn(): number;
|
9
|
+
set volumn(vol: number);
|
8
10
|
playNow(): Promise<void>;
|
11
|
+
stop(): Promise<void>;
|
9
12
|
play(): Promise<void>;
|
10
13
|
}
|
11
14
|
//# sourceMappingURL=sound.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"sound.d.ts","sourceRoot":"","sources":["../../src/classes/sound.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGlD,qBAAa,KAAK;
|
1
|
+
{"version":3,"file":"sound.d.ts","sourceRoot":"","sources":["../../src/classes/sound.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAGlD,qBAAa,KAAK;IAaJ,OAAO,CAAC,QAAQ,CAAC,IAAI;IAZjC,MAAM,CAAC,UAAU,EAAE,eAAe,CAShC;IACF,QAAQ,CAAC,MAAM,EAAE,gBAAgB,CAAe;gBAEnB,IAAI,GAAE,SAA0B;IAE7D,IAAI,MAAM,IAIM,MAAM,CAFrB;IAED,IAAI,MAAM,CAAC,GAAG,EAAE,MAAM,EAErB;IAEK,OAAO;IAQP,IAAI;IAMJ,IAAI;CAWX"}
|
package/lib/classes/sound.js
CHANGED
@@ -43,6 +43,16 @@ var Sound = /** @class */ (function () {
|
|
43
43
|
this.type = type;
|
44
44
|
this.native = new Audio();
|
45
45
|
}
|
46
|
+
Object.defineProperty(Sound.prototype, "volumn", {
|
47
|
+
get: function () {
|
48
|
+
return this.native.volume;
|
49
|
+
},
|
50
|
+
set: function (vol) {
|
51
|
+
this.native.volume = vol;
|
52
|
+
},
|
53
|
+
enumerable: false,
|
54
|
+
configurable: true
|
55
|
+
});
|
46
56
|
Sound.prototype.playNow = function () {
|
47
57
|
return __awaiter(this, void 0, void 0, function () {
|
48
58
|
var canPlay;
|
@@ -61,18 +71,34 @@ var Sound = /** @class */ (function () {
|
|
61
71
|
});
|
62
72
|
});
|
63
73
|
};
|
64
|
-
Sound.prototype.
|
74
|
+
Sound.prototype.stop = function () {
|
65
75
|
return __awaiter(this, void 0, void 0, function () {
|
66
|
-
var canPlay;
|
67
76
|
return __generator(this, function (_a) {
|
68
|
-
|
77
|
+
this.native.pause();
|
78
|
+
this.native.currentTime = 0;
|
79
|
+
this.native.src = "";
|
80
|
+
return [2 /*return*/];
|
81
|
+
});
|
82
|
+
});
|
83
|
+
};
|
84
|
+
Sound.prototype.play = function () {
|
85
|
+
return __awaiter(this, void 0, void 0, function () {
|
86
|
+
var _a, canPlay, loop;
|
87
|
+
return __generator(this, function (_b) {
|
88
|
+
switch (_b.label) {
|
69
89
|
case 0:
|
70
|
-
|
90
|
+
_a = Sound.Management[this.type], canPlay = _a.canPlay, loop = _a.loop;
|
71
91
|
if (!canPlay) return [3 /*break*/, 2];
|
92
|
+
if (loop) {
|
93
|
+
this.native.loop = true;
|
94
|
+
}
|
95
|
+
else {
|
96
|
+
this.native.loop = false;
|
97
|
+
}
|
72
98
|
return [4 /*yield*/, this.native.play()];
|
73
99
|
case 1:
|
74
|
-
|
75
|
-
|
100
|
+
_b.sent();
|
101
|
+
_b.label = 2;
|
76
102
|
case 2: return [2 /*return*/];
|
77
103
|
}
|
78
104
|
});
|
@@ -81,9 +107,11 @@ var Sound = /** @class */ (function () {
|
|
81
107
|
Sound.Management = (_a = {},
|
82
108
|
_a[SoundType.ONCE] = {
|
83
109
|
canPlay: true,
|
110
|
+
loop: false,
|
84
111
|
},
|
85
112
|
_a[SoundType.BACKGROUND] = {
|
86
113
|
canPlay: true,
|
114
|
+
loop: true,
|
87
115
|
},
|
88
116
|
_a);
|
89
117
|
return Sound;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { Scene } from "../classes/scene";
|
2
|
+
import { SoundType } from "../export-enums";
|
3
|
+
import { SoundDecor } from "../export-types";
|
4
|
+
export declare function SceneSound({ src, volumn }: {
|
5
|
+
src: string;
|
6
|
+
volumn?: number;
|
7
|
+
}, type?: SoundType): (target: {
|
8
|
+
soundsDecor: SoundDecor[];
|
9
|
+
new (): Scene;
|
10
|
+
}, propertyKey: string) => void;
|
11
|
+
//# sourceMappingURL=scene-sound.decor.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"scene-sound.decor.d.ts","sourceRoot":"","sources":["../../src/decorators/scene-sound.decor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,kBAAkB,CAAC;AACzC,OAAO,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAE7C,wBAAgB,UAAU,CACxB,EAAE,GAAG,EAAE,MAAU,EAAE,EAAE;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAA;CAAE,EACrD,IAAI,GAAE,SAA0B,YAGtB;IACN,WAAW,EAAE,UAAU,EAAE,CAAC;IAC1B,QAAQ,KAAK,CAAC;CACf,eACY,MAAM,UAStB"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { SoundType } from "../export-enums";
|
2
|
+
export function SceneSound(_a, type) {
|
3
|
+
var src = _a.src, _b = _a.volumn, volumn = _b === void 0 ? 1 : _b;
|
4
|
+
if (type === void 0) { type = SoundType.ONCE; }
|
5
|
+
return function (target, propertyKey) {
|
6
|
+
target.soundsDecor.push({
|
7
|
+
volumn: volumn,
|
8
|
+
propertyKey: propertyKey,
|
9
|
+
src: src,
|
10
|
+
type: type,
|
11
|
+
});
|
12
|
+
};
|
13
|
+
}
|
package/lib/export-types.d.ts
CHANGED
@@ -37,5 +37,12 @@ export declare type Configable<C extends Initialler = Initialler> = {
|
|
37
37
|
}, Configation<C>];
|
38
38
|
export declare type SoundManagement = Record<SoundType, {
|
39
39
|
canPlay: boolean;
|
40
|
+
loop: boolean;
|
40
41
|
}>;
|
42
|
+
export declare type SoundDecor = {
|
43
|
+
propertyKey: string;
|
44
|
+
src: string;
|
45
|
+
type: SoundType;
|
46
|
+
volumn: number;
|
47
|
+
};
|
41
48
|
//# sourceMappingURL=export-types.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"export-types.d.ts","sourceRoot":"","sources":["../src/export-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAElD,OAAO,KAAK,EAAE,IAAI,EAAE,0BAA0B,EAAE,MAAM,WAAW,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,YAAY,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,oBAAY,MAAM,GAAG,UAAU,CAAC,OAAO,cAAc,EAAE,EAAE,CAAC,WAAW,CAAC,CAA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