@kubohiroya/turbowarp-bubble 0.1.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/LICENSE +8 -0
- package/README.md +293 -0
- package/THIRD_PARTY_NOTICES.md +123 -0
- package/dist/composition.js +4317 -0
- package/dist/extension-manifest.json +245 -0
- package/dist/turbowarp-adapter.js +3977 -0
- package/dist/turbowarp-bubble.js +7887 -0
- package/dist/types/actor-transform.d.ts +36 -0
- package/dist/types/bubble-svg.d.ts +36 -0
- package/dist/types/composition.d.ts +121 -0
- package/dist/types/placement.d.ts +24 -0
- package/dist/types/text-layout.d.ts +42 -0
- package/dist/types/turbowarp-adapter.d.ts +69 -0
- package/docs/.nojekyll +1 -0
- package/docs/assets/actor-transform-guide.svg +68 -0
- package/docs/assets/animation-mode-guide.svg +126 -0
- package/docs/assets/block-quick-start.svg +230 -0
- package/docs/assets/bubble-lifecycle.gif +0 -0
- package/docs/assets/bubble-style-gallery.svg +138 -0
- package/docs/assets/placement-guide.svg +292 -0
- package/docs/assets/width-linebreak-guide.svg +99 -0
- package/docs/block-manual.ja.md +292 -0
- package/docs/block-manual.md +292 -0
- package/docs/index.html +486 -0
- package/docs/ja/index.html +486 -0
- package/package.json +104 -0
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
{
|
|
2
|
+
"formatVersion": 1,
|
|
3
|
+
"id": "kubohiroyabubble",
|
|
4
|
+
"blocks": [
|
|
5
|
+
{
|
|
6
|
+
"opcode": "closeBubble",
|
|
7
|
+
"blockType": "COMMAND",
|
|
8
|
+
"arguments": []
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"opcode": "defineBubbleStyle",
|
|
12
|
+
"blockType": "COMMAND",
|
|
13
|
+
"arguments": [
|
|
14
|
+
{
|
|
15
|
+
"id": "STYLE",
|
|
16
|
+
"type": "STRING"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"id": "TEXT_STYLE",
|
|
20
|
+
"type": "STRING"
|
|
21
|
+
}
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"opcode": "getVersion",
|
|
26
|
+
"blockType": "REPORTER",
|
|
27
|
+
"arguments": []
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"opcode": "sayWithBubbleStyle",
|
|
31
|
+
"blockType": "COMMAND",
|
|
32
|
+
"arguments": [
|
|
33
|
+
{
|
|
34
|
+
"id": "MESSAGE",
|
|
35
|
+
"type": "STRING"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"id": "STYLE",
|
|
39
|
+
"type": "STRING"
|
|
40
|
+
}
|
|
41
|
+
]
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"opcode": "setAdvanceFrames",
|
|
45
|
+
"blockType": "COMMAND",
|
|
46
|
+
"arguments": [
|
|
47
|
+
{
|
|
48
|
+
"id": "ASSETS",
|
|
49
|
+
"type": "STRING"
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"id": "SECONDS",
|
|
53
|
+
"type": "NUMBER"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"id": "STYLE",
|
|
57
|
+
"type": "STRING"
|
|
58
|
+
}
|
|
59
|
+
]
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"opcode": "setBlinkFrames",
|
|
63
|
+
"blockType": "COMMAND",
|
|
64
|
+
"arguments": [
|
|
65
|
+
{
|
|
66
|
+
"id": "ASSETS",
|
|
67
|
+
"type": "STRING"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"id": "SECONDS",
|
|
71
|
+
"type": "NUMBER"
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"id": "STYLE",
|
|
75
|
+
"type": "STRING"
|
|
76
|
+
}
|
|
77
|
+
]
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"opcode": "setBubbleAnimationMode",
|
|
81
|
+
"blockType": "COMMAND",
|
|
82
|
+
"arguments": [
|
|
83
|
+
{
|
|
84
|
+
"id": "MODE",
|
|
85
|
+
"type": "STRING",
|
|
86
|
+
"menu": "animationMode"
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"opcode": "setBubbleDistance",
|
|
92
|
+
"blockType": "COMMAND",
|
|
93
|
+
"arguments": [
|
|
94
|
+
{
|
|
95
|
+
"id": "DISTANCE",
|
|
96
|
+
"type": "NUMBER"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"id": "STYLE",
|
|
100
|
+
"type": "STRING"
|
|
101
|
+
}
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"opcode": "setBubbleOffset",
|
|
106
|
+
"blockType": "COMMAND",
|
|
107
|
+
"arguments": [
|
|
108
|
+
{
|
|
109
|
+
"id": "SCALE",
|
|
110
|
+
"type": "NUMBER"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"id": "STYLE",
|
|
114
|
+
"type": "STRING"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"id": "X",
|
|
118
|
+
"type": "NUMBER"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"id": "Y",
|
|
122
|
+
"type": "NUMBER"
|
|
123
|
+
}
|
|
124
|
+
]
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"opcode": "setBubblePlacement",
|
|
128
|
+
"blockType": "COMMAND",
|
|
129
|
+
"arguments": [
|
|
130
|
+
{
|
|
131
|
+
"id": "PLACEMENT",
|
|
132
|
+
"type": "STRING",
|
|
133
|
+
"menu": "placement"
|
|
134
|
+
},
|
|
135
|
+
{
|
|
136
|
+
"id": "STYLE",
|
|
137
|
+
"type": "STRING"
|
|
138
|
+
}
|
|
139
|
+
]
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"opcode": "setBubbleTailLength",
|
|
143
|
+
"blockType": "COMMAND",
|
|
144
|
+
"arguments": [
|
|
145
|
+
{
|
|
146
|
+
"id": "LENGTH",
|
|
147
|
+
"type": "NUMBER"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"id": "STYLE",
|
|
151
|
+
"type": "STRING"
|
|
152
|
+
}
|
|
153
|
+
]
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"opcode": "setBubbleVisualStyle",
|
|
157
|
+
"blockType": "COMMAND",
|
|
158
|
+
"arguments": [
|
|
159
|
+
{
|
|
160
|
+
"id": "STYLE",
|
|
161
|
+
"type": "STRING"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"id": "VISUAL_STYLE",
|
|
165
|
+
"type": "STRING",
|
|
166
|
+
"menu": "visualStyle"
|
|
167
|
+
}
|
|
168
|
+
]
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"opcode": "setPortraitBase",
|
|
172
|
+
"blockType": "COMMAND",
|
|
173
|
+
"arguments": [
|
|
174
|
+
{
|
|
175
|
+
"id": "ASSET",
|
|
176
|
+
"type": "STRING"
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"id": "STYLE",
|
|
180
|
+
"type": "STRING"
|
|
181
|
+
}
|
|
182
|
+
]
|
|
183
|
+
},
|
|
184
|
+
{
|
|
185
|
+
"opcode": "setTalkFrames",
|
|
186
|
+
"blockType": "COMMAND",
|
|
187
|
+
"arguments": [
|
|
188
|
+
{
|
|
189
|
+
"id": "ASSETS",
|
|
190
|
+
"type": "STRING"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"id": "SECONDS",
|
|
194
|
+
"type": "NUMBER"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"id": "STYLE",
|
|
198
|
+
"type": "STRING"
|
|
199
|
+
}
|
|
200
|
+
]
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"opcode": "thinkWithBubbleStyle",
|
|
204
|
+
"blockType": "COMMAND",
|
|
205
|
+
"arguments": [
|
|
206
|
+
{
|
|
207
|
+
"id": "MESSAGE",
|
|
208
|
+
"type": "STRING"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"id": "STYLE",
|
|
212
|
+
"type": "STRING"
|
|
213
|
+
}
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"opcode": "waitForBubbleAdvance",
|
|
218
|
+
"blockType": "COMMAND",
|
|
219
|
+
"arguments": [
|
|
220
|
+
{
|
|
221
|
+
"id": "CONDITION",
|
|
222
|
+
"type": "STRING"
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"id": "TIMEOUT",
|
|
226
|
+
"type": "NUMBER"
|
|
227
|
+
}
|
|
228
|
+
]
|
|
229
|
+
}
|
|
230
|
+
],
|
|
231
|
+
"menus": [
|
|
232
|
+
{
|
|
233
|
+
"id": "animationMode",
|
|
234
|
+
"acceptReporters": true
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"id": "placement",
|
|
238
|
+
"acceptReporters": true
|
|
239
|
+
},
|
|
240
|
+
{
|
|
241
|
+
"id": "visualStyle",
|
|
242
|
+
"acceptReporters": true
|
|
243
|
+
}
|
|
244
|
+
]
|
|
245
|
+
}
|