@kubohiroya/turbowarp-bubble 0.3.0 → 0.4.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.
@@ -71,7 +71,7 @@
71
71
  <p>このマニュアルでは、<code>turbowarp-bubble</code>をTurboWarpのカスタム拡張機能として使い、SVG本体、文字、キャラクター表情、目パチ、口パク、「次へ」アイコンを組み合わせたBubbleを表示します。</p>
72
72
  <p><img src="../assets/block-quick-start.svg" alt="Next1とNext2を個別登録し、入力listenerを準備してBubble内蔵待機を使うブロック例"></p>
73
73
  <h2 id="requirements">1. 必要な拡張機能</h2>
74
- <p>入力待ちを含む完全な例では6つの拡張機能を使います。TurboWarpの拡張機能ライブラリからTemporary Variablesを追加し、選択した機能に必要なカスタム拡張機能を「サンドボックスなしで実行」を許可して読み込みます。文字BubbleにはSVG TextとBubbleが必要です。portrait、lip-sync、continue indicator、フルボイス、表示効果音などのメディアアセットにはAsset Managerが必要です。Async InputとRuntime ExpressionはBubble待機を使う場合だけ必要です。</p>
74
+ <p>入力待ちを含む完全な例では6つの拡張機能を使います。TurboWarpの拡張機能ライブラリからTemporary Variablesを追加し、選択した機能に必要なカスタム拡張機能を「サンドボックスなしで実行」を許可して読み込みます。Bubbleは文字Bubbleの既定<code>BubbleTextCapability</code> adapterとしてSVG Textを使います。portrait、lip-sync、continue indicator、フルボイス、表示効果音などのメディアアセットにはAsset Managerが必要です。Async InputとRuntime ExpressionはBubble待機を使う場合だけ必要です。</p>
75
75
  <table>
76
76
  <thead>
77
77
  <tr>
@@ -107,11 +107,11 @@
107
107
  </tr>
108
108
  <tr>
109
109
  <td align="right">6</td>
110
- <td>Bubble 0.3.0</td>
111
- <td>npm公開後は<code>https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-bubble@0.3.0/dist/turbowarp-bubble.js</code></td>
110
+ <td>Bubble 0.4.0</td>
111
+ <td>npm公開後は<code>https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-bubble@0.4.0/dist/turbowarp-bubble.js</code></td>
112
112
  </tr>
113
113
  </tbody></table>
114
- <p>開発中のBubbleを試す場合は、このリポジトリの<code>dist/turbowarp-bubble.js</code>をローカルカスタム拡張機能として読み込みます。表示時にSVG Textが、画像・メディア機能の使用時にAsset Managerが、待機開始時にAsync InputかRuntime Expressionが見つからなければ、Bubbleは明示的なエラーを返します。</p>
114
+ <p>開発中のBubbleを試す場合は、このリポジトリの<code>dist/turbowarp-bubble.js</code>をローカルカスタム拡張機能として読み込みます。表示時に既定のSVG Text adapterが、画像・メディア機能の使用時にAsset Managerが、待機開始時にAsync InputかRuntime Expressionが見つからなければ、Bubbleは明示的なエラーを返します。低レベルComposition APIでは別のtext capabilityを注入でき、その場合SVG Textは不要です。</p>
115
115
  <p>参考:</p>
116
116
  <ul>
117
117
  <li><a href="https://kubohiroya.github.io/turbowarp-asset-manager/ja/">Asset Manager 日本語ガイド</a></li>
@@ -483,7 +483,7 @@ think [MESSAGE] with bubble style [STYLE]
483
483
  <td>画像・メディアアセットを使う前にAsset Manager 0.7.xを読み込む</td>
484
484
  </tr>
485
485
  <tr>
486
- <td>SVG Textを要求するエラー</td>
486
+ <td>既定text adapterを要求するエラー</td>
487
487
  <td>SVG Text 0.4.xをサンドボックスなしで読み込む</td>
488
488
  </tr>
489
489
  <tr>
@@ -528,7 +528,7 @@ think [MESSAGE] with bubble style [STYLE]
528
528
  </tr>
529
529
  </tbody></table>
530
530
  <h2>13. 自動解放されるタイミング</h2>
531
- <p>次の場合、Bubbleが所有するtimer、SVG Text skin、renderer drawableは自動的に解放されます。</p>
531
+ <p>次の場合、Bubbleが所有するtimer、text skin、renderer drawableは自動的に解放されます。</p>
532
532
  <ul>
533
533
  <li><code>close this bubble</code></li>
534
534
  <li>同じsprite/cloneで次の<code>say</code>または<code>think</code>を実行したとき</li>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubohiroya/turbowarp-bubble",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "Composable say and think bubbles with portrait layers and animated continue indicators for TurboWarp.",
5
5
  "author": "Hiroya Kubo <hiroya@cuc.ac.jp>",
6
6
  "type": "module",
@@ -81,6 +81,9 @@
81
81
  },
82
82
  "@kubohiroya/turbowarp-runtime-expression": {
83
83
  "optional": true
84
+ },
85
+ "@kubohiroya/turbowarp-svg-text": {
86
+ "optional": true
84
87
  }
85
88
  },
86
89
  "devDependencies": {