final vidoe cleanup
This commit is contained in:
parent
304ef89a1d
commit
1a00fded98
@ -4,8 +4,6 @@ Make glowing sword.
|
||||
|
||||
### ~avatar avatar
|
||||
|
||||
### @video td/videos/glowing-sword-0
|
||||
|
||||
In this activity, we will learn how to fade in and out the screen to create a glowing animation. Let's get started!
|
||||
|
||||
### ~
|
||||
|
@ -37,8 +37,6 @@ basic.pause(1000) // ***
|
||||
|
||||
### Challenge 2
|
||||
|
||||
### @video td/videos/glowing-sword-2
|
||||
|
||||
After the pause, let's add `led->fade in(2000)` so that we can create a glowing effect.
|
||||
|
||||
```
|
||||
|
@ -1,8 +1,6 @@
|
||||
# jailbreak lesson
|
||||
|
||||
break out of a counting loop by pressing button "A".
|
||||
|
||||
### @video td/videos/jailbreak-0
|
||||
Break out of a counting loop by pressing button "A".
|
||||
|
||||
## Topic
|
||||
|
||||
|
@ -1,8 +1,6 @@
|
||||
# line of fire lesson
|
||||
|
||||
create a game that relies on precise instincts and timing reflexes #if #.
|
||||
|
||||
### @video td/videos/timing-game-0
|
||||
Create a game that relies on precise instincts and timing reflexes #if #.
|
||||
|
||||
## Topic
|
||||
|
||||
|
@ -2,9 +2,7 @@
|
||||
|
||||
These challenges will help you show arrows that point which way the logo is pointing! #docs
|
||||
|
||||
**Challenge 0**
|
||||
|
||||
### @video vimeo/134638098
|
||||
## Challenge 0
|
||||
|
||||
This [guided tutorial](/zysycw) will help you display an arrow pointing the direction the logo is oriented!
|
||||
|
||||
@ -42,9 +40,7 @@ input.onLogoDown(() => {
|
||||
}) // ***
|
||||
```
|
||||
|
||||
**Challenge 2**
|
||||
|
||||
### @video vimeo/134639918
|
||||
## Challenge 2
|
||||
|
||||
Now we need to display the arrow!
|
||||
|
||||
|
@ -19,8 +19,6 @@ for (let i = 0; i < 6; i++) {
|
||||
|
||||
### Challenge 1
|
||||
|
||||
### @video td/videos/looper-1
|
||||
|
||||
What if we want to count up to lucky number 7 instead? Let's do that by changing the ending value to `8` instead of `6`.
|
||||
|
||||
```
|
||||
@ -34,8 +32,6 @@ for (let i1 = 0; i1 < 8; i1++) {
|
||||
|
||||
### Challenge 2
|
||||
|
||||
### @video td/videos/looper-2
|
||||
|
||||
What about 9? Let's do that by changing the ending value to `10`.
|
||||
|
||||
```
|
||||
@ -49,8 +45,6 @@ for (let i2 = 0; i2 < 10; i2++) {
|
||||
|
||||
### Challenge 3
|
||||
|
||||
### @video td/videos/looper-3
|
||||
|
||||
Now let's start counting from `3` instead! Our for loop will always start at `0` so we simply add `3` to the `i` variable when passing it to `basic->show number`.
|
||||
|
||||
```
|
||||
@ -64,8 +58,6 @@ Run it on the simulator!
|
||||
|
||||
### Challenge 4
|
||||
|
||||
### @video td/videos/looper-4
|
||||
|
||||
Now, let's **count down from 9**. Change the line `basic->show number(i + 3, 150)` to `basic->show number(9 - i, 150)`.
|
||||
|
||||
```
|
||||
|
@ -2,8 +2,6 @@
|
||||
|
||||
Learn to control blinking LEDs.
|
||||
|
||||
### @video vimeo/134453504
|
||||
|
||||
## Topic
|
||||
|
||||
For loop - Blinking LED
|
||||
|
@ -2,8 +2,6 @@
|
||||
|
||||
A game that tests your memory for placing a LED mine then finding the hidden LED mine.
|
||||
|
||||
### @video td/videos/minesweeper-0
|
||||
|
||||
## Topic
|
||||
|
||||
Global Variables
|
||||
|
@ -4,8 +4,6 @@ These challenges will allow you to create and display a flipping image of a bird
|
||||
|
||||
### Challenge 0
|
||||
|
||||
### @video vimeo/134449611
|
||||
|
||||
Greetings! This [guided tutorial](/lessons/flipping-bird/tutorial) will begin to show you how to flip a bird.
|
||||
|
||||
```
|
||||
|
@ -2,8 +2,6 @@
|
||||
|
||||
code your own game of Pong on the micro:bit. #.
|
||||
|
||||
### @video td/videos/pong-0
|
||||
|
||||
## Topic
|
||||
|
||||
Functions
|
||||
|
@ -4,8 +4,6 @@ Building a game of pong with sprites.
|
||||
|
||||
### ~avatar avatar
|
||||
|
||||
### @video td/videos/pong-0
|
||||
|
||||
Welcome! This tutorial will teach you how to build a simple pong game using sprites.
|
||||
|
||||
### ~
|
||||
|
@ -4,8 +4,6 @@ These challenges will allow you to make an exploding rectangle. #docs
|
||||
|
||||
**Challenge 0**
|
||||
|
||||
### @video vimeo/134649147
|
||||
|
||||
This [guided tutorial](https://test.microbit.co.uk/td/lessons/rectangle-explosion/tutorial) will help you create a snowflake animation!
|
||||
|
||||
```
|
||||
@ -22,8 +20,6 @@ basic.forever(() => {
|
||||
|
||||
**Challenge 1**
|
||||
|
||||
### @video vimeo/134649148
|
||||
|
||||
Let's begin creating our falling effect by adding another snowflake with `show animation` that displays a different snowflake pattern after the first one.
|
||||
|
||||
```
|
||||
@ -47,8 +43,6 @@ basic.forever(() => {
|
||||
|
||||
**Challenge 2**
|
||||
|
||||
### @video vimeo/134649149
|
||||
|
||||
To finalize our snowflake fall, let's add a different snowflake pattern.
|
||||
|
||||
```
|
||||
|
@ -4,8 +4,6 @@ Clear the screen by pressing buttons on the BBC micro:bit.
|
||||
|
||||
### ~avatar avatar
|
||||
|
||||
### @video td/videos/screen-wipe-0
|
||||
|
||||
This activity will teach how to clear the screen by pressing button ``A`` on the BBC micro:bit.
|
||||
|
||||
### ~
|
||||
|
@ -40,8 +40,6 @@ input.onButtonPressed(Button.B, () => {
|
||||
|
||||
**Challenge 2**
|
||||
|
||||
### @video td/videos/screen-wipe-2
|
||||
|
||||
Replay the animation when the "B" button is pressed by typing in `basic->show animation(..., 400)`.
|
||||
|
||||
```
|
||||
|
@ -4,8 +4,6 @@ These challenges will allow you to change the brightness of the micro:bit. docs
|
||||
|
||||
**Challenge 0**
|
||||
|
||||
### @video vimeo/133782335
|
||||
|
||||
[This tutorial](/lessons/set-brightness/tutorial) will show you how to set the brightness on the micro:bit.
|
||||
|
||||
```
|
||||
@ -18,8 +16,6 @@ input.onButtonPressed(Button.A, () => {
|
||||
|
||||
**Challenge 1**
|
||||
|
||||
### @video vimeo/133782335
|
||||
|
||||
What if we want to turn off all the LEDs? Let's do this by setting the brightness to `0` when button `B` is pressed. Add a condition for `input->on button pressed("B")`.
|
||||
|
||||
```
|
||||
|
@ -2,8 +2,6 @@
|
||||
|
||||
make a game to test hand-eye coordination.
|
||||
|
||||
### @video td/videos/timing-game-0
|
||||
|
||||
Make a game to test hand-eye coordination
|
||||
|
||||
* [tutorial](/lessons/timing-game/tutorial)
|
||||
|
@ -2,8 +2,6 @@
|
||||
|
||||
use functions to return values.
|
||||
|
||||
### @video td/videos/transformers-0
|
||||
|
||||
## Topic
|
||||
|
||||
Return
|
||||
|
@ -34,8 +34,6 @@ export function square(n: number) : number {
|
||||
|
||||
### Challenge 2
|
||||
|
||||
### @video td/videos/transformers-2
|
||||
|
||||
Add a condition for when button `B` is pressed. We will use this condition in the last challenge.
|
||||
|
||||
```
|
||||
|
@ -4,8 +4,6 @@ These challenges will teach you how to create a counter 10 to 1. #docs
|
||||
|
||||
**Challenge 0**
|
||||
|
||||
### @video vimeo/134459911
|
||||
|
||||
[This guided tutorial](/lessons/digi-yoyo/tutorial) will teach you how to make a counter from 0-9 using a while loop.
|
||||
|
||||
```
|
||||
@ -53,8 +51,6 @@ while (count > 0) {
|
||||
|
||||
**Challenge 3**
|
||||
|
||||
### @video vimeo/134449661
|
||||
|
||||
Now, we need `count` to decrease by one after the micro:bit has displayed the value of `count`.
|
||||
|
||||
We can do this by adding this line:
|
||||
|
@ -12,8 +12,6 @@ basic.showString("ASK ME A QUESTION", 150)
|
||||
|
||||
**Challenge 1**
|
||||
|
||||
### @video vimeo/134142879
|
||||
|
||||
Now we need to reply after someone asks Micro a yes or no question. We want to respond `YES` when button `A` is pressed. Add a condition for button `A` and inside it show the string `YES`.
|
||||
|
||||
```
|
||||
@ -27,8 +25,6 @@ input.onButtonPressed(Button.A, () => {
|
||||
|
||||
**Challenge 2**
|
||||
|
||||
### @video vimeo/134142673
|
||||
|
||||
What if Micro's answer to the question is no? Let's have `NO` be displayed when button `B` is pressed. Add a condition for button `B` and inside it show the string `NO`.
|
||||
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user