Migrate docs from the other repo
This commit is contained in:
22
docs/reference/js/guides/scroll-image-docs.md
Normal file
22
docs/reference/js/guides/scroll-image-docs.md
Normal file
@ -0,0 +1,22 @@
|
||||
# Scroll Image Docs
|
||||
|
||||
My script. #docs
|
||||
|
||||
**Challenge 0**
|
||||
|
||||
This [guided tutorial](/microbit/xuhkviyyxa) introduces how to make an image look like it's scrolling across the micro:bit!
|
||||
|
||||
We can use an animation to make an image look like its moving!
|
||||
|
||||
```
|
||||
basic.forever()
|
||||
```
|
||||
|
||||
**Challenge 1**
|
||||
|
||||
Now, let's reverse the animation so it looks like the bar is bouncing off the right edge of the display.
|
||||
|
||||
```
|
||||
basic1.forever()
|
||||
```
|
||||
|
Reference in New Issue
Block a user