@series-inc/rundot-3d-engine 0.6.4 → 0.6.6

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/index.js CHANGED
@@ -18,7 +18,7 @@ import {
18
18
  initializePlatformAsync,
19
19
  isPlatformInitialized,
20
20
  resetPlatform
21
- } from "./chunk-3YI5JLCR.js";
21
+ } from "./chunk-SCNHMGS3.js";
22
22
  import {
23
23
  __decorateClass
24
24
  } from "./chunk-XUS63JTZ.js";
@@ -3322,6 +3322,18 @@ declare class StowKitSystem {
3322
3322
  * Convenience method for game code.
3323
3323
  */
3324
3324
  getPrefab(path: string): PrefabNode;
3325
+ /**
3326
+ * Pre-decode meshes so they're ready before the loading screen hides.
3327
+ * Call this in onStart() after loadFromBuildJson() to avoid a visible pop-in.
3328
+ *
3329
+ * @param meshNames Array of mesh asset paths to pre-decode
3330
+ * @returns Map of mesh names to loaded groups (failed meshes are logged and skipped)
3331
+ */
3332
+ preloadMeshes(meshNames: string[]): Promise<Map<string, THREE.Group>>;
3333
+ /**
3334
+ * Pre-decode skinned meshes so they're ready before the loading screen hides.
3335
+ */
3336
+ preloadSkinnedMeshes(meshNames: string[], scale?: number): Promise<Map<string, THREE.Group>>;
3325
3337
  /**
3326
3338
  * Get a loaded pack by alias.
3327
3339
  */
@@ -58,7 +58,7 @@ import {
58
58
  VenusGame,
59
59
  createCollisionGroup,
60
60
  isTransformComponent
61
- } from "../chunk-3YI5JLCR.js";
61
+ } from "../chunk-SCNHMGS3.js";
62
62
  import {
63
63
  __decorateClass,
64
64
  __publicField
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@series-inc/rundot-3d-engine",
3
- "version": "0.6.4",
3
+ "version": "0.6.6",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "scripts": {
@@ -34,18 +34,18 @@
34
34
  "@dimforge/rapier3d": "^0.11.2",
35
35
  "@dimforge/rapier3d-compat": "^0.11.2",
36
36
  "@series-inc/stowkit-reader": "^0.1.42",
37
- "@series-inc/stowkit-three-loader": "^0.1.45",
37
+ "@series-inc/stowkit-three-loader": "^0.1.46",
38
38
  "three-stdlib": "^2.36.0"
39
39
  },
40
40
  "peerDependencies": {
41
- "three": ">=0.180.0",
42
41
  "@capacitor/app": ">=6.0.0",
43
42
  "@capacitor/core": ">=6.0.0",
44
43
  "@capacitor/local-notifications": ">=6.0.0",
45
44
  "@capacitor/preferences": ">=6.0.0",
46
45
  "@capacitor/splash-screen": ">=6.0.0",
47
46
  "@series-inc/rundot-game-sdk": "^5.3.0",
48
- "appsflyer-capacitor-plugin": ">=6.17.0"
47
+ "appsflyer-capacitor-plugin": ">=6.17.0",
48
+ "three": ">=0.180.0"
49
49
  },
50
50
  "peerDependenciesMeta": {
51
51
  "@capacitor/app": {