removing videos from docs
This commit is contained in:
@ -2,8 +2,6 @@
|
||||
|
||||
scroll an image across the screen.
|
||||
|
||||
### @video td/videos/bounce-image-0
|
||||
|
||||
## Topic
|
||||
|
||||
Basic- Show Animation
|
||||
|
@ -24,8 +24,6 @@ basic.forever(() => {
|
||||
|
||||
### Challenge 1
|
||||
|
||||
### @video td/videos/bounce-image-1
|
||||
|
||||
Now, let's add frames to reverse the animation so it looks like the bar is bouncing off the right edge of the display.
|
||||
|
||||
```
|
||||
@ -60,9 +58,7 @@ input.onGesture(Gesture.Shake, () => {
|
||||
}) // ***
|
||||
```
|
||||
|
||||
**Challenge 3**
|
||||
|
||||
### @video td/videos/bounce-image-2-3
|
||||
### Challenge 3
|
||||
|
||||
When the BBC micro:bit is shaken we want to show a new animation. Here is an example, but you can create your own. Be creative!
|
||||
|
||||
|
@ -2,8 +2,6 @@
|
||||
|
||||
a display of pet images for the BBC micro:bit.
|
||||
|
||||
### @video td/videos/digital-pet-0
|
||||
|
||||
## Topic
|
||||
|
||||
Functions
|
||||
|
@ -41,8 +41,6 @@ basic.forever(() => {
|
||||
|
||||
### Challenge 2
|
||||
|
||||
### @video td/videos/digital-pet-2
|
||||
|
||||
Now we want to show your eating pet! Let's create a function called `set eat` that will do create an image. Store that image in a variable and then show it.
|
||||
|
||||
```
|
||||
@ -76,8 +74,6 @@ basic.forever(() => {
|
||||
|
||||
### Challenge 3
|
||||
|
||||
### @video td/videos/digital-pet-3
|
||||
|
||||
Have your pet tell you when it is going to sleep! Do this inside of the **IF** statement that checks if button `A` is pressed before you call the function `set sleep`.
|
||||
|
||||
```
|
||||
@ -97,8 +93,6 @@ basic.forever(() => {
|
||||
|
||||
### Challenge 4
|
||||
|
||||
### @video td/videos/digital-pet-4
|
||||
|
||||
Now, how about we keep track of how many times our pet eats? Add a global variable called `feed` that keeps track of how many times you feed your pet. If button `B` is pressed, increment `feed` by one. Add a condition `on shake` to check your total.
|
||||
|
||||
```
|
||||
|
@ -50,8 +50,6 @@ input.onGesture(Gesture.Shake, () => {
|
||||
|
||||
### Challenge 2
|
||||
|
||||
### @video td/videos/flipping-bird-2
|
||||
|
||||
Inside of that `if` statement you created in challenge 1, add `basic->plot image()` and display an upside down flying bird.
|
||||
|
||||
```
|
||||
|
@ -4,8 +4,6 @@ These challenges will help you display a glowing image that fades in and out at
|
||||
|
||||
**Challenge 0**
|
||||
|
||||
### @video vimeo/134649269
|
||||
|
||||
[This guided tutorial](https://test.microbit.co.uk/td/lessons/glowing-mountain/tutorial) will teach you how to create a mountain that fades out.
|
||||
|
||||
```
|
||||
@ -37,9 +35,7 @@ basic.pause(1000) // ***
|
||||
|
||||
* Run the code to see if it works as expected.
|
||||
|
||||
**Challenge 2**
|
||||
|
||||
### @video vimeo/134674595
|
||||
### Challenge 2
|
||||
|
||||
After the pause, let's add `led->fade in(2000)` so that we can create a glowing effect.
|
||||
|
||||
|
@ -2,8 +2,6 @@
|
||||
|
||||
make a glowing sword.
|
||||
|
||||
### @video td/videos/glowing-sword-0
|
||||
|
||||
## Topic
|
||||
|
||||
Fade Out
|
||||
|
Reference in New Issue
Block a user