Spaces:
Runtime error
Runtime error
Commit
•
7064b36
1
Parent(s):
69bdd1b
small fix
Browse files- src/app/games/doom.ts +2 -2
- src/app/games/enchanters.ts +1 -1
- src/app/games/flamenco.ts +1 -1
- src/app/games/nexus.ts +1 -1
- src/app/games/pharaoh.ts +1 -1
- src/app/games/pirates.ts +1 -1
- src/app/games/tensor.ts +1 -1
- src/app/games/vernian.ts +1 -1
- src/components/business/renderer.tsx +1 -1
- src/components/business/spherical-image.tsx +2 -1
src/app/games/doom.ts
CHANGED
@@ -6,8 +6,8 @@ const initialSituation = [
|
|
6 |
].join(", ")
|
7 |
|
8 |
const initialActionnables = [
|
9 |
-
"
|
10 |
-
"
|
11 |
"building",
|
12 |
"gun",
|
13 |
"person",
|
|
|
6 |
].join(", ")
|
7 |
|
8 |
const initialActionnables = [
|
9 |
+
"sun",
|
10 |
+
"dune",
|
11 |
"building",
|
12 |
"gun",
|
13 |
"person",
|
src/app/games/enchanters.ts
CHANGED
@@ -12,7 +12,7 @@ const initialActionnables = [
|
|
12 |
"gate",
|
13 |
"rocks",
|
14 |
"lake",
|
15 |
-
"
|
16 |
"boat",
|
17 |
"mountain",
|
18 |
"sky"
|
|
|
12 |
"gate",
|
13 |
"rocks",
|
14 |
"lake",
|
15 |
+
"sun",
|
16 |
"boat",
|
17 |
"mountain",
|
18 |
"sky"
|
src/app/games/flamenco.ts
CHANGED
@@ -11,7 +11,7 @@ const initialSituation = [
|
|
11 |
].join(", ")
|
12 |
|
13 |
const initialActionnables = [
|
14 |
-
"
|
15 |
"face",
|
16 |
"person",
|
17 |
"building",
|
|
|
11 |
].join(", ")
|
12 |
|
13 |
const initialActionnables = [
|
14 |
+
"sun",
|
15 |
"face",
|
16 |
"person",
|
17 |
"building",
|
src/app/games/nexus.ts
CHANGED
@@ -14,9 +14,9 @@ const initialActionnables = [
|
|
14 |
"person",
|
15 |
"building",
|
16 |
"sidewalk",
|
17 |
-
"spaceship",
|
18 |
"object",
|
19 |
"window",
|
|
|
20 |
"floor",
|
21 |
"door"
|
22 |
]
|
|
|
14 |
"person",
|
15 |
"building",
|
16 |
"sidewalk",
|
|
|
17 |
"object",
|
18 |
"window",
|
19 |
+
"light",
|
20 |
"floor",
|
21 |
"door"
|
22 |
]
|
src/app/games/pharaoh.ts
CHANGED
@@ -14,7 +14,7 @@ const initialActionnables = [
|
|
14 |
"tree",
|
15 |
"river",
|
16 |
"boat",
|
17 |
-
"
|
18 |
]
|
19 |
|
20 |
export const game: Game = {
|
|
|
14 |
"tree",
|
15 |
"river",
|
16 |
"boat",
|
17 |
+
"sun"
|
18 |
]
|
19 |
|
20 |
export const game: Game = {
|
src/app/games/pirates.ts
CHANGED
@@ -35,7 +35,7 @@ const initialActionnables = [
|
|
35 |
"lock",
|
36 |
"barrel",
|
37 |
"tree",
|
38 |
-
"
|
39 |
// skull
|
40 |
// "door",
|
41 |
// "window",
|
|
|
35 |
"lock",
|
36 |
"barrel",
|
37 |
"tree",
|
38 |
+
"sun"
|
39 |
// skull
|
40 |
// "door",
|
41 |
// "window",
|
src/app/games/tensor.ts
CHANGED
@@ -14,7 +14,7 @@ const initialActionnables = [
|
|
14 |
"person",
|
15 |
"building",
|
16 |
"sidewalk",
|
17 |
-
"
|
18 |
"object",
|
19 |
"window",
|
20 |
"floor",
|
|
|
14 |
"person",
|
15 |
"building",
|
16 |
"sidewalk",
|
17 |
+
"sun",
|
18 |
"object",
|
19 |
"window",
|
20 |
"floor",
|
src/app/games/vernian.ts
CHANGED
@@ -12,7 +12,7 @@ const initialActionnables = [
|
|
12 |
"door",
|
13 |
"table",
|
14 |
"chair",
|
15 |
-
"
|
16 |
"gear",
|
17 |
"machine",
|
18 |
"window",
|
|
|
12 |
"door",
|
13 |
"table",
|
14 |
"chair",
|
15 |
+
"sun",
|
16 |
"gear",
|
17 |
"machine",
|
18 |
"window",
|
src/components/business/renderer.tsx
CHANGED
@@ -182,7 +182,7 @@ export const Renderer = ({
|
|
182 |
<div className="w-full pt-2">
|
183 |
<div
|
184 |
className={[
|
185 |
-
"relative border-2 border-gray-50 rounded-xl overflow-hidden",
|
186 |
engine.type === "cartesian_video"
|
187 |
|| engine.type === "cartesian_image"
|
188 |
? " w-full" // w-[1024px] h-[512px]"
|
|
|
182 |
<div className="w-full pt-2">
|
183 |
<div
|
184 |
className={[
|
185 |
+
"relative border-2 border-gray-50 rounded-xl overflow-hidden min-h-[512px]",
|
186 |
engine.type === "cartesian_video"
|
187 |
|| engine.type === "cartesian_image"
|
188 |
? " w-full" // w-[1024px] h-[512px]"
|
src/components/business/spherical-image.tsx
CHANGED
@@ -38,6 +38,7 @@ export function SphericalImage({
|
|
38 |
const options = {
|
39 |
defaultZoomLvl,
|
40 |
fisheye: false, // ..no!
|
|
|
41 |
overlayOpacity: debug ? 0.5 : 0,
|
42 |
/*
|
43 |
panoData: {
|
@@ -122,7 +123,7 @@ export function SphericalImage({
|
|
122 |
|
123 |
// TODO we should separate all those updates, probaby
|
124 |
viewer.setOptions(newOptions)
|
125 |
-
viewer.setOverlay(rendered.maskUrl || undefined)
|
126 |
|
127 |
// console.log("SphericalImage: asking to re-render")
|
128 |
viewerRef.current.needsUpdate()
|
|
|
38 |
const options = {
|
39 |
defaultZoomLvl,
|
40 |
fisheye: false, // ..no!
|
41 |
+
overlay: rendered.maskUrl || undefined,
|
42 |
overlayOpacity: debug ? 0.5 : 0,
|
43 |
/*
|
44 |
panoData: {
|
|
|
123 |
|
124 |
// TODO we should separate all those updates, probaby
|
125 |
viewer.setOptions(newOptions)
|
126 |
+
// viewer.setOverlay(rendered.maskUrl || undefined)
|
127 |
|
128 |
// console.log("SphericalImage: asking to re-render")
|
129 |
viewerRef.current.needsUpdate()
|