@hytopia.com/examples 1.0.33 → 1.0.34
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/frontiers-rpg-game/assets/models/players/.optimized/player/player-named-nodes.bin +0 -0
- package/frontiers-rpg-game/assets/models/players/.optimized/player/player-named-nodes.gltf +14515 -7134
- package/frontiers-rpg-game/assets/models/players/.optimized/player/player.bin +0 -0
- package/frontiers-rpg-game/assets/models/players/.optimized/player/player.gltf +14035 -6702
- package/frontiers-rpg-game/assets/models/players/.optimized/player/player.gltf.md5 +1 -1
- package/frontiers-rpg-game/assets/models/players/player.gltf +1 -1
- package/frontiers-rpg-game/dev/persistence/player-player-1.json +1 -1
- package/frontiers-rpg-game/src/GameManager.ts +2 -2
- package/package.json +1 -1
- package/particles/index.ts +6 -0
- /package/frontiers-rpg-game/assets/models/environment/{skull-broken.gltf → Skull-broken.gltf} +0 -0
- /package/frontiers-rpg-game/assets/models/environment/{skull-flower.gltf → Skull-flower.gltf} +0 -0
- /package/frontiers-rpg-game/assets/models/environment/{skull.gltf → Skull.gltf} +0 -0
|
@@ -51,7 +51,7 @@ export default class GameManager {
|
|
|
51
51
|
const hearthwildsRegion = new HearthwildsRegion();
|
|
52
52
|
this._regions.set(hearthwildsRegion.id, hearthwildsRegion);
|
|
53
53
|
GameClock.instance.addRegionClockCycle(hearthwildsRegion);
|
|
54
|
-
this._startRegion = hearthwildsRegion;
|
|
54
|
+
// this._startRegion = hearthwildsRegion;
|
|
55
55
|
|
|
56
56
|
// Ratkin Nest
|
|
57
57
|
const ratkinNestRegion = new RatkinNestRegion();
|
|
@@ -67,7 +67,7 @@ export default class GameManager {
|
|
|
67
67
|
const stalkhavenPortRegion = new StalkhavenPortRegion();
|
|
68
68
|
this._regions.set(stalkhavenPortRegion.id, stalkhavenPortRegion);
|
|
69
69
|
GameClock.instance.addRegionClockCycle(stalkhavenPortRegion);
|
|
70
|
-
|
|
70
|
+
this._startRegion = stalkhavenPortRegion;
|
|
71
71
|
|
|
72
72
|
// Weaver's Hollow
|
|
73
73
|
const weaversHollowRegion = new WeaversHollowRegion();
|
package/package.json
CHANGED
package/particles/index.ts
CHANGED
|
@@ -45,6 +45,7 @@ startServer(world => {
|
|
|
45
45
|
velocityVariance: { x: 4, y: 2, z: 4 }, // Variates the base velocity +/- this value
|
|
46
46
|
});
|
|
47
47
|
dirtParticleEmitter.spawn(world);
|
|
48
|
+
dirtParticleEmitter.stop();
|
|
48
49
|
|
|
49
50
|
// Start/stop the emitter every 3 seconds
|
|
50
51
|
setInterval(() => {
|
|
@@ -55,6 +56,11 @@ startServer(world => {
|
|
|
55
56
|
}
|
|
56
57
|
}, 5000);
|
|
57
58
|
|
|
59
|
+
// Burst every 1 second, regardless of pause state
|
|
60
|
+
setInterval(() => {
|
|
61
|
+
dirtParticleEmitter.burst(500);
|
|
62
|
+
}, 3000);
|
|
63
|
+
|
|
58
64
|
|
|
59
65
|
// Falling sparkles emitter
|
|
60
66
|
const fallingSparklesEmitter = new ParticleEmitter({
|
/package/frontiers-rpg-game/assets/models/environment/{skull-broken.gltf → Skull-broken.gltf}
RENAMED
|
File without changes
|
/package/frontiers-rpg-game/assets/models/environment/{skull-flower.gltf → Skull-flower.gltf}
RENAMED
|
File without changes
|
|
File without changes
|