fixing some game content

This commit is contained in:
Peli de Halleux 2016-06-02 09:13:02 -07:00
parent 3de977c98f
commit 091fbb9db8
6 changed files with 1 additions and 81 deletions

View File

@ -1,16 +1,6 @@
# Move # Move
The game library Sprite move by a certain number of LEDs
### Move
Sprite move by a certain number
## Block Editor
![](/static/mb/game-library/move-0.png)
## KindScript
``` ```
export function move(_this: micro_bitSprites.LedSprite, leds: number) export function move(_this: micro_bitSprites.LedSprite, leds: number)

View File

@ -1,19 +1,5 @@
# Position # Position
The game library
### Create sprite
Reports the x or y position of a sprite on the LED screen
## Block Editor
Reports the x position of a sprite on the LED screen
![](/static/mb/game-library/position-0.png)
## KindScript
Reports the x position of a sprite on the LED screen Reports the x position of a sprite on the LED screen
``` ```

View File

@ -1,31 +1,7 @@
# Reports # Reports
The game library
### Reports
Reports the x or y position, the current direction of a sprite, or the brightness of a sprite on the LED screen Reports the x or y position, the current direction of a sprite, or the brightness of a sprite on the LED screen
## Block Editor
Reports the x position of a sprite on the LED screen
![](/static/mb/game-library/position-0.png)
Reports the y position of a sprite on the LED screen
![](/static/mb/game-library/reports-0.jpg)
Reports the brightness of a sprite on the LED screen
![](/static/mb/game-library/reports-1.jpg)
Reports the direction of a sprite on the LED screen
![](/static/mb/game-library/reports-2.jpg)
## KindScript
Reports the x position of a sprite on the LED screen Reports the x position of a sprite on the LED screen
``` ```

View File

@ -1,13 +1,5 @@
# Start Countdown # Start Countdown
The game library supports simple single-player time-based games. The general goal of a game will be to achieve a top score before time runs out of time.
## Block Editor
![](/static/mb/game-library/start-countdown-0.png)
## KindScript
The code below shows a simple game where the user gets to press the button ``A`` as much times as possible in 10 seconds. The code below shows a simple game where the user gets to press the button ``A`` as much times as possible in 10 seconds.
``` ```

View File

@ -1,17 +1,5 @@
# Touching # Touching
The game library
### Touching
Reports true if sprite is touching specified sprite
## Block Editor
![](/static/mb/game-library/touching-0.png)
## KindScript
Reports true if sprite is touching specified sprite Reports true if sprite is touching specified sprite
``` ```

View File

@ -1,17 +1,5 @@
# Turn # Turn
The game library
Rotates a sprite to the right by a certain number of degrees
## Block Editor
Rotates a sprite to the right by a certain number of degrees
![](/static/mb/game-library/turn-0.png)
## KindScript
Rotates a sprite to the right by a certain number of degrees Rotates a sprite to the right by a certain number of degrees
``` ```