@kubohiroya/turbowarp-aframe 0.8.1 → 0.10.0
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/README.ja.md +6 -3
- package/README.md +6 -3
- package/assets/block-icon.svg +1 -0
- package/dist/turbowarp-aframe.js +17872 -16606
- package/docs/index.html +9 -3
- package/package.json +9 -8
package/README.ja.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# TurboWarp-A-Frame
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<img src="assets/block-icon.svg" alt="" width="48" height="48">
|
|
4
|
+
|
|
5
|
+
[English](README.md) | 日本語
|
|
4
6
|
|
|
5
7
|
TurboWarp-A-Frame は、TurboWarp のブロックから宣言型の A-Frame シーングラフを構築する unsandboxed 拡張です。
|
|
6
8
|
|
|
@@ -19,7 +21,7 @@ Scratch のスプライトや背景を 3D オブジェクトとして扱うの
|
|
|
19
21
|
|
|
20
22
|
## 要件と安全性
|
|
21
23
|
|
|
22
|
-
- Node.js
|
|
24
|
+
- Node.js 24 以上
|
|
23
25
|
- Corepack 経由の pnpm
|
|
24
26
|
- TurboWarp の unsandboxed extension support
|
|
25
27
|
- jsDelivrへ接続できること。`create 3D scene`はそこからA-Frame 1.8.0を、versionとsubresource integrityで固定して読み込みます。自前のコピーを配信するオフライン会場のように、ページにA-Frame 1.8.0がすでにあれば何も読み込まず、ほかのversionがあれば拒否します
|
|
@@ -66,6 +68,7 @@ version 2は、scene操作に加えてVRMアバターを扱います。`loadVrm`
|
|
|
66
68
|
## インストール
|
|
67
69
|
|
|
68
70
|
```bash
|
|
71
|
+
npm install --global corepack@latest
|
|
69
72
|
corepack enable
|
|
70
73
|
pnpm install --frozen-lockfile
|
|
71
74
|
```
|
|
@@ -81,7 +84,7 @@ TurboWarp では `dist/turbowarp-aframe.js` を unsandboxed custom extension と
|
|
|
81
84
|
package として参照する場合は version を固定します。
|
|
82
85
|
|
|
83
86
|
```bash
|
|
84
|
-
pnpm add --save-exact @kubohiroya/turbowarp-aframe@0.
|
|
87
|
+
pnpm add --save-exact @kubohiroya/turbowarp-aframe@0.10.0
|
|
85
88
|
```
|
|
86
89
|
|
|
87
90
|
## ブロック概要
|
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# TurboWarp-A-Frame
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
<img src="assets/block-icon.svg" alt="" width="48" height="48">
|
|
4
|
+
|
|
5
|
+
English | [日本語](README.ja.md)
|
|
4
6
|
|
|
5
7
|
TurboWarp-A-Frame is an unsandboxed TurboWarp extension for building declarative A-Frame scene graphs from blocks.
|
|
6
8
|
|
|
@@ -19,7 +21,7 @@ It treats TurboWarp sprites and backdrops as places to run 3D scene logic, not a
|
|
|
19
21
|
|
|
20
22
|
## Requirements and safety
|
|
21
23
|
|
|
22
|
-
- Node.js
|
|
24
|
+
- Node.js 24 or newer
|
|
23
25
|
- Corepack-managed pnpm
|
|
24
26
|
- TurboWarp unsandboxed extension support
|
|
25
27
|
- Network access to jsDelivr, from which `create 3D scene` loads A-Frame 1.8.0 pinned by version and subresource integrity; a page that already has A-Frame 1.8.0, such as an offline venue serving its own copy, loads nothing, and any other A-Frame version on the page is refused
|
|
@@ -66,6 +68,7 @@ The capability deliberately exposes declarative templates, selectors, and humano
|
|
|
66
68
|
## Install
|
|
67
69
|
|
|
68
70
|
```bash
|
|
71
|
+
npm install --global corepack@latest
|
|
69
72
|
corepack enable
|
|
70
73
|
pnpm install --frozen-lockfile
|
|
71
74
|
```
|
|
@@ -81,7 +84,7 @@ Load `dist/turbowarp-aframe.js` as an unsandboxed custom extension in TurboWarp.
|
|
|
81
84
|
For package-based reuse, pin the version:
|
|
82
85
|
|
|
83
86
|
```bash
|
|
84
|
-
pnpm add --save-exact @kubohiroya/turbowarp-aframe@0.
|
|
87
|
+
pnpm add --save-exact @kubohiroya/turbowarp-aframe@0.10.0
|
|
85
88
|
```
|
|
86
89
|
|
|
87
90
|
## Block reference
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><rect x="6" y="8" width="36" height="32" rx="4" fill="#121826"/><path d="M14 32l9-18 9 18h-4l-2-5h-6l-2 5h-4Zm7.4-8h3.2l-1.6-4.1-1.6 4.1Z" fill="#4CFFB0"/><circle cx="36" cy="14" r="4" fill="#FFAB19"/></svg>
|