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

            string initialPath = Constants.STARTING_LEVEL;

            LevelManager.Load(initialPath);
        }
示例#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");
        }
示例#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);
        }