From 61042044c0d21a8cfb0da6170aa370e3e0f0df5a Mon Sep 17 00:00:00 2001 From: quaspen Date: Tue, 24 Jun 2025 14:16:26 +0300 Subject: [PATCH 1/6] Update core.cs --- .../04_creating_a_class_library/snippets/core.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/articles/tutorials/building_2d_games/04_creating_a_class_library/snippets/core.cs b/articles/tutorials/building_2d_games/04_creating_a_class_library/snippets/core.cs index 581bd849..1e68889d 100644 --- a/articles/tutorials/building_2d_games/04_creating_a_class_library/snippets/core.cs +++ b/articles/tutorials/building_2d_games/04_creating_a_class_library/snippets/core.cs @@ -66,7 +66,7 @@ public Core(string title, int width, int height, bool fullScreen) // Set the window title Window.Title = title; - // Set the core's content manager to a reference of hte base Game's + // Set the core's content manager to a reference of the base Game's // content manager. Content = base.Content; @@ -88,4 +88,4 @@ protected override void Initialize() // Create the sprite batch instance. SpriteBatch = new SpriteBatch(GraphicsDevice); } -} \ No newline at end of file +} From 0d450afcf0e7ba0d8373e496a93bdf813aa55a0e Mon Sep 17 00:00:00 2001 From: quaspen Date: Tue, 24 Jun 2025 14:16:57 +0300 Subject: [PATCH 2/6] Update tilemap.cs --- .../13_working_with_tilemaps/snippets/tilemap.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/tutorials/building_2d_games/13_working_with_tilemaps/snippets/tilemap.cs b/articles/tutorials/building_2d_games/13_working_with_tilemaps/snippets/tilemap.cs index 4b9b7fcb..f4fe5d0e 100644 --- a/articles/tutorials/building_2d_games/13_working_with_tilemaps/snippets/tilemap.cs +++ b/articles/tutorials/building_2d_games/13_working_with_tilemaps/snippets/tilemap.cs @@ -108,7 +108,7 @@ public TextureRegion GetTile(int index) /// column and row. /// /// The column of the tile in this tilemap. - /// The row of hte tile in this tilemap. + /// The row of the tile in this tilemap. /// The texture region of the tile from this tilemap at the specified column and row. public TextureRegion GetTile(int column, int row) { From 97c988edb5cbe42a14ee23f97532373f89a6b012 Mon Sep 17 00:00:00 2001 From: quaspen Date: Tue, 24 Jun 2025 14:17:29 +0300 Subject: [PATCH 3/6] Update core.cs --- .../building_2d_games/11_input_management/snippets/core.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/articles/tutorials/building_2d_games/11_input_management/snippets/core.cs b/articles/tutorials/building_2d_games/11_input_management/snippets/core.cs index 21457ac5..ac759e05 100644 --- a/articles/tutorials/building_2d_games/11_input_management/snippets/core.cs +++ b/articles/tutorials/building_2d_games/11_input_management/snippets/core.cs @@ -78,7 +78,7 @@ public Core(string title, int width, int height, bool fullScreen) // Set the window title Window.Title = title; - // Set the core's content manager to a reference of hte base Game's + // Set the core's content manager to a reference of the base Game's // content manager. Content = base.Content; @@ -116,4 +116,4 @@ protected override void Update(GameTime gameTime) base.Update(gameTime); } -} \ No newline at end of file +} From 7ee0cbed70930825e92bcc9b7fb480ddbaa85c73 Mon Sep 17 00:00:00 2001 From: quaspen Date: Tue, 24 Jun 2025 14:17:56 +0300 Subject: [PATCH 4/6] Update core.cs --- .../building_2d_games/15_audio_controller/snippets/core.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/articles/tutorials/building_2d_games/15_audio_controller/snippets/core.cs b/articles/tutorials/building_2d_games/15_audio_controller/snippets/core.cs index 592e1bd9..f292465a 100644 --- a/articles/tutorials/building_2d_games/15_audio_controller/snippets/core.cs +++ b/articles/tutorials/building_2d_games/15_audio_controller/snippets/core.cs @@ -84,7 +84,7 @@ public Core(string title, int width, int height, bool fullScreen) // Set the window title Window.Title = title; - // Set the core's content manager to a reference of hte base Game's + // Set the core's content manager to a reference of the base Game's // content manager. Content = base.Content; @@ -136,4 +136,4 @@ protected override void Update(GameTime gameTime) base.Update(gameTime); } -} \ No newline at end of file +} From d0fee033aed231043fcc18dcfda67013a56fe35f Mon Sep 17 00:00:00 2001 From: quaspen Date: Tue, 24 Jun 2025 14:18:28 +0300 Subject: [PATCH 5/6] Update core.cs --- .../tutorials/building_2d_games/17_scenes/snippets/core.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/articles/tutorials/building_2d_games/17_scenes/snippets/core.cs b/articles/tutorials/building_2d_games/17_scenes/snippets/core.cs index a9eda94e..1920450b 100644 --- a/articles/tutorials/building_2d_games/17_scenes/snippets/core.cs +++ b/articles/tutorials/building_2d_games/17_scenes/snippets/core.cs @@ -91,7 +91,7 @@ public Core(string title, int width, int height, bool fullScreen) // Set the window title Window.Title = title; - // Set the core's content manager to a reference of hte base Game's + // Set the core's content manager to a reference of the base Game's // content manager. Content = base.Content; @@ -203,4 +203,4 @@ private static void TransitionScene() s_activeScene.Initialize(); } } -} \ No newline at end of file +} From 3755a90871df66c4d908c02d03856fcc0fefb8c9 Mon Sep 17 00:00:00 2001 From: Quaspen <217749450+quaspen@users.noreply.github.com> Date: Tue, 24 Jun 2025 17:50:48 +0300 Subject: [PATCH 6/6] Update index.md --- .../building_2d_games/20_implementing_ui_with_gum/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/articles/tutorials/building_2d_games/20_implementing_ui_with_gum/index.md b/articles/tutorials/building_2d_games/20_implementing_ui_with_gum/index.md index e947c249..5e5bafce 100644 --- a/articles/tutorials/building_2d_games/20_implementing_ui_with_gum/index.md +++ b/articles/tutorials/building_2d_games/20_implementing_ui_with_gum/index.md @@ -451,7 +451,7 @@ Each button registers a `Click` event handler to respond when the players select [!code-csharp[](./snippets/titlescene/handlestartclicked.cs)] -When the "Start" button is clicked and this method is called, it will play the UI sound effect for auditory feedback then change the scene tot he game scene so the player can start playing the game. +When the "Start" button is clicked and this method is called, it will play the UI sound effect for auditory feedback then change the scene to the game scene so the player can start playing the game. Next is the handler for the "Options" button. Add the following method to the `TitleScene` class after the `HandleStartClicked` method: