Exemplo n.º 1
0
        /// <summary>
        /// LoadContent will be called once per game and is the place to load
        /// all of your content.
        /// </summary>
        protected override void LoadContent()
        {
            base.LoadContent();

            spriteBatch = new Equestribatch(GraphicsDevice);

            _stateManager.AddScreenLoad(_Screen);
        }
Exemplo n.º 2
0
 protected override void LoadContent()
 {
     spriteBatch = new Equestribatch(GraphicsDevice);
     //_skelebatch = new EquestriSkeleBatch(GraphicsDevice);
     errorTexture = AssetManager.GetTexture("{error}");
     smallFont    = AssetManager.GetFont("{smallfont}");
     TextureObjectFactory.Device_Ref = GraphicsDevice;
     base.LoadContent();
 }
Exemplo n.º 3
0
        /// <summary>
        /// LoadContent will be called once per game and is the place to load
        /// all of your content.
        /// </summary>
        protected override void LoadContent()
        {
            base.LoadContent();
            // Create a new SpriteBatch, which can be used to draw textures.
            spriteBatch = new Equestribatch(GraphicsDevice);

            //scene.Messages.AddMessageBox(new MessageBox("/name[Trixie]Where the f**k is my money Fluttershy?", scene));
            //scene.Messages.AddMessageBox(new MessageBox("/name[Fluttershy]O-oh!/d[2]/d[] Uhm...I-i'll go get it.../move[(1000|260),0,(0.7|0.7),1,1,5]", scene));
            //scene.Messages.AddMessageBox(new MessageBox("/name[Trixie]/move[(1000|260),0,(0.7|0.7),1,1,5]/d[2]/d[]Bitch better have my f*****g money :v", scene));

            // TODO: use this.Content to load your game content here
            //EquestriEngine.Objects.DrawableSkeleton skeleton = new EquestriEngine.Objects.DrawableSkeleton("chicken", "skeleton","Default");

            #if !DEBUG
            var logo = new EquestriEngine.Objects.Graphics.TextureObject("{logo}", @"Graphics\UI\logo");
            _stateManager.AddScreen(new EquestriEngine.SystemScreens.LogoScreen(logo, _Screen));
            #else

            _stateManager.AddScreenLoad(_Screen);
            #endif
            //EquestriEngine.Systems.StateManager.AddScreen(new EquestriEngine.SystemScreens.GameplayScreen(_stateManager));
        }
 protected override void LoadContent()
 {
     spriteBatch = new Equestribatch(GraphicsDevice);
     //_skelebatch = new EquestriSkeleBatch(GraphicsDevice);
     errorTexture = AssetManager.GetTexture("{error}");
     smallFont = AssetManager.GetFont("{smallfont}");
     TextureObjectFactory.Device_Ref = GraphicsDevice;
     base.LoadContent();
 }