diff --git a/docs/fll.md b/docs/fll.md index 4b916eb6..af02b673 100644 --- a/docs/fll.md +++ b/docs/fll.md @@ -29,7 +29,7 @@ We have compiled a guide for EV3 LabView users at https://makecode.mindstorms.co Go to https://makecode.mindstorms.com. The home screen is filled with videos, tutorials and examples that might be relevant for your missions. -On the home page, scroll down to the **FLL / City Shaper / Crane Mission** section for specific lessons related to Mission 2. +On the home page, scroll down to the **FLL / City Shaper** section for specific lessons related to Mission 2. ### Can I load both LEGO MINDSTORMS EV3 Software and MakeCode programs onto my EV3? @@ -37,7 +37,7 @@ Yes. ### Does it work without internet? -To make sure the editor works without internet, install the [offline app](/offline-app)! +No, the editor is cached in your browser cache. However, you can also download the [offline app](/offline-app) in case you need to install it on a computer. ### How do I figure out what a block does? diff --git a/docs/static/tutorials/pause-on-start.png b/docs/static/tutorials/pause-on-start.png new file mode 100644 index 00000000..453c943f Binary files /dev/null and b/docs/static/tutorials/pause-on-start.png differ diff --git a/docs/tutorials/brick.md b/docs/tutorials/brick.md index 082e9960..1b176991 100644 --- a/docs/tutorials/brick.md +++ b/docs/tutorials/brick.md @@ -27,6 +27,12 @@ "cardType": "tutorial", "url":"/tutorials/music-brick", "imageUrl":"/static/tutorials/music-brick.png" +}, { + "name": "Pause On Start", + "description": "Don't start running immediately!", + "cardType": "tutorial", + "url":"/tutorials/pause-on-start", + "imageUrl":"/static/tutorials/pause-on-start.png" }] ``` diff --git a/docs/tutorials/city-shaper.md b/docs/tutorials/city-shaper.md new file mode 100644 index 00000000..de009a17 --- /dev/null +++ b/docs/tutorials/city-shaper.md @@ -0,0 +1,25 @@ +# City Shaper + +## Tutorials + +```codecard +[ +{ + "name": "Crane Mission / Robot 1", + "description": "Learn the basics and build your first robot driving base.", + "cardType": "tutorial", + "url":"/tutorials/city-shaper/robot-1" +}, { + "name": "Crane Mission / Robot 2", + "description": "Program your robot to move in different ways.", + "cardType": "tutorial", + "url":"/tutorials/city-shaper/robot-2" +} +] +``` + +## See Also + +[Robot 1](/tutorials/city-shaper/robot-1), +[Robot 2](/tutorials/city-shaper/robot-2) + diff --git a/docs/tutorials/pause-on-start.md b/docs/tutorials/pause-on-start.md new file mode 100644 index 00000000..3fb8eef2 --- /dev/null +++ b/docs/tutorials/pause-on-start.md @@ -0,0 +1,33 @@ +# Pause On Start + +## Introduction @unplugged + +Sometimes you don't want your program to run right away... you can use a button to wait before moving the motors. + +## Step 1 + +Let's start by showing an image on the screen so the user knows that the robot is ready and waiting. + +```blocks +brick.showImage(images.informationStop1) +``` + +## Step 2 + +Drag the ``||brick:pause until enter pressed||`` button to wait for the user to press the Enter button. + +```blocks +brick.showImage(images.informationStop1) +brick.buttonEnter.pauseUntil(ButtonEvent.Pressed) +``` + +## Step 3 + +Add all the motor and sensor code you want after those blocks! + +```blocks +brick.showImage(images.informationStop1) +brick.buttonEnter.pauseUntil(ButtonEvent.Pressed) +brick.showImage(images.expressionsBigSmile) +motors.largeBC.tank(50, 50, 1, MoveUnit.Seconds) +``` diff --git a/targetconfig.json b/targetconfig.json index 2ff11580..efce8c9c 100644 --- a/targetconfig.json +++ b/targetconfig.json @@ -15,7 +15,7 @@ "Color Sensor Tutorials": "tutorials/color-sensor", "Ultrasonic Sensor Tutorials": "tutorials/ultrasonic-sensor", "Infrared Sensor Tutorials": "tutorials/infrared-sensor", - "FLL / City Shaper / Crane Mission": "tutorials/city-shaper/crane-mission", + "FLL / City Shaper": "tutorials/city-shaper", "Design Engineering": "design-engineering", "Coding": "coding", "Maker": "maker",