pxt-common-packages 12.2.7 → 12.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,9 +1,9 @@
1
- # score
1
+ # high Score
2
2
 
3
3
  Get the highest score recored for the game.
4
4
 
5
5
  ```sig
6
- info.score()
6
+ info.highScore()
7
7
  ```
8
8
 
9
9
  The highest score recorded by your game program is remembered. So, you can find out what the player's best score was for the game.
@@ -19,7 +19,7 @@ Add `9` to the life count if the player had a high score of `100000` points.
19
19
  ```blocks
20
20
  let lifeBonus = true
21
21
 
22
- if (info.score() >= 100000) {
22
+ if (info.highScore() >= 100000) {
23
23
  if (lifeBonus) {
24
24
  info.changeLifeBy(9)
25
25
  lifeBonus = false
@@ -31,4 +31,4 @@ if (info.score() >= 100000) {
31
31
 
32
32
  [set score](/reference/info/set-score),
33
33
  [change score by](/reference/info/change-score-by),
34
- [score](/reference/info/score)
34
+ [score](/reference/info/score)
@@ -92,7 +92,7 @@ sprites.onOverlap(0, 0, function (sprite, otherSprite) {})
92
92
  [set kind](/reference/sprites/sprite/set-kind),
93
93
  [kind](/reference/sprites/sprite/kind),
94
94
  [start effect](/reference/sprites/sprite/start-effect),
95
- [clear particles](/reference/sprites/sprite/clear-particles),
95
+ [clear particles](/reference/effects/clear-particles),
96
96
  [on created](/reference/sprites/on-created),
97
97
  [on destroyed](/reference/sprites/on-destroyed),
98
98
  [on overlap](/reference/sprites/on-overlap),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pxt-common-packages",
3
- "version": "12.2.7",
3
+ "version": "12.2.8",
4
4
  "description": "Microsoft MakeCode (PXT) common packages",
5
5
  "keywords": [
6
6
  "MakeCode",