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