Browse Source

Reorganize Content/ into multiple subdirectories.

Add new tilesets from anokolisa.

GitOrigin-RevId: 90cfd52a3c
master
Colin McMillen 4 years ago
parent
commit
f0ea8d8ef2
  1. 4
      Shared/Scene.cs
  2. 4
      Shared/SneakGame.cs

4
Shared/Scene.cs

@ -38,8 +38,8 @@ namespace SemiColinGames {
// TODO: handle unloading of resources when the level is done.
spriteBatch = new SpriteBatch(graphics);
font = content.Load<SpriteFont>("font");
grasslandBg1 = content.Load<Texture2D>("grassland_bg1");
grasslandBg2 = content.Load<Texture2D>("grassland_bg2");
grasslandBg1 = content.Load<Texture2D>("backgrounds/anokolisa/grassland_bg1");
grasslandBg2 = content.Load<Texture2D>("backgrounds/anokolisa/grassland_bg2");
}
public bool Enabled { get; set; }

4
Shared/SneakGame.cs

@ -69,8 +69,8 @@ namespace SemiColinGames {
private void LoadLevel() {
framesToSuppress = 2;
camera = new Camera();
player = new Player(Content.Load<Texture2D>("Ninja_Female"));
world = new World(Content.Load<Texture2D>("grassland"), Levels.ONE_ONE);
player = new Player(Content.Load<Texture2D>("sprites/ccg/ninja_female"));
world = new World(Content.Load<Texture2D>("tiles/anokolisa/grassland"), Levels.ONE_ONE);
scene = new Scene(GraphicsDevice, camera, Content);
}

Loading…
Cancel
Save