From 7c006143ae5affcf2350aefd41abbb72b36b91d9 Mon Sep 17 00:00:00 2001 From: ganicke Date: Mon, 22 Feb 2021 14:57:48 -0800 Subject: [PATCH 1/2] Typo fixes in spy version of 'Chase the Pizza' --- docs/tutorials/spy/chase-the-pizza.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/tutorials/spy/chase-the-pizza.md b/docs/tutorials/spy/chase-the-pizza.md index b1fae7b58d7..e3e88d076de 100644 --- a/docs/tutorials/spy/chase-the-pizza.md +++ b/docs/tutorials/spy/chase-the-pizza.md @@ -22,9 +22,8 @@ Add code to ``||sprites:create a sprite||`` a set it to a variable name ``||vari ``||sprites:Player||`` for the ``||sprites:sprite kind||``. ```spy -let mySprite: Sprite = null scene.setBackgroundColor(7) -mySprite = sprites.create(img` +let mySprite = sprites.create(img` . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . @@ -80,7 +79,7 @@ controller.moveSprite(mySprite) ## Step 5 -Just like with ``||variables:mySprite||``, ``||create a sprite||`` again and set it to the a variable named +Just like with ``||variables:mySprite||``, ``||sprites:create a sprite||`` again and set it to the a variable named ``||variables:pizza||``. This time, set the ``||sprites:sprite kind||`` to ``||sprites:food||``. This will be the **pizza** sprite in our game. From 39d710e3026996d3e5a4f3831d0d377d9985a974 Mon Sep 17 00:00:00 2001 From: ganicke Date: Mon, 22 Feb 2021 15:07:21 -0800 Subject: [PATCH 2/2] style the '1' in text --- docs/tutorials/spy/chase-the-pizza.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/spy/chase-the-pizza.md b/docs/tutorials/spy/chase-the-pizza.md index e3e88d076de..58bbdadfd88 100644 --- a/docs/tutorials/spy/chase-the-pizza.md +++ b/docs/tutorials/spy/chase-the-pizza.md @@ -143,7 +143,7 @@ sprites.onOverlap(SpriteKind.Player, SpriteKind.Food, function (sprite, otherSpr ## Step 8 -When our ``||sprites:Player||`` overlaps with the ``||variables:pizza||`` sprite, let’s add a point to our game score. Pun in the code to ``||info:change score by||`` 1`. +When our ``||sprites:Player||`` overlaps with the ``||variables:pizza||`` sprite, let’s add a point to our game score. Pun in the code to ``||info:change score by||`` `1`. ```spy sprites.onOverlap(SpriteKind.Player, SpriteKind.Food, function (sprite, otherSprite) {