@volter/editor-game 0.5.75 → 0.5.76

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@volter/editor-game",
3
3
  "author": "Volter AI, Inc.",
4
4
  "license": "AGPL-3.0-only",
5
- "version": "0.5.75",
5
+ "version": "0.5.76",
6
6
  "publishConfig": {
7
7
  "access": "public"
8
8
  },
@@ -101,11 +101,11 @@
101
101
  "serving": "./dist-node/serving.mjs"
102
102
  },
103
103
  "dependencies": {
104
- "@volter/editor-sdk": "0.5.75",
105
- "@volter/editor-project": "0.5.75",
106
- "@volter/editor-threejs": "0.5.75",
107
- "@volter/threejs-runtime": "0.5.75",
108
- "@volter/game-runtime": "0.5.75",
104
+ "@volter/editor-sdk": "0.5.76",
105
+ "@volter/editor-project": "0.5.76",
106
+ "@volter/editor-threejs": "0.5.76",
107
+ "@volter/threejs-runtime": "0.5.76",
108
+ "@volter/game-runtime": "0.5.76",
109
109
  "@colyseus/msgpackr": "^1.11.3",
110
110
  "@colyseus/schema": "^4.0.14",
111
111
  "@colyseus/sdk": "^0.17.34",
@@ -138,7 +138,7 @@
138
138
  "xstate": "^5.32.4",
139
139
  "zod": "^4.3.6",
140
140
  "@fortawesome/fontawesome-svg-core": "^7.2.0",
141
- "@volter/editor-react": "0.5.75"
141
+ "@volter/editor-react": "0.5.76"
142
142
  },
143
143
  "peerDependencies": {
144
144
  "@sparkjsdev/spark": "^2.1.0",
@@ -929,11 +929,14 @@ export function installWorldRootStage(options: WorldRootStageOptions): WorldRoot
929
929
  // this stage's loop alive so Edit resumes naturally AND so the play-entry
930
930
  // camera flight keeps its clock through the cross-fade — but do
931
931
  // absolutely no editor presentation/update/profiling work while that
932
- // document is hidden.
932
+ // document is hidden, beyond resolving the rig's lighting source (its
933
+ // objects light the world the Game view draws).
933
934
  if (resumed) lastTime = now;
934
935
  if (!container.checkVisibility({ visibilityProperty: true, checkVisibilityCSS: true })) {
935
936
  lastTime = now;
936
937
  sceneNeedsFirstFrame = true;
938
+ // The rig's objects are in the world the Game view draws: its lights follow the scene's.
939
+ viewport.resolvePresentation();
937
940
  return;
938
941
  }
939
942