http://gamasutra.com/blogs/JonStokes/20140122/209090/How_to_Build_an_Indie_Arcade_Cabinet.php
http://opengameart.org/content/big-space-gun-free-pixel-art-graphics-for-your-game-0
# Gentrificação | |
## Motivação | |
Ódio a São Paulo. Influência do Metropolis, SimCity, PeaceMaker. Leitura do A Pattern Language e David Harvey. | |
## Conceito | |
Alcance seu objetivo como um de 3 demiurgos de uma cidade fictícia. |
using UnityEngine; | |
using System.Collections; | |
public class ExSomaCondicional : MonoBehaviour | |
{ | |
public float a; | |
public float b; | |
void Start () | |
{ |
using UnityEngine; | |
using System.Collections; | |
public class ContagemMultiplos : MonoBehaviour | |
{ | |
// editavel no Inspector | |
public int divisor; | |
void Start () | |
{ |
using UnityEngine; | |
using System.Collections; | |
public class Tabuada : MonoBehaviour | |
{ | |
public int num; | |
void Start () | |
{ | |
for (int mult = 0; mult <= 10; mult++) |
using UnityEngine; | |
using System.Collections; | |
public class ConversorFahrenheit : MonoBehaviour | |
{ | |
public float tempF; | |
void Start () { | |
float tempC = (tempF - 32) * 5 / 9; | |
print("A temperatura em Celsius é " + tempC); |
// versão 1 | |
bool PersonagemMorreu (float dano, float saude) | |
{ | |
if (dano >= saude) | |
{ | |
return true; | |
} | |
else | |
{ | |
return false; |
using UnityEngine; | |
using System.Collections; | |
public class TemChave : MonoBehaviour | |
{ | |
// definido no Inspector | |
public string[] inventario; | |
void Start () | |
{ |
using UnityEngine; | |
public class Carta | |
{ | |
public int numero; | |
public string naipe; | |
public Carta (int numero, string naipe) | |
{ | |
this.numero = numero; |
public function updateDrawOrder ():void { | |
// resets and populates draw layer with world tiles | |
R.thisWorld.tiles.sortOn("worldY", Array.NUMERIC); | |
layerWorld.members = []; | |
for each(var tile:MapTile in R.thisWorld.tiles) { | |
layerWorld.add(tile); | |
} | |
add(layerWorld); | |
} |