batch fixing ](/microbit/ -> ](/ links

This commit is contained in:
Peli de Halleux
2016-04-13 08:27:45 -07:00
parent 2e49901a7e
commit d28efb3b84
517 changed files with 2235 additions and 2235 deletions

View File

@ -39,5 +39,5 @@ export function score() : number
### Lessons
[bop it](/microbit/lessons/bop-it) | [game of chance](/microbit/lessons/game-of-chance) | [game counter](/microbit/lessons/game-counter)
[bop it](/lessons/bop-it) | [game of chance](/lessons/game-of-chance) | [game counter](/lessons/game-counter)

View File

@ -26,5 +26,5 @@ export function changeYBy(_this: micro_bitSprites.LedSprite, y: number)
### Lessons
[game of chance](/microbit/lessons/game-of-chance) | [game counter](/microbit/lessons/game-counter)
[game of chance](/lessons/game-of-chance) | [game counter](/lessons/game-counter)

View File

@ -2,7 +2,7 @@
The clear function for images.
Turn off all the pixels in an [Image](/microbit/reference/image/image).
Turn off all the pixels in an [Image](/reference/image/image).
### KindScript
@ -35,5 +35,5 @@ input.onButtonPressed(Button.A, () => {
### See also
[Image](/microbit/reference/image/image), [show animation](/microbit/reference/basic/show-animation), [show image](/microbit/reference/images/show-image), [scroll image](/microbit/reference/images/scroll-image), [create image](/microbit/reference/images/create-image)
[Image](/reference/image/image), [show animation](/reference/basic/show-animation), [show image](/reference/images/show-image), [scroll image](/reference/images/scroll-image), [create image](/reference/images/create-image)

View File

@ -19,7 +19,7 @@ input.onButtonPressed(Button.A, () => {
game.startCountdown(10000)
```
### [Create sprite](/microbit/functions/game-library/create-sprite)
### [Create sprite](/functions/game-library/create-sprite)
Create sprite with x, y coordinates and returns a LED Sprite. Create a new LED sprite.
@ -29,7 +29,7 @@ Create sprite with x, y coordinates and returns a LED Sprite. Create a new LED s
export function createSprite(x: number, y: number) : micro_bitSprites.LedSprite
```
### [Move](/microbit/functions/game-library/move)
### [Move](/functions/game-library/move)
Sprite move by a certain number
@ -39,7 +39,7 @@ Sprite move by a certain number
export function move(_this: micro_bitSprites.LedSprite, leds: number)
```
### [Turn](/microbit/functions/game-library/turn)
### [Turn](/functions/game-library/turn)
Rotates a sprite to the right by a certain number of degrees
@ -55,7 +55,7 @@ Rotates a sprite to the left by a certain number of degrees
export function turnLeft(_this: micro_bitSprites.LedSprite, degrees: number)
```
### [Change](/microbit/functions/game-library/change)
### [Change](/functions/game-library/change)
Sprite will change the x position by this number
@ -71,7 +71,7 @@ Sprite will change the y position by this number
export function changeYBy(_this: micro_bitSprites.LedSprite, y: number)
```
### [Set](/microbit/functions/game-library/set)
### [Set](/functions/game-library/set)
Sprite will change the x position by this number
@ -87,7 +87,7 @@ Sprite will change the y position by this number
export function changeYBy(_this: micro_bitSprites.LedSprite, y: number)
```
### [If on edge, bounce](/microbit/functions/game-library/if-on-edge-bounce)
### [If on edge, bounce](/functions/game-library/if-on-edge-bounce)
Sprite - If the sprite is on the edge, the sprite will bounce
@ -97,7 +97,7 @@ Sprite - If the sprite is on the edge, the sprite will bounce
export function ifOnEdge_Bounce(_this: micro_bitSprites.LedSprite)
```
### [Change score by](/microbit/functions/game-library/change-score-by)
### [Change score by](/functions/game-library/change-score-by)
When a player achieves a goal, you can increase the game score
@ -109,7 +109,7 @@ When a player achieves a goal, you can increase the game score
export function addScore(points: number)
```
### [Score](/microbit/functions/game-library/score)
### [Score](/functions/game-library/score)
* set the current score to a particular value.
@ -125,7 +125,7 @@ export function setScore(value: number)
export function score() : number
```
### [Countdown](/microbit/functions/game-library/start-countdown)
### [Countdown](/functions/game-library/start-countdown)
If your game has a time limit, you can start a countdown in which case `game->current time` returns the remaining time.
@ -137,7 +137,7 @@ If your game has a time limit, you can start a countdown in which case `game->cu
export function startCountdown(ms: number)
```
### [Game over](/microbit/functions/game-library/game-over)
### [Game over](/functions/game-library/game-over)
If the `life` reaches zero or the time expires (see countdown), the game enters the **game over** mode. When the game is over, `game->is running` returns false
@ -157,5 +157,5 @@ game.gameOver()
### Lessons
[game of chance](/microbit/lessons/game-of-chance) | [game counter](/microbit/lessons/game-counter)
[game of chance](/lessons/game-of-chance) | [game counter](/lessons/game-counter)

View File

@ -20,5 +20,5 @@ game.gameOver()
### Lessons
[game of chance](/microbit/lessons/game-of-chance)
[game of chance](/lessons/game-of-chance)

View File

@ -18,5 +18,5 @@ export function move(_this: micro_bitSprites.LedSprite, leds: number)
### Lessons
[game of chance](/microbit/lessons/game-of-chance) | [game counter](/microbit/lessons/game-counter)
[game of chance](/lessons/game-of-chance) | [game counter](/lessons/game-counter)

View File

@ -28,5 +28,5 @@ export function y(_this: micro_bitSprites.LedSprite) : number
### Lessons
[game of chance](/microbit/lessons/game-of-chance) | [game counter](/microbit/lessons/game-counter)
[game of chance](/lessons/game-of-chance) | [game counter](/lessons/game-counter)

View File

@ -52,5 +52,5 @@ export function direction(_this: micro_bitSprites.LedSprite) : number
### Lessons
[game of chance](/microbit/lessons/game-of-chance) | [game counter](/microbit/lessons/game-counter)
[game of chance](/lessons/game-of-chance) | [game counter](/lessons/game-counter)

View File

@ -55,5 +55,5 @@ export function startCountdown(ms: number)
### Lessons
[bop it](/microbit/lessons/bop-it) | [game of chance](/microbit/lessons/game-of-chance) | [game counter](/microbit/lessons/game-counter)
[bop it](/lessons/bop-it) | [game of chance](/lessons/game-of-chance) | [game counter](/lessons/game-counter)

View File

@ -53,5 +53,5 @@ export function startCountdown(ms: number)
### Lessons
[bop it](/microbit/lessons/bop-it) | [game of chance](/microbit/lessons/game-of-chance) | [game counter](/microbit/lessons/game-counter)
[bop it](/lessons/bop-it) | [game of chance](/lessons/game-of-chance) | [game counter](/lessons/game-counter)

View File

@ -20,5 +20,5 @@ export function isTouching(_this: micro_bitSprites.LedSprite, other: micro_bitSp
### Lessons
[game of chance](/microbit/lessons/game-of-chance) | [game counter](/microbit/lessons/game-counter)
[game of chance](/lessons/game-of-chance) | [game counter](/lessons/game-counter)

View File

@ -26,5 +26,5 @@ export function turnLeft(_this: micro_bitSprites.LedSprite, degrees: number)
### Lessons
[game of chance](/microbit/lessons/game-of-chance) | [game counter](/microbit/lessons/game-counter)
[game of chance](/lessons/game-of-chance) | [game counter](/lessons/game-counter)