Skip to content

Commit

Permalink
Fix mismatch errors for block names in tutorials. (#6496)
Browse files Browse the repository at this point in the history
* update snippets to to match camera api name

* mislabeled position parms
  • Loading branch information
ganicke authored Sep 10, 2024
1 parent 8ad22a8 commit 4871a06
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/tutorials/galga.md
Original file line number Diff line number Diff line change
Expand Up @@ -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**.

Expand Down
6 changes: 3 additions & 3 deletions docs/tutorials/simple-extensions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`)
```

Expand All @@ -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`)
```

Expand All @@ -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`)
```

Expand Down

0 comments on commit 4871a06

Please sign in to comment.