jueves, 29 de septiembre de 2022

demo 7 de western ;

 

Explicacion mas detallada de recogida de objetos con C# de unity;

 using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class creaenmano3 : MonoBehaviour
{
   

    public GameObject retra, pico;


    // private void Update()/////original
    //  {/////////////////original

    //  if (Input.GetKeyDown(KeyCode.Alpha1))/////original



    // {////original
    // hacha.SetActive(false);///original
    //   pico.SetActive(false);/////original
    //     }////original


    private void OnTriggerEnter(Collider other)/////imbento
    {
        if (other.tag == "Player")///////imbento
        {/////////////////////////////////////imbento





            //  if (Input.GetKeyDown(KeyCode.Alpha2))//////original
            {
                retra.SetActive(true);
                pico.SetActive(false);
            }
            //   if (Input.GetKeyDown(KeyCode.Alpha3))
            //   {
            //   hacha.SetActive(false);
            //   pico.SetActive(true);
        }
    }
}
// }///////////////////imbento




En esta imagen de arriba el cubo donde puse el script...

aqui con la flecha raton señalo el arma que tiene en un hueso de la mano el Player, esta desactivada, en las sucesivas imagenes se puede ver como la arrastro en la casilla que produce el script, y el script la activa cuando el player entra en la zona del cubo al igual que produce el texto del manejo de esta, funciona de la misma forma...

 

 using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class activatTexto : MonoBehaviour
{
    public GameObject texto;

    private void OnTriggerEnter (Collider other)
    {
      if(other.tag == "Player")
        {
            texto.SetActive(true);
              

        }
    }
    private void OnTriggerExit(Collider other)
    {
        if (other.tag == "Player")
        {
            texto.SetActive(false);


        }
    }
}

 

fijarse en el video y en las imagenes , 






en la imagen indico que hay que arrastrar con el raton el arma desactivada a la casilla producida por el script en C# que hace aparecer el arma en la mano del player, ......

utilizo tambien otro script que hace borrar la imagen del arma al tocarla el player y da la sensacion que la recoje....

 

 

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class destruyemetraportag : MonoBehaviour
{
   



    //public AudioSource tickSource;


    void Start()
    {

        //tickSource = GetComponent<AudioSource> ();



    }

    void Update()
    {
    }

    void OnTriggerEnter(Collider other)
    {
        //if (other.gameObject.CompareTag ("avismo")){
        //if (other.gameObject.CompareTag ("ogri2")){
        if (other.gameObject.CompareTag("Player"))
        {
            //transform.Rotate (new Vector3 (0 * Time.deltaTime, 91, 90), Space.Self);

            //tickSource.Play ();
            Destroy(gameObject, 0.0f);


        }
    }

}

//}






martes, 27 de septiembre de 2022

C# DE UNITY; SCRIPTS ECHO POR MI, FIJANDOME EN APRENDIDOS POR INTERNET DE OTROS.;

 

😁😁😁😁😁😁😁😁😁😁😁😁😁😁😁😁😁😁😁😁😁😁😁😁😁😁😁😁😁😁😁😁😁

 

 SCRIPTS MUY IMPORTANTES CREAN O RECOGEN UN ARMA ALPASAR POR UN SITIO Y AL DISPARAR PIERDEN MUNICION INDICADO POR UNA VARRA DE MUNICION EN LUGAR DE VIDA, ASTA QUE ESTA DESAPARECE AL NO TENER MUNICION

 

 

 

 ------------------------------------------------------------------------------------------------

 

 SCRIPT ECHO POR MI, FIJANDOME EN APRENDIDOS POR INTERNET DE OTROS.

