public override void Load() { tiledMap = new Map("Content/level3.tmx"); base.Load(); fond = new DrawableImage(mainGame.Content.Load <Texture2D>("FOND_EXPORT"), new Vector2(960, 540)); tiledMap.Load(mainGame, windowWidth, windowHeight); // TODO: use this.Content to load your game content here Debug.WriteLine("Load TestScene"); consolas = mainGame.Content.Load <SpriteFont>("Consolas"); player.Load(mainGame); player.CurrentPlayerCharacter.CurrentPosition = new Vector2(300, 300); grid = new DrawableImage(mainGame.Content.Load <Texture2D>("grid"), Vector2.Zero); base.Load(); }
public override void Load() { base.Load(); fond = new DrawableImage(mainGame.Content.Load <Texture2D>("fin_v0"), new Vector2(960, 540)); }