xxxxxxxxxx
33
//_________________________________________________________________//
function setup() {
createCanvas(500, 400);
somDaTrilha.loop();
}
function draw() {
background(imagemDaEstrada);
mostraAtor();
mostraCarro();
movimentaCarro();
movimentaAtor();
voltaPosicaoCarros();
verificacolisao();
mostraCarrosD();
movimentaCarroD();
voltaPosicaoCarrosD();
verificacolisaoD();
mostrarPontosJogador();
marcaPontoJogador();
}