APRIETAS EL RATON Y MENGUA LA BARRA DE MUNICION DEL ARMA ASTA DESAPARECER

 

 

 

 

 using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class barradevidamenguaalapretarraton : MonoBehaviour
{


    //    public int cura;
    public int damage;
    public int vidaEnemigo;
    public Slider BarraVidaEnemigo;


    void Update()
    {

        BarraVidaEnemigo.value = vidaEnemigo;

    }


    void OnTriggerEnter(Collider other)
    {
        //if (other.gameObject.CompareTag ("MATA")){
        
        //if (other.gameObject.CompareTag("Player"))
            if (Input.GetButton("Fire3"))////// AMETRALLADORA AMETRAYADORA
            {

            vidaEnemigo -= damage;



            if (vidaEnemigo <= 0)

                DestroyObject(gameObject);///IMBENTADO

            {




                //Application.LoadLevel (3);////original 16-6-22

                //Application.LoadLevel (10); ////prueba ORIGINAL DE 22-6-22
                //    Application.LoadLevel (1); ////prueba
                //    Application.LoadLevel(0); ////prueba ORIGINAL DE 26-7-22

            }
        

        }
    }

}


------------------------------------------------------------------------------------------------

-------------------------------------------------------------------------------------------------

 SCRIPT ECHO POR MI, FIJANDOME EN APRENDIDOS POR INTERNET DE OTROS.

PASAS POR UN CUBO Y SE ACTIBA UN ARMA EN LA MANO

---------------------------------------------------------------------------------------------

 

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class creaenmano3 : MonoBehaviour
{
   

    public GameObject retra, pico;


    // private void Update()/////original
    //  {/////////////////original

    //  if (Input.GetKeyDown(KeyCode.Alpha1))/////original



    // {////original
    // hacha.SetActive(false);///original
    //   pico.SetActive(false);/////original
    //     }////original


    private void OnTriggerEnter(Collider other)/////imbento
    {
        if (other.tag == "Player")///////imbento
        {/////////////////////////////////////imbento





            //  if (Input.GetKeyDown(KeyCode.Alpha2))//////original
            {
                retra.SetActive(true);
                pico.SetActive(false);
            }
            //   if (Input.GetKeyDown(KeyCode.Alpha3))
            //   {
            //   hacha.SetActive(false);
            //   pico.SetActive(true);
        }
    }
}
// }///////////////////imbento


😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆😆


sábado, 24 de septiembre de 2022

DEMO-6 WESTERN ;


miércoles, 21 de septiembre de 2022

DEMO-5 WESTERN ;



martes, 20 de septiembre de 2022

C#Unity aplicando fuerzas dos ejemplos;

 using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class MASARRIBAMAS : MonoBehaviour
{


    [SerializeField]

    private float fuerza;

    [SerializeField]

    private float aceleracion;


    private Rigidbody rb;



    // Start is called before the first frame update
    void Start()
    {
        rb = GetComponent<Rigidbody>();
    }

    // Update is called once per frame
    void Update()
    {
       // rb.AddForce(transform.forward * aceleracion, ForceMode.Acceleration);
        rb.AddForce(transform.up * aceleracion, ForceMode.Acceleration);
    }
}

--------------------------------------------------------------------------------------------------------

-----------------------------------------------------------------------------------------------------

ejemplo 2

-------------------------------------------------------------------------------------------------

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class ARRIBA : MonoBehaviour
{

   
    [SerializeField]

    private float fuerza;

    [SerializeField]

    private float aceleracion;


    private Rigidbody rb;



    // Start is called before the first frame update
    void Start()
    {
        rb = GetComponent<Rigidbody>();
    }

    // Update is called once per frame
    void Update()
    {
        rb.AddForce(transform.forward * aceleracion, ForceMode.Acceleration);
    }
}

sábado, 17 de septiembre de 2022

Ejemplo muy util de true y false con c# de unity, multiples posibilidades para desarrollar juegos;

 using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class activatTexto : MonoBehaviour
{
    public GameObject texto;

    private void OnTriggerEnter (Collider other)
    {
      if(other.tag == "Player")
        {
            texto.SetActive(true);
              

        }
    }
    private void OnTriggerExit(Collider other)
    {
        if (other.tag == "Player")
        {
            texto.SetActive(false);


        }
    }
}

 

 

-----------------------------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------------------------ 

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class pruebamultipletexto : MonoBehaviour
{

    public GameObject texto;
    public GameObject texto2;
    public GameObject texto3;
    public GameObject texto4;
    private void OnTriggerEnter(Collider other)
    {
        if (other.tag == "Player")
        {
            texto.SetActive(true);
            texto2.SetActive(true);
            texto3.SetActive(true);
            texto4.SetActive(true);
        }
    }
    private void OnTriggerExit(Collider other)
    {
        if (other.tag == "Player")
        {
            texto.SetActive(false);
            texto2.SetActive(false);
            texto3.SetActive(false);
            texto4.SetActive(false);
        }
    }

}

