Пример #1
0
        //+++++++++++++++++++++++++    METODOS OBLIGADOS DEL JUEGO    ++++++++++++++++++++++++++++++++++++++
        public void Load(ContentManager Content)
        {
            caminar = new Animacion(Content.Load <Texture2D>("Acciones/zombieDer"), 61, 0.12f, true);
            agachar = new Animacion(Content.Load <Texture2D>("Acciones/Agachar"), 61, 0.12f, false);
            saltar  = new Animacion(Content.Load <Texture2D>("Acciones/Saltar"), 61, 0.12f, false);
            bflip   = new Animacion(Content.Load <Texture2D>("Acciones/Backflip"), 80, 0.12f, false);
            stand   = new Animacion(Content.Load <Texture2D>("Acciones/Stand"), 80, 0.10f, false);
            dies    = new Animacion(Content.Load <Texture2D>("Acciones/Die"), 80, 0.10f, false);
            hurts   = new Animacion(Content.Load <Texture2D>("Acciones/Herir"), 60, 0.10f, true);
            iThrow  = new Animacion(Content.Load <Texture2D>("Acciones/ItemThrow"), 70, 0.10f, false);
            atacar  = new Animacion(Content.Load <Texture2D>("Acciones/SimAtk"), 80, 0.12f, false);

            //      ATAQUE AGACHADO
            crouchAtk = new Animacion(Content.Load <Texture2D>("Acciones/CAttack"), 70, 0.05f, false);

            //      RECTANGULOS UTILIZADOS PARA LAS COLISIONES
            hitText   = Content.Load <Texture2D>("Rectangles/RectangleHit");
            standText = Content.Load <Texture2D>("Rectangles/RectangleStand");
            fon       = Content.Load <SpriteFont>("fuente");

            Oz = Content.Load <Texture2D>("Rectangles/Platform");
        }
Пример #2
0
 public void Load(ContentManager Content)
 {
     fondo = new Animacion(Content.Load <Texture2D>("Level/Background"), 1330, 685, false);
 }
Пример #3
0
 public void Load(ContentManager Content)
 {
     cierraGirando = new Animacion(Content.Load <Texture2D>("Acciones/cierra"), 62, 0.25f, true);
     cierra        = Content.Load <Texture2D>("Rectangles/RectangleCierra");
 }
Пример #4
0
 public void Load(ContentManager Content)
 {
     caminar = new Animacion(Content.Load <Texture2D>("Death/Death"), 130, 0.26f, true);
     atacar  = new Animacion(Content.Load <Texture2D>("Death/DeathAtt"), 360, 0.12f, true);
 }