@kubohiroya/turbowarp-bubble 0.2.0 → 0.3.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/README.md +171 -89
- package/dist/composition.js +1005 -697
- package/dist/extension-manifest.json +224 -0
- package/dist/turbowarp-adapter.js +1333 -903
- package/dist/turbowarp-bubble.js +1158 -30
- package/dist/types/bubble-svg.d.ts +10 -0
- package/dist/types/composition.d.ts +47 -1
- package/dist/types/reveal.d.ts +26 -0
- package/dist/types/turbowarp-adapter.d.ts +2 -0
- package/docs/assets/animation-mode-guide.svg +3 -12
- package/docs/assets/bubble-lifecycle.gif +0 -0
- package/docs/block-manual.ja.md +71 -30
- package/docs/block-manual.md +71 -30
- package/docs/index.html +75 -11
- package/docs/ja/index.html +75 -11
- package/package.json +30 -26
|
@@ -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",
|
|
@@ -21,6 +51,44 @@
|
|
|
21
51
|
}
|
|
22
52
|
]
|
|
23
53
|
},
|
|
54
|
+
{
|
|
55
|
+
"opcode": "explodeBubble",
|
|
56
|
+
"blockType": "COMMAND",
|
|
57
|
+
"arguments": [
|
|
58
|
+
{
|
|
59
|
+
"id": "COUNT",
|
|
60
|
+
"type": "NUMBER"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"id": "EASE",
|
|
64
|
+
"type": "STRING",
|
|
65
|
+
"menu": "ease"
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"id": "SCALE",
|
|
69
|
+
"type": "NUMBER"
|
|
70
|
+
}
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"opcode": "finishBubbleReveal",
|
|
75
|
+
"blockType": "COMMAND",
|
|
76
|
+
"arguments": [
|
|
77
|
+
{
|
|
78
|
+
"id": "CONDITION",
|
|
79
|
+
"type": "STRING"
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"id": "TIMEOUT",
|
|
83
|
+
"type": "NUMBER"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"id": "UNIT",
|
|
87
|
+
"type": "STRING",
|
|
88
|
+
"menu": "revealUnit"
|
|
89
|
+
}
|
|
90
|
+
]
|
|
91
|
+
},
|
|
24
92
|
{
|
|
25
93
|
"opcode": "getVersion",
|
|
26
94
|
"blockType": "REPORTER",
|
|
@@ -83,6 +151,25 @@
|
|
|
83
151
|
}
|
|
84
152
|
]
|
|
85
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
|
+
},
|
|
86
173
|
{
|
|
87
174
|
"opcode": "setBubbleOffset",
|
|
88
175
|
"blockType": "COMMAND",
|
|
@@ -120,6 +207,63 @@
|
|
|
120
207
|
}
|
|
121
208
|
]
|
|
122
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
|
+
},
|
|
123
267
|
{
|
|
124
268
|
"opcode": "setBubbleTailLength",
|
|
125
269
|
"blockType": "COMMAND",
|
|
@@ -149,6 +293,39 @@
|
|
|
149
293
|
}
|
|
150
294
|
]
|
|
151
295
|
},
|
|
296
|
+
{
|
|
297
|
+
"opcode": "setBubbleVoice",
|
|
298
|
+
"blockType": "COMMAND",
|
|
299
|
+
"arguments": [
|
|
300
|
+
{
|
|
301
|
+
"id": "ASSET",
|
|
302
|
+
"type": "STRING"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"id": "STYLE",
|
|
306
|
+
"type": "STRING"
|
|
307
|
+
}
|
|
308
|
+
]
|
|
309
|
+
},
|
|
310
|
+
{
|
|
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
|
+
},
|
|
152
329
|
{
|
|
153
330
|
"opcode": "setContinueFrames",
|
|
154
331
|
"blockType": "COMMAND",
|
|
@@ -199,6 +376,25 @@
|
|
|
199
376
|
}
|
|
200
377
|
]
|
|
201
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",
|
|
@@ -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
|