----------------------------------------------------------------------------------------------------

------------------------------------------------------------------------------------------------------


Cuando el player pasa por un trigger activado aparece un gameobject o un texto, cuando sale el gameobject desaparece, muy util para poner textos o enemigos o abrir puertas.....(en contruccion seguire explicandolo............en breve.......17-9-22.....aqui el ejemplo debajo de estas lineas....

con estas simples scripts e puesto enemigos, e accionado una puerta, e echo cambios de camaras, y seguro hay muchisimas mas posibilidares.......

 




https://tozudo415.itch.io/demo-4-western-gay

 













 

martes, 13 de septiembre de 2022

PEQUEÑO RESUMEN DE LO CONSEGUIDO ESTE AÑO QUE VA TERMINÁNDOSE….2022;

 


PEQUEÑO RESUMEN DE LO CONSEGUIDO ESTE AÑO QUE VA TERMINÁNDOSE….

E DEJADO DE PUBLICAR MIS JUEGOS EN

https://gamejolt.com/@paco415/games


EL MOTIVO PRINCIPAL, QUE ESTA DEDICADO SOLO A PUBLICO MENOR DE 18 AÑOS O AL MENOS ESO DA A ENTENDER PORQUE EN TEMAS MAS DIGAMOS “FUERTES” E TENIDO QUE SACAR MIS JUEGOS DE ESTE LUGAR, LUEGO CON LA PUBLICIDAD HAN DEJADO DE INGRESAR A LOS DESARROLLADORES UNOS MÍNIMOS INGRESOS, ALGO QUE ME HACIA MUCHA ILUSIÓN , AUNQUE SOLO FUESEN CÉNTIMOS, PORQUE TE DABA UN EMPUJÓN PARA SEGUIR CREANDO Y PUBLICANDO Y APRENDIENDO TAMBIÉN.


LES CONSULTE SOBRE EL TEMA, Y TIENEN SUS RAZONES ,LA GENTE CLICABA SUS PROPIOS ANUNCIOS ,EN SUS PROPIOS JUEGOS, PARA GANAR DINERO Y ESO ES HACER TRAMPA, Y LA DIRECCIÓN DE GAMEJOLT, LOS PROPIETARIOS NO TIENEN MEDIOS PARA CONTROLAR EL ASUNTO FRAUDULENTO, RESULTADO, PAGAN JUSTOS POR PECADORES,

RESULTADO YA NO SUBO MIS JUEGOS A GAMEJOLT ,,Y TENIA YA MAS DE 120 JUEGOS

NO TRES O CUATRO MAS DE 120 JUEGOS SUBIDOS A ESTE LUGAR.


YO NO CLICABA ANUNCIOS DE MIS PROPIOS JUEGOS PARA GANAR DINERO.

PERO TODOS NO SOMOS IGUALES.




EXISTE LA OPCIÓN DE PONER TU UN PRECIO PERO HAY QUE ESCANEAR EL CARNET DE IDENTIDAD Y MANDARLO A GAMEJOLT.


EN GOOGLE CON LOS BLOGS CONTROLAN ESTE TEMA DE LA FRAUDULENCIA CLICANDO ANUNCIOS, PERO EN GAMEJOLT SEGÚN ME RESPONDIERON NO TIENEN MEDIOS PARA CONTROLAR ESTE PROBLEMA.


AHORA SOLO PUBLICO PARA

https://tozudo415.itch.io/

https://itch.io/games


HAY LIBERTAD TOTAL CON TODOS LOS JUEGOS, UN PUBLICO Y UN GUSTO PARA CADA COSA Y TEMA Y OCURRENCIA, Y ES MAS FÁCIL CONSEGUIR ALGUNA VENTA SENCILLA, AUNQUE TAMBIÉN ES MAS DIFICIL DEBIDO ALA BRUTAL COMPETENCIA DE GENTE QUE HACE SUS PROPIOS JUEGOS, AHORA MISMO EXISTEN EN LA WEB MAS DE 595.000 JUEGOS, A ELEGIR.

BUENO HAY ESTOY, ALA COLA DEL ULTIMO QUE SE PUBLIQUE DETRÁS IRA UNO MIO, ASTA QUE ME CANSE DE ESTA FASCINANTE AFICIÓN,,,,,

 

 

EN TEMA TÉCNICO DESARROLLANDO E APRENDIDO Y ESTOY PULIENDO Y MEJORANDO, LAS BARRAS DE VIDA DE LOS PERSONAJES Y LOS DISPAROS Y FOGONAZOS MIDIENDO LAS DISTANCIAS ASÍ COMO LA CLONACIÓN DE ENEMIGOS, Y PERSECUCIONES DE ENEMIGOS,

TAMBIÉN CREACIÓN DE PAISAJES ENTORNOS DE LOS JUEGOS EDIFICIOS TEXTURAS MUEBLES INDUMENTARIA, APLICACIÓN DE ANIMACIONES Y CREACIÓN DE ESTAS,

ILUMINACIÓN, Y ESTOY PENDIENTE TAMBIÉN DEL USO DE LA MEMORIA PARA QUE SEAN JUEGOS FLUIDOS, BUENO ESTO NO SE ACABARA NUNCA, MI PC TIENE DE RAM UNAS 16 GIGAS Y VOY LOCO POR COMPRAR UN PC CON 64 GIGAS DE RAM, UN DINERAL, BALE UN DINERAL PERO ESPERO HACER EL CAMBIO ANTES DE QUE PASEN 2 AÑOS MAS, POCO A POCO, EL QUE TENGO AHORA AUN CHUTARA UN PAR DE AÑOS MAS SEGURO, TAMBIÉN DEPENDIENDO DE SI GENERO INGRESOS CON LA AFICIÓN, ENTONCES SI VALE LA PENA, CON CABEZA HAY QUE HACER LAS COSAS CON CABEZA.

Consejo de profesionales para los que hacemos videojuegos;

 HACE UNOS 5, QUIZÁS 7, AÑOS PEDÍ CONSEJO A PROFESIONALES DEL SECTOR DEL DESARROLLO, QUE SE GANAN LA VIDA HACIENDO VIDEOJUEGOS....A PASADO TIEMPO ,,NO E  ADELANTADO MARAVILLAS, PERO CREAR ALGO CON MI IMAGINACIÓN YA ME SATISFACE, PONGO AQUÍ UN RECORDATORIO PARA SEGUIR MOTIVANDOME


Consejo de profesionales para los que hacemos videojuegos; Consejo de profesionales para los que hacemos videojuegos

 

 

 Piensa en algo en lo que te quieras especializar del desarrollo de videojuegos. A la hora de hacer un juego hay muchas tareas muy diversas. Céntrate en si quieres ser game design, programador, artista. Incluso dentro de la especialización hay varias ramas. Céntrate en alguna. Empápate de arte de todo tipo. De música, de cine, de videojuegos, de pintura, da igual. Fíjate en qué hacen los grandes artistas y cómo lo hacen. Si es necesario, copia. Que no te importe. Y admite que lo has hecho. Siempre puedes decir que es un homenaje, o una referencia o un guiño ;). Una vez seas capaz de repetir lo que han hecho los grandes artistas serás capaz de seguir tu propio camino e innovar. La mejor forma para aprender es copiando. Tenlo clarísimo Cada trabajo que hagas muéstralo al mundo, que no te de verguenza. Sometíendote a las críticas de la gente es como aprendes a ver las cosas de otra manera y ves los errores que has cometido. Fórmate, trabaja duro, sé constante, empieza y acaba proyectos, muéstralos al mundo, aprende a mantener la motivación y si es posible forma un buen equipo para hacer juegos con ellos y manteneos unidos. No hay ningun secreto. Si quieres poder vivir de desarrollar videojuegos vas a tener que esforzarte como nunca lo hayas hecho en toda tu vida. Ten muy claro que hacer juegos tiene poco que ver con jugarlos y es muy sacrificado. Extremadamente sacrificado.

video de western gay deomo 3;

 


lunes, 5 de septiembre de 2022

Western DEMO DEVELOPING ;