Skip to content

Commit

Permalink
#7 you win softer reel sound
Browse files Browse the repository at this point in the history
  • Loading branch information
myselfhimself committed Feb 17, 2021
1 parent e46b7f0 commit 4b08d45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions youwin.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ function setup() {
cursor(HAND);
soundtrack.loop();
filmReelLoop.loop();
filmReelLoop.setVolume(0.2);
}

function draw() {
Expand All @@ -22,6 +23,7 @@ function draw() {
}
if (!filmReelLoop.isPlaying()) {
filmReelLoop.loop();
filmReelLoop.setVolume(0.2);
}
background(255);
animation(youWinAnim, width / 2, height / 2);
Expand Down

0 comments on commit 4b08d45

Please sign in to comment.