From 83bee2f964ce080243a8660307a95682c780e261 Mon Sep 17 00:00:00 2001 From: ganicke Date: Mon, 9 Sep 2024 16:37:51 -0700 Subject: [PATCH 1/2] update snippets to to match camera api name --- docs/tutorials/simple-extensions.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/tutorials/simple-extensions.md b/docs/tutorials/simple-extensions.md index 895cb344158..1876bf637ae 100644 --- a/docs/tutorials/simple-extensions.md +++ b/docs/tutorials/simple-extensions.md @@ -61,7 +61,7 @@ let myCorg = corgio.create(SpriteKind.Player) myCorg.horizontalMovement() myCorg.verticalMovement() myCorg.updateSprite() -myCorg.follow() +myCorg.cameraFollow() tiles.setTilemap(tilemap`level_0`) ``` @@ -75,7 +75,7 @@ let myCorg = corgio.create(SpriteKind.Player) myCorg.horizontalMovement() myCorg.verticalMovement() myCorg.updateSprite() -myCorg.follow() +myCorg.cameraFollow() tiles.setTilemap(tilemap`level_1`) ``` @@ -94,7 +94,7 @@ let myCorg = corgio.create(SpriteKind.Player) myCorg.horizontalMovement() myCorg.verticalMovement() myCorg.updateSprite() -myCorg.follow() +myCorg.cameraFollow() tiles.setTilemap(tilemap`level_1`) ``` From f4af75230e41d6cacd948d42a0300161d823c1ac Mon Sep 17 00:00:00 2001 From: ganicke Date: Mon, 9 Sep 2024 16:50:02 -0700 Subject: [PATCH 2/2] mislabeled position parms --- docs/tutorials/galga.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/galga.md b/docs/tutorials/galga.md index bee42c5c4eb..a20c99fee74 100644 --- a/docs/tutorials/galga.md +++ b/docs/tutorials/galga.md @@ -365,7 +365,7 @@ game.onUpdateInterval(1000, function () { --- -► Grab a ``||sprites:set [mySprite] position to vx [0] vy [0]||`` block +► Grab a ``||sprites:set [mySprite] position to x [0] y [0]||`` block and snap it into the end of your **on game update** block. Change **mySprite** to **bogey**.