Skip to content

Commit

Permalink
Update cano
Browse files Browse the repository at this point in the history
  • Loading branch information
GuilhermeSanchesS authored Aug 10, 2020
1 parent 8e0bc60 commit 9eb776a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jogo.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ function criaCanos() {
desenha() {
canos.pares.forEach(function(par) {
const yRandom = par.y;
const espacamentoEntreCanos = 150;
const espacamentoEntreCanos = 90; // 180

const canoCeuX = par.x;
const canoCeuY = yRandom;
Expand Down Expand Up @@ -353,4 +353,4 @@ window.addEventListener('click', function() {
});

mudaParaTela(Telas.INICIO);
loop();
loop();

0 comments on commit 9eb776a

Please sign in to comment.