Skip to content

Instantly share code, notes, and snippets.

View pr00thmatic's full-sized avatar

Ruth García pr00thmatic

View GitHub Profile
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Corrutinas : MonoBehaviour {
public bool control = true;
public Coroutine move = null;
void Start () {
StartCoroutine(Rotar());
public class MouseRaycastExample : MonoBehaviour {
public void MouseRaycast () {
Ray ray = Camera.main.ScreenPointToRay(Input.mousePosition);
RaycastHit hit;
if (Input.GetMouseButtonDown(0) &&
Physics.Raycast(ray, out hit)) {
GameObject created = Instantiate(chispas);
created.transform.position = hit.point;
}
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Motion : MonoBehaviour {
public GameObject target;
public float speed = 5;
void Update () {
float deltaDistance = Time.deltaTime * speed;

link a la(s) tarea en trello que éste pull request resuelve

What's new

Qué cosas nuevas hay ahora? Si es un refactor, se puede poner los cambios en el código... cosas como: "la fuerza de salto del personaje ahora es más fácil de configurar, ya que aprece en el inspector"

Known problems

Bugs que encontraron en la implementación del feature (relacionados al feature) pero que serán solucionados en un futuro branch

(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(default ((t (:family "Ubuntu Mono" :foundry "outline" :slant normal :weight normal :height 98 :width normal)))))
(custom-set-variables
;; custom-set-variables was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
public class Corutinas : MonoBehaviour {
public string state = "normal";
public float duration = 1.5f;
public float acceleration = 2;
public float speedBoost = 0;
using UnityEngine;
// use it like this:
// yield return new PauseFriendlyWaitForSeconds(1.3f);
public class PauseFriendlyWaitForSeconds : CustomYieldInstruction {
float elapsed = 0;
float waitingTime;
public override bool keepWaiting {

git es el motor de versionamiento.

github es una página que te deja subir carpetas de git (a esto se le llama "repositorio de git").

En github puedes tener muchos "remotes"... Un "remote" es un sitio en un servidor en donde se puede alojar un repositorio de git. Crear un remote es fácil xD solo es seguir las instrucciones en github.com (loguéate, haz clic en "+" en la parte superior derecha, y selecciona "new repository"

ya creamos un remote... el de la página web http://mpramos.github.io ... así que voy a escribir cómo continuar trabajando sobre ese repositorio:

continuar trabajando en http://mpramos.github.io (descargar el repositorio)

import java.util.*;
import java.Scanner;
public class Capicua {
public static void main(String[] args) {
Scanner in = new Scanner();
int n = in.nextInt();
String str = n + "";
String capi = str.substring(0, Math.floor(str.length/2));
module.exports = (() => {
// each word must be a string
function isClosedInSum (code, base = 2) {
var i, j;
var map = {};
var nonClosedCouples = [];
var missingElements = [];
var missingMap = {};
for (i=0; i<code.length; i++) {