@pinkaphant/create-kolmo 0.4.0 → 0.4.1
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
CHANGED
|
@@ -65,7 +65,7 @@ fs.writeFileSync(templatePkgPath, JSON.stringify(templatePkg, null, 2) + "\n");
|
|
|
65
65
|
|
|
66
66
|
const indexHtmlPath = path.join(root, "index.html");
|
|
67
67
|
if (fs.existsSync(indexHtmlPath)) {
|
|
68
|
-
const html = fs.readFileSync(indexHtmlPath, "utf8").replace(/<title>
|
|
68
|
+
const html = fs.readFileSync(indexHtmlPath, "utf8").replace(/<title>[^<]*<\/title>/, `<title>${pkgName}</title>`);
|
|
69
69
|
fs.writeFileSync(indexHtmlPath, html);
|
|
70
70
|
}
|
|
71
71
|
|
package/package.json
CHANGED
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
"@dimforge/rapier3d-compat": "0.19.2",
|
|
15
15
|
"@khr3/core": "^0.2.20",
|
|
16
16
|
"@pinkaphant/ecctrl": "2.0.4-beta.9",
|
|
17
|
-
"@pinkaphant/kolmo": "^0.
|
|
17
|
+
"@pinkaphant/kolmo": "^0.14.0",
|
|
18
18
|
"@react-three/drei": "^10.7.7",
|
|
19
19
|
"@react-three/fiber": "^9.6.1",
|
|
20
20
|
"@react-three/rapier": "^2.2.0",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"@khr3/core": "^0.2.20",
|
|
16
16
|
"@khr3/roads": "^0.1.2",
|
|
17
17
|
"@pinkaphant/ecctrl": "2.0.4-beta.9",
|
|
18
|
-
"@pinkaphant/kolmo": "^0.
|
|
18
|
+
"@pinkaphant/kolmo": "^0.14.0",
|
|
19
19
|
"@react-three/drei": "^10.7.7",
|
|
20
20
|
"@react-three/fiber": "^9.6.1",
|
|
21
21
|
"@react-three/rapier": "^2.2.0",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"dependencies": {
|
|
14
14
|
"@dimforge/rapier3d-compat": "0.19.2",
|
|
15
15
|
"@pinkaphant/ecctrl": "2.0.4-beta.9",
|
|
16
|
-
"@pinkaphant/kolmo": "^0.
|
|
16
|
+
"@pinkaphant/kolmo": "^0.14.0",
|
|
17
17
|
"@react-three/fiber": "^9.6.1",
|
|
18
18
|
"@react-three/rapier": "^2.2.0",
|
|
19
19
|
"react": "^19.2.7",
|
package/templates/road/README.md
CHANGED
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
# Kolmo Road Sandbox
|
|
2
2
|
|
|
3
|
-
Seeded
|
|
3
|
+
Seeded `@khr3/roads` spline carriageway (`<RoadRibbon>`), cyclotomic `@khr3/c12` village (`<Settlement>`), Skyline R34, on-foot pilot controller, `<Toolgun>`, `<Radar>`, and zero-UI `.glb` window drop-to-drive.
|
|
4
4
|
|
|
5
5
|
- **WASD** / **Arrows**: Move or drive
|
|
6
|
+
- **Space**: Jump (on foot) / handbrake
|
|
6
7
|
- **Shift**: Sprint / boost
|
|
7
8
|
- **E** / **F**: Board or exit vehicle
|
|
8
9
|
- **R**: Flip vehicle upright
|
|
9
10
|
- **T** / **Right-Click**: Spawn armed vehicle
|
|
11
|
+
- **Drag & Drop `.glb`**: Auto-rig, spawn, and board any car `.glb`
|
|
10
12
|
|
|
11
13
|
```bash
|
|
12
14
|
npm create @pinkaphant/kolmo@latest my-road-game
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"@khr3/core": "^0.2.20",
|
|
17
17
|
"@khr3/roads": "^0.1.2",
|
|
18
18
|
"@pinkaphant/ecctrl": "2.0.4-beta.9",
|
|
19
|
-
"@pinkaphant/kolmo": "^0.
|
|
19
|
+
"@pinkaphant/kolmo": "^0.14.0",
|
|
20
20
|
"@react-three/drei": "^10.7.7",
|
|
21
21
|
"@react-three/fiber": "^9.6.1",
|
|
22
22
|
"@react-three/rapier": "^2.2.0",
|