spawn

using System.Collections; using System.Collections.Generic; using UnityEngine; public class RandomMalo : MonoBehaviour { // Start is called before the first frame update public GameObject original; public Transform referencia; private IEnumerator disparo; public float targetTime = 10.0f; bool bandera=true; void Start() { disparo=Disparar(); } // Update is called once per frame void Update() { targetTime = targetTime-Time.deltaTime;... Continue Reading →

shooter

using System.Collections; using System.Collections.Generic; using UnityEngine; public class Proyectil : MonoBehaviour { //Recuperar una referencia al componente rigidbody de este game object Rigidbody rb; // Start is called before the first frame update void Start() { //Puede ser null rb=GetComponent<Rigidbody>(); //Podemos obtener varios si hay Rigidbody[] rbs=GetComponents<Rigidbody>(); //rb.AddForce(new Vector3(0,5,-10),ForceMode.Impulse); rb.AddForce(transform.up*11,ForceMode.Impulse); Destroy(gameObject,3); } private void OnCollisionEnter(Collision... Continue Reading →

player

using System.Collections; using System.Collections.Generic; using UnityEngine; public class Player : MonoBehaviour { public GameObject original; public Transform referencia; private IEnumerator disparo; // Start is called before the first frame update void Start() { disparo=Disparar(); } // Update is called once per frame void Update() { if(Input.GetKeyDown(KeyCode.Space)){ StartCoroutine(disparo); } if(Input.GetKeyUp(KeyCode.Space)){ StopCoroutine(disparo); } float h=Input.GetAxis("Horizontal"); float v=Input.GetAxis("Vertical");... Continue Reading →

bad guy

using System.Collections; using System.Collections.Generic; using UnityEngine; public class Malo : MonoBehaviour { public float velocidad=5f; int dir; public float positiony=0f; public int speed=6; public GameObject player; public int bandera = 8; // Start is called before the first frame update // Update is called once per frame void Update() { if (transform.position.x >-24 || bandera>10){... Continue Reading →

Final Project Delivery

Zendayalovers team: Oscar Fabián Ramírez González A01630024Victor Jaret Guido Alvarado A01630603Francisco Mariano Amezquita Ramos A01634495 Reta 6-0 Reta 6-0 is a project that it is mainly intended to be a solution to those people who like to play tennis but finds difficult to play it in a competitive way, because our first motivation is the... Continue Reading →

Test Driven Development

On today´s post, we are going to talk about another way of development which kind of goes backwards, this is Test Driven Development (TDD). Test Driven Development consists of writing the tests first, then writing the source code that passes the test successfully and finally refactoring the written code. This methodology sounds kind of atypical,... Continue Reading →

Object Oriented Testing

Let´s talk about testing. Tests are intended to show that a program does what it intends to do and discover the flaws of the program before putting it into use. On this post we will talk about how to test Object Oriented systems and/or structures. Let´s remember that Object Oriented based is not as intuitive... Continue Reading →

Being right and doing it right? – Validation and Verification

On today´s entry we are going to talk about two software testing processes that sound very similar but the way that these two concepts deflects is on the way they approach to a software project, this is Validation and Verification. https://www.flickr.com/photos/149474952@N07/44224637315/in/photolist-2anYPUP-eDc4Zh-22ydb53-2gJDKE7-j7eoc3-6LGstL-gYG2Dv-6Fk3rs-LY4L5-7nWxRo-9dwZ6j-azrkf3-kfQvfM-9dtTQc-zCBgfy-9dtTLX-9dwUVs-78MkJz-8rkcWi-pqfU4P-9358G9-9gUe4o-9mbAc7-7vqKZD-96BEHe-6X1gDx-9dwXKU-9dtWCc-5UFuf-9dwWFh-9dtQNr-9dwY7U-9dwV8Y-9dwY1h-9dwXMw-9dtU3H-9dwXVJ-9dtW3x-9dwXQu-9dwUrA-9dx1Dd-9dtTRz-83orFT-9dwZgN-9dx1As-9dtVhv-9dtWyK-iNQwDG-hEvAFq-faxH9G Doing it right flickr photo by Rob Dando Validation. Validation is the process of... Continue Reading →

From classes to code

So, we have covered how to convert from classes to tables but what about classes to code? In this entry we will talk about the translation that it takes to convert classes to code. If you have been following up, you have known about UML and Modeling Languages and the patterns within software engineering (if you... Continue Reading →

Blog at WordPress.com.

Up ↑

Create your website at WordPress.com
Get started