mirror of
https://github.com/TheRavenwoodArts/LunaLightXMG.git
synced 2026-07-30 21:55:03 -07:00
Added Rowans kitchen sink background.
This commit is contained in:
@@ -98,6 +98,18 @@
|
||||
/processorParam:TextureFormat=Color
|
||||
/build:player.png
|
||||
|
||||
#begin Sink area.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
/processorParam:ColorKeyColor=255,0,255,255
|
||||
/processorParam:ColorKeyEnabled=True
|
||||
/processorParam:GenerateMipmaps=False
|
||||
/processorParam:PremultiplyAlpha=True
|
||||
/processorParam:ResizeToPowerOfTwo=False
|
||||
/processorParam:MakeSquare=False
|
||||
/processorParam:TextureFormat=Color
|
||||
/build:Sink area.png
|
||||
|
||||
#begin spr_cave1_background.png
|
||||
/importer:TextureImporter
|
||||
/processor:TextureProcessor
|
||||
|
||||
@@ -28,6 +28,7 @@ namespace LunaLightXMG
|
||||
|
||||
// Test sprites - eventually handle in a sprite manager?
|
||||
private Texture2D platformTexture;
|
||||
private Texture2D sinkArea;
|
||||
|
||||
// Test platforms
|
||||
private Platform[] platforms;
|
||||
@@ -87,6 +88,7 @@ namespace LunaLightXMG
|
||||
|
||||
// Test platform
|
||||
platformTexture = Content.Load<Texture2D>("platform");
|
||||
sinkArea = Content.Load<Texture2D>("Sink area");
|
||||
// Music
|
||||
sinkBeats = Content.Load<SoundEffect>("music/sinkBeats");
|
||||
// load player sprite
|
||||
@@ -133,7 +135,8 @@ namespace LunaLightXMG
|
||||
// Test Sprite
|
||||
spriteBatch.Begin(samplerState: SamplerState.PointClamp);
|
||||
// Debug Grid
|
||||
spriteBatch.Draw(debugGrid, new Vector2(0, 0), Color.Blue);
|
||||
//spriteBatch.Draw(debugGrid, new Vector2(0, 0), Color.Blue);
|
||||
spriteBatch.Draw(sinkArea, new Vector2(0, 0), Color.White);
|
||||
|
||||
// Test draw tiles
|
||||
foreach (var platform in platforms)
|
||||
|
||||
+2
-2
@@ -102,8 +102,8 @@ namespace LunaLightXMG
|
||||
{
|
||||
List<Platform> platforms = new List<Platform>();
|
||||
platforms.Add(new Platform(new Vector2(16, 132), 16, 16));
|
||||
platforms.Add(new Platform(new Vector2(144, 132), 16, 16));
|
||||
platforms.Add(new Platform(new Vector2(160, 132), 16, 16));
|
||||
platforms.Add(new Platform(new Vector2(128, 132), 16, 16));
|
||||
platforms.Add(new Platform(new Vector2(176, 132), 16, 16));
|
||||
platforms.Add(new Platform(new Vector2(288, 132), 16, 16));
|
||||
|
||||
for (int i = 0; i < numberOfPlatforms; i++)
|
||||
|
||||
Reference in New Issue
Block a user