Added Rowans kitchen sink background.

This commit is contained in:
J. M. Ellis
2024-06-02 18:29:22 -07:00
parent 6fb291dc73
commit 75fb2c4fb8
3 changed files with 18 additions and 3 deletions
+4 -1
View File
@@ -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)