@pinkaphant/create-kolmo 0.1.1 → 0.1.2
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/bin/create-kolmo.mjs +19 -17
- package/package.json +1 -1
package/bin/create-kolmo.mjs
CHANGED
|
@@ -50,7 +50,7 @@ const pkgJson = {
|
|
|
50
50
|
dependencies: {
|
|
51
51
|
"@dimforge/rapier3d-compat": "0.19.2",
|
|
52
52
|
"@khr3/c12": "^0.3.12",
|
|
53
|
-
"@khr3/core": "^0.2.
|
|
53
|
+
"@khr3/core": "^0.2.15",
|
|
54
54
|
"@khr3/roads": "^0.1.1",
|
|
55
55
|
"@pinkaphant/ecctrl": "2.0.4-beta.5",
|
|
56
56
|
"@pinkaphant/kolmo": "^0.5.5",
|
|
@@ -189,23 +189,25 @@ export default function App() {
|
|
|
189
189
|
}, []);
|
|
190
190
|
|
|
191
191
|
return (
|
|
192
|
-
|
|
193
|
-
<
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
192
|
+
<>
|
|
193
|
+
<Game skybox="day">
|
|
194
|
+
<Terrain heights={heights} segments={128} size={[320, 320]} />
|
|
195
|
+
<Vehicle id="r34" src={\`\${VAULT}/cars/nissan_skyline_r34.glb\`} position={startPos} />
|
|
196
|
+
<Prop src={\`\${VAULT}/city/door_hinged_single_900x2100.glb\`} position={lotPos} fixed />
|
|
197
|
+
<Actor ref={actorRef} position={[startPos[0] - 3.2, startPos[1] + 0.8, startPos[2]]} />
|
|
198
|
+
<Toolgun
|
|
199
|
+
src={\`\${VAULT}/weapons/kolmogorov_pistol.glb\`}
|
|
200
|
+
actorRef={actorRef}
|
|
201
|
+
defaultArmedAsset={{
|
|
202
|
+
id: "supra",
|
|
203
|
+
name: "Supra A80",
|
|
204
|
+
src: \`\${VAULT}/cars/toyota_supra_a80.glb\`,
|
|
205
|
+
kind: "vehicle",
|
|
206
|
+
}}
|
|
207
|
+
/>
|
|
208
|
+
</Game>
|
|
207
209
|
<Hud />
|
|
208
|
-
|
|
210
|
+
</>
|
|
209
211
|
);
|
|
210
212
|
}
|
|
211
213
|
`,
|
package/package.json
CHANGED