fixing some game content
This commit is contained in:
parent
3de977c98f
commit
091fbb9db8
@ -1,16 +1,6 @@
|
||||
# Move
|
||||
|
||||
The game library
|
||||
|
||||
### Move
|
||||
|
||||
Sprite move by a certain number
|
||||
|
||||
## Block Editor
|
||||
|
||||

|
||||
|
||||
## KindScript
|
||||
Sprite move by a certain number of LEDs
|
||||
|
||||
```
|
||||
export function move(_this: micro_bitSprites.LedSprite, leds: number)
|
||||
|
@ -1,19 +1,5 @@
|
||||
# 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
|
||||
|
||||

|
||||
|
||||
## KindScript
|
||||
|
||||
Reports the x position of a sprite on the LED screen
|
||||
|
||||
```
|
||||
|
@ -1,31 +1,7 @@
|
||||
# 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
|
||||
|
||||
## Block Editor
|
||||
|
||||
Reports the x position of a sprite on the LED screen
|
||||
|
||||

|
||||
|
||||
Reports the y position of a sprite on the LED screen
|
||||
|
||||

|
||||
|
||||
Reports the brightness of a sprite on the LED screen
|
||||
|
||||

|
||||
|
||||
Reports the direction of a sprite on the LED screen
|
||||
|
||||

|
||||
|
||||
## KindScript
|
||||
|
||||
Reports the x position of a sprite on the LED screen
|
||||
|
||||
```
|
||||
|
@ -1,13 +1,5 @@
|
||||
# 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
|
||||
|
||||

|
||||
|
||||
## 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.
|
||||
|
||||
```
|
||||
|
@ -1,17 +1,5 @@
|
||||
# Touching
|
||||
|
||||
The game library
|
||||
|
||||
### Touching
|
||||
|
||||
Reports true if sprite is touching specified sprite
|
||||
|
||||
## Block Editor
|
||||
|
||||

|
||||
|
||||
## KindScript
|
||||
|
||||
Reports true if sprite is touching specified sprite
|
||||
|
||||
```
|
||||
|
@ -1,17 +1,5 @@
|
||||
# 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
|
||||
|
||||

|
||||
|
||||
## KindScript
|
||||
|
||||
Rotates a sprite to the right by a certain number of degrees
|
||||
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user