Updated asteriods, mines, and explosions.

This commit is contained in:
2026-01-18 22:11:20 -05:00
parent 8e0a68efdf
commit e402c498d6
21 changed files with 338 additions and 102 deletions

View File

@@ -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()