Skip to content

Commit

Permalink
docs: Fix link typo in 00-your-first-game.mdx (#3051)
Browse files Browse the repository at this point in the history
* Update 00-your-first-game.mdx

small fixes

* Update 00-your-first-game.mdx

---------

Co-authored-by: Erik Onarheim <[email protected]>
  • Loading branch information
gavriguy and eonarheim authored May 7, 2024
1 parent ab32d4e commit c468df0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions site/docs/00-your-first-game.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Open a browser and view the blank blue screen of goodness.

## Creating the paddle with an Actor

Game elements that have a position and are drawn to the screen are called an [Actor][/docs/actor]. Actors are the primary way to draw things to the screen.
Game elements that have a position and are drawn to the screen are called an [Actor](/docs/actors). Actors are the primary way to draw things to the screen.

Think of actors like you would the actors in a play. If you change scenes different actors might be on stage.

Expand All @@ -131,7 +131,7 @@ declare const game: ex.Engine;
// ---cut---
// Create an actor with x position of 150px,
// y position of 40px from the bottom of the screen,
// width of 200px, height and a height of 20px
// width of 200px and a height of 20px
const paddle = new Actor({
x: 150,
y: game.drawHeight - 40,
Expand Down

0 comments on commit c468df0

Please sign in to comment.