jueves, 20 de abril de 2023

ejemplo de sript C# unity de sonido por colision y tag;

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

public class SUENAPORTACELBEBEALPASAR : MonoBehaviour
{



    public AudioSource tickSource;


    void Start()
    {

        tickSource = GetComponent<AudioSource>();

    }

    void Update()
    {
    }

    void OnTriggerEnter(Collider other)
    {
        if (other.gameObject.CompareTag("caca"))
        {


            tickSource.Play();

            //Destroy (gameObject, 0.2f);


        }
    }

}
 


miércoles, 19 de abril de 2023

script en c# de unity para hacer disparos tiro a tiro o en rafagas con el raton o con el teclado;

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

public class DISPARAESCUPITAJOSBOTONDERECHORATON : MonoBehaviour
{
   


    [SerializeField] private AudioClip sndNewDamage;
    [SerializeField] private AudioClip sndCrashWarning;
    [SerializeField] private AudioClip sndHasDamageWarning;
    [SerializeField] private AudioClip sndFueldLow;
    public Rigidbody projectile;
    public float speed = 1;//originallllllllllllllllllllllllllllllllllllllllllllll

    //public float speed = 0.1f;
    // Update is called once per frame
    void Update()
    {
        //if (Input.GetKey (KeyCode.Mouse1)){///ORIGINAL 8-7-22
        //if (Input.GetButtonDown("Fire3")){///TIRO A TIRO


       // if (Input.GetButtonDown("Fire2"))
      
       // {///TIRO A TIRO


          //  if (Input.GetButton("Fire2"))
           // {//AMETRALLADORA




           // if (Input.GetButton("Fire2"))
          //  {//AMETRALLADORA






                //if (Input.GetButtonDown("Fire2")){///TIRO A TIRO
                //if (Input.GetButton ("Fire1"))////// AMETRALLADORA AMETRAYADORA
                //if (Input.GetKey (KeyCode.M)){
                //if (Input.GetButtonUp("Fire1"))/////TIRO A TIRO

                //    if (Input.GetMouseButtonDown(3))
                //if (Input.GetKey (KeyCode.Mouse1)){







                    //if (Input.GetKey (KeyCode.Space)) {// escupe rafagas

                   if (Input.GetKeyDown("space"))
                                                   {// escupe de 1 en 1










                //if (Input.GetKey (KeyCode.Mouse1)){///ORIGINAL 8-7-22
                //    if ((Input.GetKey (KeyCode.I)) && (Input.GetKey (KeyCode.O))) {////////funciona al apretar las 2 teclas a la vez  I O ////
                //    if (Input.GetKey (KeyCode.O)) {

                //{
                Rigidbody p = Instantiate(projectile, transform.position, transform.rotation);
            p.velocity = transform.forward * speed;


        }
    }
}




lunes, 17 de abril de 2023

Prototype 5 from World War II by TOZUDO;

Desarrollando videojuego indie, con un estilo surrealista, y gore, inspirado en la historia de las experimentaciones nazis en temas sobre la salud humana, tema macabro, y disparatado........intento sorprender, impresionar o reir.....aunque todos savemos que los echos reales que me dieron pie para desarrollar este juego son horripilantes, no se puede viajar en el tiempo para desacer esas varbaridades, por desgracia el ser humano es capaz de cualquier cosa, tanto a nivel de bondad, como a nivel de maldad. 

Developing an indie video game, with a surreal and gore style, inspired by the history of Nazi experimentation on human health issues, a macabre theme, and crazy........I try to surprise, impress or laugh.... Although we all know that the real events that led me to develop this game are horrifying, you cannot travel back in time to undo these varbarities, unfortunately human beings are capable of anything, both at the level of kindness and at evil level.


viernes, 7 de abril de 2023

he hidden invasion. by TOZUDO

 













jueves, 6 de abril de 2023

domingo, 2 de abril de 2023

Prototype3 from World War II by TOZUDO

 

Explosive table party by TOZUDO