We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bcc198 commit fc46976Copy full SHA for fc46976
articles/tutorials/building_2d_games/08_the_sprite_class/snippets/game1.cs
@@ -59,7 +59,7 @@ protected override void Draw(GameTime gameTime)
59
SpriteBatch.Begin(samplerState: SamplerState.PointClamp);
60
61
// Draw the slime sprite.
62
- _slime.Draw(SpriteBatch, Vector2.One);
+ _slime.Draw(SpriteBatch, Vector2.Zero);
63
64
// Draw the bat sprite 10px to the right of the slime.
65
_bat.Draw(SpriteBatch, new Vector2(_slime.Width + 10, 0));
@@ -69,4 +69,4 @@ protected override void Draw(GameTime gameTime)
69
70
base.Draw(gameTime);
71
}
72
-}
+}
0 commit comments