scratch-blocks 2.0.0-spork.5 → 2.0.0-spork.7
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/.nvmrc +1 -1
- package/dist/main.js +1 -1
- package/dist/main.js.LICENSE.txt +6 -0
- package/msg/js/en.js +1 -0
- package/msg/json/en.json +2 -1
- package/msg/messages.js +1 -0
- package/msg/scratch_msgs.js +117 -37
- package/package.json +10 -10
- package/src/blocks/sensing.ts +12 -0
- package/src/constants.ts +9 -0
- package/src/index.ts +21 -2
- package/src/renderer/bowler_hat.ts +3 -2
- package/src/renderer/cat/cat_face.ts +226 -0
- package/src/renderer/cat/constants.ts +136 -0
- package/src/renderer/cat/drawer.ts +63 -0
- package/src/renderer/cat/path_object.ts +16 -0
- package/src/renderer/cat/render_info.ts +15 -0
- package/src/renderer/cat/renderer.ts +34 -0
- package/src/renderer/constants.ts +16 -2
- package/src/renderer/drawer.ts +17 -10
- package/src/renderer/path_object.ts +1 -1
- package/src/renderer/render_info.ts +15 -7
- package/src/renderer/renderer.ts +16 -6
- package/CHANGELOG.md +0 -1157
package/dist/main.js.LICENSE.txt
CHANGED
package/msg/js/en.js
CHANGED
|
@@ -219,6 +219,7 @@ Blockly.Msg["SENSING_CURRENT_HOUR"] = "hour";
|
|
|
219
219
|
Blockly.Msg["SENSING_CURRENT_MINUTE"] = "minute";
|
|
220
220
|
Blockly.Msg["SENSING_CURRENT_SECOND"] = "second";
|
|
221
221
|
Blockly.Msg["SENSING_DAYSSINCE2000"] = "days since 2000";
|
|
222
|
+
Blockly.Msg["SENSING_ONLINE"] = "online?";
|
|
222
223
|
Blockly.Msg["SENSING_USERNAME"] = "username";
|
|
223
224
|
Blockly.Msg["SENSING_USERID"] = "user id";
|
|
224
225
|
Blockly.Msg["SOUND_PLAY"] = "start sound %1";
|
package/msg/json/en.json
CHANGED
|
@@ -213,6 +213,7 @@
|
|
|
213
213
|
"SENSING_CURRENT_MINUTE": "minute",
|
|
214
214
|
"SENSING_CURRENT_SECOND": "second",
|
|
215
215
|
"SENSING_DAYSSINCE2000": "days since 2000",
|
|
216
|
+
"SENSING_ONLINE": "online?",
|
|
216
217
|
"SENSING_USERNAME": "username",
|
|
217
218
|
"SENSING_USERID": "user id",
|
|
218
219
|
"SOUND_PLAY": "start sound %1",
|
|
@@ -282,4 +283,4 @@
|
|
|
282
283
|
"NEW_BROADCAST_MESSAGE_TITLE": "New message name:",
|
|
283
284
|
"BROADCAST_MODAL_TITLE": "New Message",
|
|
284
285
|
"DEFAULT_BROADCAST_MESSAGE_NAME": "message1"
|
|
285
|
-
}
|
|
286
|
+
}
|
package/msg/messages.js
CHANGED
|
@@ -262,6 +262,7 @@ Blockly.Msg.SENSING_CURRENT_HOUR = 'hour';
|
|
|
262
262
|
Blockly.Msg.SENSING_CURRENT_MINUTE = 'minute';
|
|
263
263
|
Blockly.Msg.SENSING_CURRENT_SECOND = 'second';
|
|
264
264
|
Blockly.Msg.SENSING_DAYSSINCE2000 = 'days since 2000';
|
|
265
|
+
Blockly.Msg.SENSING_ONLINE = 'online?';
|
|
265
266
|
Blockly.Msg.SENSING_USERNAME = 'username';
|
|
266
267
|
Blockly.Msg.SENSING_USERID = 'user id';
|
|
267
268
|
|