Updated asteriods, mines, and explosions.
This commit is contained in:
@@ -151,7 +151,7 @@ public class Player : MoveableSprite
|
||||
|
||||
Texture2D texture = args.Content.Load<Texture2D>(@$"Sprites\PlayerRed_Frame_{frameNumber}");
|
||||
//args.SpriteBatch.Draw(texture, Position, DrawColor);
|
||||
args.SpriteBatch.Draw(texture, Position, null, DrawColor, 0, Origin, 1, spriteEffects, 1);
|
||||
args.SpriteBatch.Draw(texture, Position, null, DrawColor, 0, Origin, Scale, spriteEffects, 1);
|
||||
|
||||
base.Draw(args);
|
||||
}
|
||||
@@ -159,7 +159,7 @@ public class Player : MoveableSprite
|
||||
private void DrawExhaust(SpriteDrawArgs args)
|
||||
{
|
||||
Texture2D texture = args.Content.Load<Texture2D>(@$"Sprites\Exhaust_Frame_0{CurrentExhaustFrame}_png_processed");
|
||||
args.SpriteBatch.Draw(texture, Position, null, DrawColor, 0, new Vector2(0, 0), 1, SpriteEffects.None, 1);
|
||||
args.SpriteBatch.Draw(texture, Position, null, DrawColor, 0, Origin, Scale, SpriteEffects.None, 1);
|
||||
}
|
||||
|
||||
private string GetPlayerTextureName()
|
||||
|
||||
Reference in New Issue
Block a user