From 8afdc1920e2286fcd96bc3e371d515e5c649f772 Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Sun, 11 Sep 2016 00:41:15 +0200 Subject: [PATCH] Add battery dying sound. --- data/sounds/battery_dying.ogg | Bin 0 -> 16148 bytes data/sounds/sources.txt | 13 +++++++++++++ tabakrolletjie/scenes/night.py | 6 +++++- 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 data/sounds/battery_dying.ogg diff --git a/data/sounds/battery_dying.ogg b/data/sounds/battery_dying.ogg new file mode 100644 index 0000000000000000000000000000000000000000..e7392fe7c922535274b0d4d5d40efc2e8bf66751 GIT binary patch literal 16148 zcmch8c|6t6_wae&#ZEV5U#<`ekzJOHC|iV^#6?L-*_TLkt(7E|Em^L$tf4HaxRt2v zWRHX*3MosHp0_^V-|zSR{hsIbyk5^g&->1uJM*5IGiT16Idjg;xfZ8RSpx?C^&D3U zWZq1EZY_I@h#-MpzQ<4dZN5PEm2Cc?Pv}2CuMvyQmjC%|wnWg}?0xpkExLdH{ZYaG z17|l{eB`vZo4keZDdO4F#}EI7PBbR&QBYJ?P~5YJC~Xtq>wWCZi#*>KdG4oAd&+Er zNAUkN7u7d7jP`&4x65IfleevI+Q;(yr7E7{cX@j>Rx*lPUpn9Kuzj&iRoc-vk6xzx zwI?07k}5Szk7pPPH=I zOvRc^r~7qkd`h>DGhtFmI%@q|F*?!SRL1|HK4W22yOn8$e}W04q`#%+8I2@PYncp} z!}{)z@`bG5loq7=#f5h!kT>z9lL!KpEMN&hh{=|Y#YDxFU|9pAjhikS zJb$a86F>lGVhjc>(;VPcD4Igp!5e&h{`9nZ9*kUGxERWBSa-uax$^o z;em*fC_?%L0s9~1VLBut_9;7eG-Q6OFPajLL{nl99W`dM^U&1O6_JqnM=NOR#xX~+ zsq9;5YU^5) zi2h9eKk)um{u^a(HbYaTQ={(xr2c0ANAwSQ(D5GQQ@!ldoVPL*ax7IU=JZtFN@mE% zd#BjWvs9p|`KOzmZ?^qsHRG^ zAd{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Klg7y{bY-8*hv)cm6d7nN%B7w2WDrv?)QWDmG?hDWgo<paZvYqPUAYO<~A3Ve4=d<|i5Hbap#o@jU>1b>`>}H3!ErG3q4^nf0yVy6J(DX{D}2cnllSG<2$MKbLn;*I&KF@z?CBc*YVS+rGpjdEJuAJBREipK+Gy4qCz z+fKhPD)Ncf`&agNh7bNux}jRcNcx!--CCyd6B#29pY&-M8ob5a8IC83dmZqH&I5p_ z)<6&yV@Ad33_h)1fUxstU4U=2`#YYt zxx1z5rWI=nB05Ff$tTY%(<-*yduN&dIHYunlRwY&0zn5^{~%(|43ARH-e=swyEgf> zu~8W{Y2b`>V2I#f{*am4h$A8B?EWw?6|DCCGt6~${<6}j(bjik-*MC&IU{EbUPOu6{GG+ElV{duRhSAo-iKWaJoZi`f2n9Pc%|Zrwf05` z#AUebl2U#kdg09HKI;O-c{|V~f-(*|x#>6_8detA@lZb)xVC^z z`)mtbuFof=euzX}IHdUwcRf4sj7dp~TWk15;ca>uZ;9FCdkPI%g~a%4l^Po*t=@+> zY;gilYd!=tZM=~KTWwQDtE{{_JHU{ml9#MZW+cMza#C}kTmlE#SS?5`PoQI{{pgZ? zTK%9;l{DJ=SaEf3m-z@@Ey$F$Q`S_mmF2t}6FBQN{+Syw;GD^F*}tv9A@%yvd*@HI zf3G{)bOB+_Z>{|?bS-{HvW?wdBew0xZ{MF;W&At@lm5k}f%#j>pB)Mt+|-pxp}!w^ zB*=jCo`FmClJ6P>MZ&jm;Ymh}^h)hNUyp_33DE%; V?GK+q)ejkF9s$T;2A)nC_+Lu+B>w;a literal 0 HcmV?d00001 diff --git a/data/sounds/sources.txt b/data/sounds/sources.txt index 021f532..d6b8007 100644 --- a/data/sounds/sources.txt +++ b/data/sounds/sources.txt @@ -36,6 +36,19 @@ Notes: Ogg generated using 'oggenc -q -1 -o beep_kind.ogg BEEPKIND.WAV' +battery_dying.ogg +----------------- + +URL: + http://archive.org/download/Berklee44v3/Berklee44v3.zip +Source: + http://archive.org/details/Berklee44v3 +License: + http://creativecommons.org/licenses/by/3.0 +Notes: + Ogg generated using 'oggenc -q -1 -o battery_dying.ogg feedback_efx_2.wav' + + eating_chips_1.ogg eating_chips_2.ogg eating_chips_3.ogg diff --git a/tabakrolletjie/scenes/night.py b/tabakrolletjie/scenes/night.py index 7813e32..593a03f 100644 --- a/tabakrolletjie/scenes/night.py +++ b/tabakrolletjie/scenes/night.py @@ -14,6 +14,7 @@ from ..enemies import Boyd from ..events import SceneChangeEvent from ..utils import debug_timer, shadowed_text from ..loader import loader +from ..sound import sound from ..transforms import Overlay from ..turnip import Turnip from ..widgets import ImageButton @@ -31,6 +32,7 @@ class NightScene(BaseScene): self._obstacles = ObstacleManager(self._space, gamestate) self._lights = LightManager(self._space, gamestate) self._battery = BatteryManager(gamestate) + self._battery_dead = False self.check_battery() self._infobar = InfoBar("day", battery=self._battery, scene=self) self._countdownbar = CountDownBar("h") @@ -175,7 +177,9 @@ class NightScene(BaseScene): (350, 240))) def check_battery(self): - if self._battery.current == 0: + if self._battery.current == 0 and not self._battery_dead: + self._battery_dead = True + sound.play_sound("battery_dying.ogg") self._lights.battery_dead() @debug_timer("night.tick") -- 2.34.1