Skip to content

Commit 95d5268

Browse files
committed
Add relative links instead of hardcoded ones
1 parent 088e508 commit 95d5268

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

articles/getting_to_know/howto/graphics/HowTo_Draw_A_Sprite.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ The following texture will be used to render to the screen.
2121
Save it to your content project and name it "**Character**" (this name will used to reference it in the project).
2222

2323
> [!NOTE]
24-
> The tutorial assumes you have already [created a new MonoGame project](https://docs.monogame.net/articles/getting_started/index.html#2-creating-a-new-project) using one of the standard templates.
24+
> The tutorial assumes you have already [created a new MonoGame project](../../../getting_started/index.md#setting-up-and-creating-your-first-monogame-project) using one of the standard templates.
2525
2626
## To draw a sprite on screen
2727

@@ -54,7 +54,7 @@ Save it to your content project and name it "**Character**" (this name will used
5454
5. Call [SpriteBatch.Draw](xref:Microsoft.Xna.Framework.Graphics.SpriteBatch#Microsoft_Xna_Framework_Graphics_SpriteBatch_Draw_Microsoft_Xna_Framework_Graphics_Texture2D_Microsoft_Xna_Framework_Vector2_Microsoft_Xna_Framework_Color_) on your [SpriteBatch](xref:Microsoft.Xna.Framework.Graphics.SpriteBatch) object, passing the texture to draw, the screen position, and the color to apply.
5555

5656
> [!TIP]
57-
> [Color.White](xref:Microsoft.Xna.Framework.Color) is used to draw the texture without any color effects. For a deeper explanation of how sprite tinting works, check out the [How to Tint a Sprite](https://docs.monogame.net/articles/getting_to_know/howto/graphics/HowTo_Tint_Sprite.html) guide.
57+
> [Color.White](xref:Microsoft.Xna.Framework.Color) is used to draw the texture without any color effects. For a deeper explanation of how sprite tinting works, check out the [How to Tint a Sprite](HowTo_Tint_Sprite.md) guide.
5858

5959
6. When all the sprites have been drawn, call [SpriteBatch.End](xref:Microsoft.Xna.Framework.Graphics.SpriteBatch#Microsoft_Xna_Framework_Graphics_SpriteBatch_End) on your [SpriteBatch](xref:Microsoft.Xna.Framework.Graphics.SpriteBatch) object.
6060

articles/getting_to_know/howto/graphics/HowTo_Draw_Sprite_Background.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ The example assumes the texture you are loading contains multiple images, one fo
2222
Save the textures to your content project and name it "**AnimatedCharacter**" (this name will used to reference it in the project).
2323

2424
> [!NOTE]
25-
> The tutorial assumes you have already viewed the [How to draw a Sprite](https://docs.monogame.net/articles/getting_to_know/howto/graphics/HowTo_Draw_A_Sprite.html) topic.
25+
> The tutorial assumes you have already viewed the [How to draw a Sprite](HowTo_Draw_A_Sprite.md) topic.
2626
2727
> [!IMPORTANT]
2828
> The foreground sprite in this example must include masking information, e.g. a PNG or DDS file that supports transparency / an alpha channel.

0 commit comments

Comments
 (0)