xxxxxxxxxx
27
var tela = 1;
function setup() {
createCanvas(400, 400);
}
function draw() {
// Tela Principal
if ( tela == 1) {
background(220);
}
// Jogo em ação
if ( tela == 3) {
background(220);
}
// Creditos
if ( tela == 3) {
background(220);
}
}