Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
cambio en el máximo de notas en pantalla
  • Loading branch information
GabrielTrbl authored Nov 27, 2023
1 parent 6df5672 commit 877205c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Game/js/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function upDifficulty (){ // sube la dificultad, aumentando el limite de notas
if (gameTime >= currentDifficulty * 5000)
currentDifficulty++;
}
const maxNotes = currentDifficulty * 2;
const maxNotes = currentDifficulty * 1.5;
while(notes.length < maxNotes){
spawnNote();
}
Expand Down

0 comments on commit 877205c

Please # to comment.