Skip to content

Commit

Permalink
update snippets to to match camera api name
Browse files Browse the repository at this point in the history
  • Loading branch information
ganicke committed Sep 9, 2024
1 parent 1465d38 commit 83bee2f
Showing 1 changed file with 3 additions and 3 deletions.
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 83bee2f

Please sign in to comment.