From 4c2c3254321dcec52485ae2c327eec7f61eedaa9 Mon Sep 17 00:00:00 2001 From: Storm dragon Date: Thu, 24 Mar 2016 07:14:54 -0400 Subject: [PATCH] latest changes. --- .../__pycache__/storm_games.cpython-35.pyc | Bin 2048 -> 2930 bytes mine-racer/mine-racer.py | 3 ++- mine-racer/storm_games.py | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/mine-racer/__pycache__/storm_games.cpython-35.pyc b/mine-racer/__pycache__/storm_games.cpython-35.pyc index 8d8024a5b970649350c8f503943e11935c7af430..144446eb1cf0a317231369d0d54bfcf8529589e0 100644 GIT binary patch literal 2930 zcmZXWOK;pp6344a4(FlK!*Xm#c@lYgl6aK&Au(+4THXa>L=iknoDc{GG}#()#34uB zJ+elyPtF&}Z4dhelCO}<9{04^-6OBLM8{--JqQ7ke>F!BI~;YXyZTk#{j2J}I6vQ- zy#K#1(iYK=bmnuBzk#HGfJlf!NI{81nV=9E{JESTITSi1xa?8p(#WIGqfw2*TBWT~ z=F_N7VZAD2ga(C;W?*nCH-fpL#MSlup0a#fo`jaCP#sd87W{i~ximseC2OI4}+)w0IZvZlu}+F4-p zdDNk5>yOY$E zp4?B3HTsNba`PtFSlgCSoEg*-FlZ6wn2q4iL#iQJgT6=Rj6rrIVG|(Xy{tBN=$-5> zYCPt`)F`QOlQpD=f>NS~4()%y2ekI}6?*8}QGFVMyc#`l=@J?~z#+Lb1hzi+1(hpT zcQ@!R^uTjvh)MZ0Tg>jUuFX0$7Ets$t@XnjSjXW%VRn4HASQ(OtB0gNffxW3qOWhT zWmtm2R2H2_4v&Prg_QsX?#5O)nAx5J4Bhc()!#a_>tjOypstHap6Jz5bPsvP(k%vq z(!C$;bsY5+6zT#*$5Srnd2^YH3@25~iu;mTce-zvV(W?HI%-{IZ-|T0_}UBTrFj`m zI(X^Czhr+fNxN6GB91bB4VmNSCpIZQXvJ0?v>1^qz*-fsYl-#eAUgA^jenuXqlWb) zg=x_=Y-nlvqau;v9OvR_%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@mTCH1uy~DfZ7k zV5+tAeWO9`3ojQAVJ0KWwUlRxb1eg%x(o5NJ${^ zjC(a9@#fisNADgzZlV`Y9z4j=X!Om9f-;kNdGo&azIkuv%|T_mG+ZeZaxdWE;WHKB z6C4{E)bHSm_V+SSnBg6m<Oixw zi;w{n(Y(+LKyh0Ty2&}0s%GcbQtSlOVf4Hgc(LdBUdM^OFo^bkOeYH@BwF&8Oq2^e zEzB2y7?2|@o0O%=1qJu1QuD*eP1V-MiqmvcdA04usqC(MG1Cw~CUowe<%rE)%eXz{ z%n{@?U%!+d5w({Goq8@`9XJZ-k>7Hoz8A%{u-O_LOeW=JfrbRkATdB)g}TO{X)6Pp8K~>PjalKa262u< z;CS+#`a5Ao#)wFu{fl?6-~_C!!A1GY`{?i%>7| zUgDLkPQfw->=AALey1-A+X0PkG~1C^vlBzpyQ~NAL)`w#_g7!v-+R0`{`n`4YMJFZ zau$W9h=5e~Lx-{fZqA}e75AwdV3Vvl*eaQZyOHX1_RP}M#NrGyd7L_DPcJObry1W3 zEP2j;u*loYbr?IxNd^JBP?aq$Y>8gA@PM$D5|3Tr@PAL7<;`I?-JpF1(dZ%yAS&s_ zsS=YEarS^lMz9A>G9+Y?uo3jC7E{f(X;`!ER0<;|p$!j>uD6`zW6oF=m0DWVa^2b! zDsr>bDc{5582=lhT2T?>EhRXQWhe3!pF$sPhP3UwW4zI#3JO&+NQqR4!6)iP*-(tq EFN7uEqyPW_ diff --git a/mine-racer/mine-racer.py b/mine-racer/mine-racer.py index 5005412..4e134fd 100755 --- a/mine-racer/mine-racer.py +++ b/mine-racer/mine-racer.py @@ -4,8 +4,9 @@ from storm_games import * # Initial variable settings +gameName = "Mine Racer" mode = "menu" -sounds = initialize_gui("Mine Racer") +sounds = initialize_gui(gameName) def game(): pygame.mixer.music.load("sounds/music_car.ogg") diff --git a/mine-racer/storm_games.py b/mine-racer/storm_games.py index 827e6ba..02599d5 100755 --- a/mine-racer/storm_games.py +++ b/mine-racer/storm_games.py @@ -39,6 +39,7 @@ def initialize_gui(gameTitle): def game_menu(*options): loop = True pygame.mixer.music.load("sounds/music_menu.ogg") + pygame.mixer.music.set_volume(0.75) pygame.mixer.music.play(-1) i = 0 speak(options[i]) @@ -53,7 +54,6 @@ def game_menu(*options): eval(options[i] + "()") continue except: - pygame.mixer.music.fadeout(500) time.sleep(0.25) return options[i] continue