Example #1
0
        private async void LoadStuff()
        {
            Console.Log("yer");
            await GameContent.Init(Content, GraphicsDevice);

            string initialPath = Constants.STARTING_LEVEL;

            LevelManager.Load(initialPath);
        }
Example #2
0
        private async void LoadStuff()
        {
#if WEB
            await GameContent.InitAsync(Content, GraphicsDevice);
#else
            GameContent.Init(Content, GraphicsDevice);
#endif
            string initialPath = Constants.STARTING_LEVEL;
            LevelManager.Load(initialPath);
            Console.Log("done loading");
        }
Example #3
0
        private async void LoadStuff()
        {
#if WEB
            await GameContent.InitAsync(Content, GraphicsDevice);
#else
            GameContent.Init(Content, GraphicsDevice);
#endif
            string initialPath = Constants.STARTING_LEVEL;
            LevelManager.Load(initialPath);
            Sound.PlayTrack(Sound.Tracks.Underworld);
        }