@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.
@@ -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.14",
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
- <Game skybox="day">
193
- <Terrain heights={heights} segments={128} size={[320, 320]} />
194
- <Vehicle id="r34" src={\`\${VAULT}/cars/nissan_skyline_r34.glb\`} position={startPos} />
195
- <Prop src={\`\${VAULT}/city/door_hinged_single_900x2100.glb\`} position={lotPos} fixed />
196
- <Actor ref={actorRef} position={[startPos[0] - 3.2, startPos[1] + 0.8, startPos[2]]} />
197
- <Toolgun
198
- src={\`\${VAULT}/weapons/kolmogorov_pistol.glb\`}
199
- actorRef={actorRef}
200
- defaultArmedAsset={{
201
- id: "supra",
202
- name: "Supra A80",
203
- src: \`\${VAULT}/cars/toyota_supra_a80.glb\`,
204
- kind: "vehicle",
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
- </Game>
210
+ </>
209
211
  );
210
212
  }
211
213
  `,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pinkaphant/create-kolmo",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "Scaffold a new @pinkaphant/kolmo + @khr3/core + @khr3/roads + @khr3/c12 3D physics game in one command",
5
5
  "license": "MIT",
6
6
  "type": "module",