From c468df0d50db6c303582b2beebcd89b5573596ac Mon Sep 17 00:00:00 2001 From: "Gavri (Gabriel) Guy" Date: Tue, 7 May 2024 17:10:53 +0300 Subject: [PATCH] docs: Fix link typo in 00-your-first-game.mdx (#3051) * Update 00-your-first-game.mdx small fixes * Update 00-your-first-game.mdx --------- Co-authored-by: Erik Onarheim --- site/docs/00-your-first-game.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/site/docs/00-your-first-game.mdx b/site/docs/00-your-first-game.mdx index 603c4b062..81bba03cd 100644 --- a/site/docs/00-your-first-game.mdx +++ b/site/docs/00-your-first-game.mdx @@ -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. @@ -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,