From bbc049e05e8696ec646a3fc52056aac176e4d8db Mon Sep 17 00:00:00 2001 From: Peli de Halleux Date: Thu, 8 Nov 2018 16:47:41 -0800 Subject: [PATCH] updated to pxt444 (#1607) --- libs/core/_locales/core-jsdoc-strings.json | 10 +++++----- libs/core/_locales/core-strings.json | 3 +++ package.json | 4 ++-- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/libs/core/_locales/core-jsdoc-strings.json b/libs/core/_locales/core-jsdoc-strings.json index bc8dfeba..3ff94cee 100644 --- a/libs/core/_locales/core-jsdoc-strings.json +++ b/libs/core/_locales/core-jsdoc-strings.json @@ -285,8 +285,8 @@ "game.LedSprite.turn|param|direction": "left or right", "game.LedSprite.x": "Reports the ``x`` position of a sprite on the LED screen", "game.LedSprite.y": "Reports the ``y`` position of a sprite on the LED screen", - "game.addLife": "Adds life points to the current life", - "game.addLife|param|lives": "TODO", + "game.addLife": "Add life points to the current life amount", + "game.addLife|param|lives": "amount of lives to add", "game.addScore": "Adds points to the current score and shows an animation", "game.addScore|param|points": "amount of points to change, eg: 1", "game.createSprite": "Creates a new LED sprite pointing to the right.", @@ -302,12 +302,12 @@ "game.levelUp": "Increments the level and display a message.", "game.life": "Gets the current life", "game.pause": "Pauses the game rendering engine to allow other animations", - "game.removeLife": "Removes some life", - "game.removeLife|param|life": "TODO", + "game.removeLife": "Remove some life", + "game.removeLife|param|life": "amount of life to remove", "game.resume": "Resumes the game rendering engine", "game.score": "Gets the current score", "game.setLife": "Sets the current life value", - "game.setLife|param|value": "TODO", + "game.setLife|param|value": "current life value", "game.setScore": "Sets the current score value", "game.setScore|param|value": "new score value.", "game.showScore": "Displays the score on the screen.", diff --git a/libs/core/_locales/core-strings.json b/libs/core/_locales/core-strings.json index f37d45e0..ae490659 100644 --- a/libs/core/_locales/core-strings.json +++ b/libs/core/_locales/core-strings.json @@ -262,12 +262,15 @@ "game.LedSprite.move|block": "%sprite|move by %leds", "game.LedSprite.set|block": "%sprite|set %property|to %value", "game.LedSprite.turn|block": "%sprite|turn %direction|by (°) %degrees", + "game.addLife|block": "add life %lives", "game.addScore|block": "change score by|%points", "game.createSprite|block": "create sprite at|x: %x|y: %y", "game.gameOver|block": "game over", "game.pause|block": "pause", + "game.removeLife|block": "remove life %life", "game.resume|block": "resume", "game.score|block": "score", + "game.setLife|block": "set life %value", "game.setScore|block": "set score %points", "game.startCountdown|block": "start countdown|(ms) %duration", "game|block": "game", diff --git a/package.json b/package.json index c30ff96b..ea73e176 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "@types/web-bluetooth": "0.0.4" }, "dependencies": { - "pxt-common-packages": "0.25.2", - "pxt-core": "4.3.7" + "pxt-common-packages": "0.25.10", + "pxt-core": "4.4.4" } }