@kubohiroya/turbowarp-bubble 0.1.1 → 0.3.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.md +355 -79
- package/dist/composition.js +972 -597
- package/dist/extension-manifest.json +240 -16
- package/dist/turbowarp-adapter.js +1728 -626
- package/dist/turbowarp-bubble.js +2811 -233
- package/dist/types/bubble-svg.d.ts +10 -0
- package/dist/types/composition.d.ts +96 -18
- package/dist/types/reveal.d.ts +26 -0
- package/dist/types/turbowarp-adapter.d.ts +12 -2
- package/docs/assets/animation-mode-guide.svg +5 -14
- package/docs/assets/block-quick-start.svg +8 -8
- package/docs/assets/bubble-lifecycle.gif +0 -0
- package/docs/block-manual.ja.md +88 -47
- package/docs/block-manual.md +95 -54
- package/docs/index.html +103 -39
- package/docs/ja/index.html +95 -31
- package/package.json +20 -7
|
@@ -2,6 +2,36 @@
|
|
|
2
2
|
"formatVersion": 1,
|
|
3
3
|
"id": "kubohiroyabubble",
|
|
4
4
|
"blocks": [
|
|
5
|
+
{
|
|
6
|
+
"opcode": "animateBubble",
|
|
7
|
+
"blockType": "COMMAND",
|
|
8
|
+
"arguments": [
|
|
9
|
+
{
|
|
10
|
+
"id": "MOTION",
|
|
11
|
+
"type": "STRING",
|
|
12
|
+
"menu": "motion"
|
|
13
|
+
}
|
|
14
|
+
]
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"opcode": "animateBubbleShape",
|
|
18
|
+
"blockType": "COMMAND",
|
|
19
|
+
"arguments": [
|
|
20
|
+
{
|
|
21
|
+
"id": "SECONDS",
|
|
22
|
+
"type": "NUMBER"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"id": "SPEED",
|
|
26
|
+
"type": "NUMBER"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"id": "VISUAL_STYLE",
|
|
30
|
+
"type": "STRING",
|
|
31
|
+
"menu": "visualStyle"
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
},
|
|
5
35
|
{
|
|
6
36
|
"opcode": "closeBubble",
|
|
7
37
|
"blockType": "COMMAND",
|
|
@@ -22,36 +52,56 @@
|
|
|
22
52
|
]
|
|
23
53
|
},
|
|
24
54
|
{
|
|
25
|
-
"opcode": "
|
|
26
|
-
"blockType": "REPORTER",
|
|
27
|
-
"arguments": []
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"opcode": "sayWithBubbleStyle",
|
|
55
|
+
"opcode": "explodeBubble",
|
|
31
56
|
"blockType": "COMMAND",
|
|
32
57
|
"arguments": [
|
|
33
58
|
{
|
|
34
|
-
"id": "
|
|
35
|
-
"type": "
|
|
59
|
+
"id": "COUNT",
|
|
60
|
+
"type": "NUMBER"
|
|
36
61
|
},
|
|
37
62
|
{
|
|
38
|
-
"id": "
|
|
39
|
-
"type": "STRING"
|
|
63
|
+
"id": "EASE",
|
|
64
|
+
"type": "STRING",
|
|
65
|
+
"menu": "ease"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"id": "SCALE",
|
|
69
|
+
"type": "NUMBER"
|
|
40
70
|
}
|
|
41
71
|
]
|
|
42
72
|
},
|
|
43
73
|
{
|
|
44
|
-
"opcode": "
|
|
74
|
+
"opcode": "finishBubbleReveal",
|
|
45
75
|
"blockType": "COMMAND",
|
|
46
76
|
"arguments": [
|
|
47
77
|
{
|
|
48
|
-
"id": "
|
|
78
|
+
"id": "CONDITION",
|
|
49
79
|
"type": "STRING"
|
|
50
80
|
},
|
|
51
81
|
{
|
|
52
|
-
"id": "
|
|
82
|
+
"id": "TIMEOUT",
|
|
53
83
|
"type": "NUMBER"
|
|
54
84
|
},
|
|
85
|
+
{
|
|
86
|
+
"id": "UNIT",
|
|
87
|
+
"type": "STRING",
|
|
88
|
+
"menu": "revealUnit"
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"opcode": "getVersion",
|
|
94
|
+
"blockType": "REPORTER",
|
|
95
|
+
"arguments": []
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"opcode": "sayWithBubbleStyle",
|
|
99
|
+
"blockType": "COMMAND",
|
|
100
|
+
"arguments": [
|
|
101
|
+
{
|
|
102
|
+
"id": "MESSAGE",
|
|
103
|
+
"type": "STRING"
|
|
104
|
+
},
|
|
55
105
|
{
|
|
56
106
|
"id": "STYLE",
|
|
57
107
|
"type": "STRING"
|
|
@@ -101,6 +151,25 @@
|
|
|
101
151
|
}
|
|
102
152
|
]
|
|
103
153
|
},
|
|
154
|
+
{
|
|
155
|
+
"opcode": "setBubbleHideAnimation",
|
|
156
|
+
"blockType": "COMMAND",
|
|
157
|
+
"arguments": [
|
|
158
|
+
{
|
|
159
|
+
"id": "MOTION",
|
|
160
|
+
"type": "STRING",
|
|
161
|
+
"menu": "hideMotion"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"id": "SECONDS",
|
|
165
|
+
"type": "NUMBER"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"id": "STYLE",
|
|
169
|
+
"type": "STRING"
|
|
170
|
+
}
|
|
171
|
+
]
|
|
172
|
+
},
|
|
104
173
|
{
|
|
105
174
|
"opcode": "setBubbleOffset",
|
|
106
175
|
"blockType": "COMMAND",
|
|
@@ -138,6 +207,63 @@
|
|
|
138
207
|
}
|
|
139
208
|
]
|
|
140
209
|
},
|
|
210
|
+
{
|
|
211
|
+
"opcode": "setBubbleReveal",
|
|
212
|
+
"blockType": "COMMAND",
|
|
213
|
+
"arguments": [
|
|
214
|
+
{
|
|
215
|
+
"id": "LAYOUT",
|
|
216
|
+
"type": "STRING",
|
|
217
|
+
"menu": "revealLayout"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
"id": "SECONDS",
|
|
221
|
+
"type": "NUMBER"
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"id": "STYLE",
|
|
225
|
+
"type": "STRING"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"id": "UNIT",
|
|
229
|
+
"type": "STRING",
|
|
230
|
+
"menu": "revealUnit"
|
|
231
|
+
}
|
|
232
|
+
]
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"opcode": "setBubbleRevealSound",
|
|
236
|
+
"blockType": "COMMAND",
|
|
237
|
+
"arguments": [
|
|
238
|
+
{
|
|
239
|
+
"id": "ASSET",
|
|
240
|
+
"type": "STRING"
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"id": "STYLE",
|
|
244
|
+
"type": "STRING"
|
|
245
|
+
}
|
|
246
|
+
]
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"opcode": "setBubbleShowAnimation",
|
|
250
|
+
"blockType": "COMMAND",
|
|
251
|
+
"arguments": [
|
|
252
|
+
{
|
|
253
|
+
"id": "MOTION",
|
|
254
|
+
"type": "STRING",
|
|
255
|
+
"menu": "showMotion"
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
"id": "SECONDS",
|
|
259
|
+
"type": "NUMBER"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"id": "STYLE",
|
|
263
|
+
"type": "STRING"
|
|
264
|
+
}
|
|
265
|
+
]
|
|
266
|
+
},
|
|
141
267
|
{
|
|
142
268
|
"opcode": "setBubbleTailLength",
|
|
143
269
|
"blockType": "COMMAND",
|
|
@@ -168,7 +294,7 @@
|
|
|
168
294
|
]
|
|
169
295
|
},
|
|
170
296
|
{
|
|
171
|
-
"opcode": "
|
|
297
|
+
"opcode": "setBubbleVoice",
|
|
172
298
|
"blockType": "COMMAND",
|
|
173
299
|
"arguments": [
|
|
174
300
|
{
|
|
@@ -182,7 +308,44 @@
|
|
|
182
308
|
]
|
|
183
309
|
},
|
|
184
310
|
{
|
|
185
|
-
"opcode": "
|
|
311
|
+
"opcode": "setBubbleWordDelimiters",
|
|
312
|
+
"blockType": "COMMAND",
|
|
313
|
+
"arguments": [
|
|
314
|
+
{
|
|
315
|
+
"id": "DELIMITERS",
|
|
316
|
+
"type": "STRING"
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
"id": "SHOW",
|
|
320
|
+
"type": "STRING",
|
|
321
|
+
"menu": "boolean"
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"id": "STYLE",
|
|
325
|
+
"type": "STRING"
|
|
326
|
+
}
|
|
327
|
+
]
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"opcode": "setContinueFrames",
|
|
331
|
+
"blockType": "COMMAND",
|
|
332
|
+
"arguments": [
|
|
333
|
+
{
|
|
334
|
+
"id": "ASSETS",
|
|
335
|
+
"type": "STRING"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"id": "SECONDS",
|
|
339
|
+
"type": "NUMBER"
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"id": "STYLE",
|
|
343
|
+
"type": "STRING"
|
|
344
|
+
}
|
|
345
|
+
]
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"opcode": "setLipSyncFrames",
|
|
186
349
|
"blockType": "COMMAND",
|
|
187
350
|
"arguments": [
|
|
188
351
|
{
|
|
@@ -199,6 +362,39 @@
|
|
|
199
362
|
}
|
|
200
363
|
]
|
|
201
364
|
},
|
|
365
|
+
{
|
|
366
|
+
"opcode": "setPortraitBase",
|
|
367
|
+
"blockType": "COMMAND",
|
|
368
|
+
"arguments": [
|
|
369
|
+
{
|
|
370
|
+
"id": "ASSET",
|
|
371
|
+
"type": "STRING"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"id": "STYLE",
|
|
375
|
+
"type": "STRING"
|
|
376
|
+
}
|
|
377
|
+
]
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"opcode": "shakeBubble",
|
|
381
|
+
"blockType": "COMMAND",
|
|
382
|
+
"arguments": [
|
|
383
|
+
{
|
|
384
|
+
"id": "COUNT",
|
|
385
|
+
"type": "NUMBER"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"id": "DIRECTION",
|
|
389
|
+
"type": "NUMBER"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"id": "EASE",
|
|
393
|
+
"type": "STRING",
|
|
394
|
+
"menu": "ease"
|
|
395
|
+
}
|
|
396
|
+
]
|
|
397
|
+
},
|
|
202
398
|
{
|
|
203
399
|
"opcode": "thinkWithBubbleStyle",
|
|
204
400
|
"blockType": "COMMAND",
|
|
@@ -214,7 +410,7 @@
|
|
|
214
410
|
]
|
|
215
411
|
},
|
|
216
412
|
{
|
|
217
|
-
"opcode": "
|
|
413
|
+
"opcode": "waitForBubbleContinue",
|
|
218
414
|
"blockType": "COMMAND",
|
|
219
415
|
"arguments": [
|
|
220
416
|
{
|
|
@@ -233,10 +429,38 @@
|
|
|
233
429
|
"id": "animationMode",
|
|
234
430
|
"acceptReporters": true
|
|
235
431
|
},
|
|
432
|
+
{
|
|
433
|
+
"id": "boolean",
|
|
434
|
+
"acceptReporters": true
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"id": "ease",
|
|
438
|
+
"acceptReporters": true
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"id": "hideMotion",
|
|
442
|
+
"acceptReporters": true
|
|
443
|
+
},
|
|
444
|
+
{
|
|
445
|
+
"id": "motion",
|
|
446
|
+
"acceptReporters": true
|
|
447
|
+
},
|
|
236
448
|
{
|
|
237
449
|
"id": "placement",
|
|
238
450
|
"acceptReporters": true
|
|
239
451
|
},
|
|
452
|
+
{
|
|
453
|
+
"id": "revealLayout",
|
|
454
|
+
"acceptReporters": true
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"id": "revealUnit",
|
|
458
|
+
"acceptReporters": true
|
|
459
|
+
},
|
|
460
|
+
{
|
|
461
|
+
"id": "showMotion",
|
|
462
|
+
"acceptReporters": true
|
|
463
|
+
},
|
|
240
464
|
{
|
|
241
465
|
"id": "visualStyle",
|
|
242
466
|
"acceptReporters": true
|