2.1.28, initiation update to PXT v5.28.24 (#54)

This commit is contained in:
Amerlander
2019-12-02 05:58:26 +01:00
committed by Peli de Halleux
parent 38a964516e
commit 5c114a0c57
1261 changed files with 50692 additions and 21604 deletions

View File

@@ -5,11 +5,11 @@ Sets the current score.
```sig
game.setScore(1)
```
### Parameters
## Parameters
* a [number](/reference/types/number) that represents the new score.
* a [number](/types/number) that represents the new score.
### Examples
## Examples
This program is a simple game.
Press button ``A`` as much as possible to increase the score.
@@ -25,6 +25,6 @@ input.onButtonPressed(Button.A, () => {
})
```
### See Also
## See Also
[score](/reference/game/score), [start countdown](/reference/game/start-countdown)
[score](/reference/game/score), [add score](/reference/game/add-score), [start countdown](/reference/game/start-countdown)