spoint 0.1.66 → 0.1.68

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.
@@ -58,7 +58,7 @@ export default {
58
58
  fadeTime: 0.15
59
59
  },
60
60
  entities: [
61
- { id: 'environment', model: './apps/tps-game/schwust.glb', position: [0, 0, 0], app: 'environment' },
61
+ { id: 'environment', model: './apps/tps-game/schwust.glb', position: [0, -5, 0], app: 'environment' },
62
62
  { id: 'game', position: [0, 0, 0], app: 'tps-game' },
63
63
  { id: 'power-crates', position: [0, 0, 0], app: 'power-crate' },
64
64
  { id: 'interact-box', position: [-100, 3, -100], app: 'interactable' }
Binary file
@@ -128,7 +128,7 @@ let _normalizedCache = null
128
128
 
129
129
  export function preloadAnimationLibrary() {
130
130
  if (_gltfPromise) return _gltfPromise
131
- _gltfPromise = new GLTFLoader().loadAsync('/anim-lib.glb')
131
+ _gltfPromise = new GLTFLoader().loadAsync('/anim-lib.glb').catch(err => { console.warn('[anim] Failed to load animation library:', err.message); return { scene: new THREE.Scene(), animations: [] } })
132
132
  return _gltfPromise
133
133
  }
134
134
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "spoint",
3
- "version": "0.1.66",
3
+ "version": "0.1.68",
4
4
  "description": "Physics and netcode SDK for multiplayer game servers",
5
5
  "type": "module",
6
6
  "main": "src/index.js",