@robotical/martyblocksjr 3.5.23 → 3.5.25
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.
|
@@ -1045,7 +1045,7 @@
|
|
|
1045
1045
|
"COG_JRBLOCKS13_STEP_48_TEXT": "<p><b>Well done!</b><br />Now, using everything you've learned before, continue the story and make an adventure for Marty and the unicorn",
|
|
1046
1046
|
"MARTY_JRBLOCKS1_TITLE": "Getting Marty Moving",
|
|
1047
1047
|
"MARTY_JRBLOCKS1_STEP_1_TEXT": "In this tutorial, we're going to learn how to use basic functions in BlocksJr.",
|
|
1048
|
-
"MARTY_JRBLOCKS1_STEP_2_TEXT": "First, let's
|
|
1048
|
+
"MARTY_JRBLOCKS1_STEP_2_TEXT": "First, let's flip to the <b>Marty mode</b> by clicking the Marty mode toggle on the top right of the screen.",
|
|
1049
1049
|
"MARTY_JRBLOCKS1_STEP_3_TEXT": "These puzzle piece shaped blocks are called <b/>functions</b>.<br/><br/>Functions are like actions, a piece of code that tells Marty <i/>“hey, do this!”",
|
|
1050
1050
|
"MARTY_JRBLOCKS1_STEP_4_TEXT": "Some functions tell Marty to <b/>go</b>",
|
|
1051
1051
|
"MARTY_JRBLOCKS1_STEP_5_TEXT": "Some functions tell Marty to <b/>stop</b>",
|
package/package.json
CHANGED
package/tutorial.ts
CHANGED
|
@@ -9,7 +9,9 @@ type ActionType =
|
|
|
9
9
|
| "ShowCategory"
|
|
10
10
|
| "HighlightBlocks"
|
|
11
11
|
| "DragBlockToScriptArea"
|
|
12
|
-
| "ShowMartyMode"
|
|
12
|
+
| "ShowMartyMode"
|
|
13
|
+
| "WaitForTime"
|
|
14
|
+
| "ClickOnElement";
|
|
13
15
|
|
|
14
16
|
type UIElement = "nextStep" | "cogConnectionButton" | "martyConnectionButton" | "cog-start" | "sprite-start" | "martyMode" | "marty-motion";
|
|
15
17
|
|
|
@@ -22,6 +24,8 @@ type Action = {
|
|
|
22
24
|
category?: Category;
|
|
23
25
|
blocks?: Block[];
|
|
24
26
|
block?: Block;
|
|
27
|
+
time?: number;
|
|
28
|
+
wait?: number;
|
|
25
29
|
};
|
|
26
30
|
|
|
27
31
|
type TutorialStep = {
|