From daf4b6e345836d77a28453a7f10d3c300f179cf0 Mon Sep 17 00:00:00 2001 From: Gibstick Date: Sat, 9 Nov 2013 06:59:24 -0500 Subject: [PATCH] adjusted disco beat --- src/ca/gibstick/discosheep/DiscoParty.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ca/gibstick/discosheep/DiscoParty.java b/src/ca/gibstick/discosheep/DiscoParty.java index 66041cb..65ce3f7 100644 --- a/src/ca/gibstick/discosheep/DiscoParty.java +++ b/src/ca/gibstick/discosheep/DiscoParty.java @@ -381,14 +381,14 @@ public class DiscoParty { } void playSounds() { - player.playSound(player.getLocation(), Sound.NOTE_BASS_DRUM, 1.0f, 1.0f); + player.playSound(player.getLocation(), Sound.NOTE_BASS_DRUM, 0.5f, 1.0f); if (this.state % 2 == 0) { - player.playSound(player.getLocation(), Sound.NOTE_SNARE_DRUM, 1.0f, 1.0f); + player.playSound(player.getLocation(), Sound.NOTE_SNARE_DRUM, 0.75f, 1.0f); } - if (this.state % 4 == 0) { + if ((this.state + 1) % 8 == 0) { player.playSound(player.getLocation(), Sound.NOTE_STICKS, 1.0f, 1.0f); } - player.playSound(player.getLocation(), Sound.BURP, 0.5f, r.nextFloat() + 1); + //player.playSound(player.getLocation(), Sound.BURP, 0.5f, r.nextFloat() + 1); TODO } void randomizeFirework(Firework firework) {