A stealth-based 2D platformer where you don't have to kill anyone unless you want to. https://www.semicolin.games
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.9 KiB

  1. using Microsoft.Xna.Framework.Content;
  2. using Microsoft.Xna.Framework.Graphics;
  3. namespace SemiColinGames {
  4. class Textures {
  5. public static Texture2D Player;
  6. // Backgrounds are indexed by draw order; the first element should be drawn furthest back.
  7. public static Texture2D[] Backgrounds = new Texture2D[4];
  8. public static Texture2D Cemetery;
  9. public static Texture2D Crypt;
  10. public static Texture2D Dungeon;
  11. public static Texture2D Forest;
  12. public static Texture2D Garden;
  13. public static Texture2D Grassland;
  14. public static Texture2D Ruins;
  15. public static Texture2D Sewer;
  16. public static Texture2D Temple;
  17. public static Texture2D Village;
  18. public static SpriteFont DebugFont;
  19. public static void Load(ContentManager content) {
  20. Player = content.Load<Texture2D>("sprites/ccg/ninja_female");
  21. Backgrounds[0] = content.Load<Texture2D>("backgrounds/szadiart/pf4/background1_day");
  22. Backgrounds[1] = content.Load<Texture2D>("backgrounds/szadiart/pf4/background2a_day");
  23. Backgrounds[2] = content.Load<Texture2D>("backgrounds/szadiart/pf4/background3_day");
  24. Backgrounds[3] = content.Load<Texture2D>("backgrounds/szadiart/pf4/background4_day");
  25. Cemetery = content.Load<Texture2D>("tiles/anokolisa/cemetery");
  26. Crypt = content.Load<Texture2D>("tiles/anokolisa/crypt");
  27. Dungeon = content.Load<Texture2D>("tiles/anokolisa/dungeon");
  28. Forest = content.Load<Texture2D>("tiles/anokolisa/forest");
  29. Garden = content.Load<Texture2D>("tiles/anokolisa/garden");
  30. Grassland = content.Load<Texture2D>("tiles/anokolisa/grassland");
  31. Ruins = content.Load<Texture2D>("tiles/anokolisa/ruins");
  32. Sewer = content.Load<Texture2D>("tiles/anokolisa/sewer");
  33. Temple = content.Load<Texture2D>("tiles/anokolisa/temple");
  34. Village = content.Load<Texture2D>("tiles/anokolisa/village");
  35. DebugFont = content.Load<SpriteFont>("font");
  36. }
  37. }
  38. }