add more ship textures

This commit is contained in:
Colin McMillen 2020-11-19 15:25:54 -05:00
parent 7b9147d901
commit bdfe5555b8
2 changed files with 35 additions and 2 deletions

View File

@ -43,13 +43,12 @@ namespace SemiColinGames {
spriteBatch.Begin(SpriteSortMode.Deferred, BlendState.AlphaBlend,
SamplerState.PointClamp, DepthStencilState.Default,
RasterizerState.CullNone);
spriteBatch.Draw(Textures.SilverBlue1.Get, Vector2.Floor(world.Player.Position), Color.White);
spriteBatch.Draw(Textures.Yellow2.Get, Vector2.Floor(world.Player.Position), Color.White);
spriteBatch.End();
// Get ready to draw sceneTarget to screen.
graphics.SetRenderTarget(null);
// Letterbox the scene if needed.
float aspectRatio = 1.0f * graphics.Viewport.Width / graphics.Viewport.Height;
Rectangle drawRect;

View File

@ -41,7 +41,41 @@ namespace SemiColinGames {
public static TextureRef Heart = new TextureRef("sprites/semicolin/heart");
// Ship sprites.
public static TextureRef Blue1 = new TextureRef("sprites/dylestorm/Blue-1");
public static TextureRef Blue2 = new TextureRef("sprites/dylestorm/Blue-2");
public static TextureRef Blue3 = new TextureRef("sprites/dylestorm/Blue-3");
public static TextureRef Blue4 = new TextureRef("sprites/dylestorm/Blue-4");
public static TextureRef Blue5 = new TextureRef("sprites/dylestorm/Blue-5");
public static TextureRef DarkGrey1 = new TextureRef("sprites/dylestorm/DarkGrey-1");
public static TextureRef DarkGrey2 = new TextureRef("sprites/dylestorm/DarkGrey-2");
public static TextureRef DarkGrey3 = new TextureRef("sprites/dylestorm/DarkGrey-3");
public static TextureRef DarkGrey4 = new TextureRef("sprites/dylestorm/DarkGrey-4");
public static TextureRef DarkGrey5 = new TextureRef("sprites/dylestorm/DarkGrey-5");
public static TextureRef Green1 = new TextureRef("sprites/dylestorm/Green-1");
public static TextureRef Green2 = new TextureRef("sprites/dylestorm/Green-2");
public static TextureRef Green3 = new TextureRef("sprites/dylestorm/Green-3");
public static TextureRef Green4 = new TextureRef("sprites/dylestorm/Green-4");
public static TextureRef Green5 = new TextureRef("sprites/dylestorm/Green-5");
public static TextureRef Purple1 = new TextureRef("sprites/dylestorm/Purple-1");
public static TextureRef Purple2 = new TextureRef("sprites/dylestorm/Purple-2");
public static TextureRef Purple3 = new TextureRef("sprites/dylestorm/Purple-3");
public static TextureRef Purple4 = new TextureRef("sprites/dylestorm/Purple-4");
public static TextureRef Purple5 = new TextureRef("sprites/dylestorm/Purple-5");
public static TextureRef Red1 = new TextureRef("sprites/dylestorm/Red-1");
public static TextureRef Red2 = new TextureRef("sprites/dylestorm/Red-2");
public static TextureRef Red3 = new TextureRef("sprites/dylestorm/Red-3");
public static TextureRef Red4 = new TextureRef("sprites/dylestorm/Red-4");
public static TextureRef Red5 = new TextureRef("sprites/dylestorm/Red-5");
public static TextureRef SilverBlue1 = new TextureRef("sprites/dylestorm/SilverBlue-1");
public static TextureRef SilverBlue2 = new TextureRef("sprites/dylestorm/SilverBlue-2");
public static TextureRef SilverBlue3 = new TextureRef("sprites/dylestorm/SilverBlue-3");
public static TextureRef SilverBlue4 = new TextureRef("sprites/dylestorm/SilverBlue-4");
public static TextureRef SilverBlue5 = new TextureRef("sprites/dylestorm/SilverBlue-5");
public static TextureRef Yellow1 = new TextureRef("sprites/dylestorm/Yellow-1");
public static TextureRef Yellow2 = new TextureRef("sprites/dylestorm/Yellow-2");
public static TextureRef Yellow3 = new TextureRef("sprites/dylestorm/Yellow-3");
public static TextureRef Yellow4 = new TextureRef("sprites/dylestorm/Yellow-4");
public static TextureRef Yellow5 = new TextureRef("sprites/dylestorm/Yellow-5");
// Backgrounds are indexed by draw order; the first element should be drawn furthest back.
public static TextureRef[] Backgrounds = new TextureRef[] {