Esempio n. 1
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");
        }
Esempio n. 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);
            Sound.PlayTrack(Sound.Tracks.Underworld);
        }