From aedbd71588b0f1143c5baf6ca4a71956ee824310 Mon Sep 17 00:00:00 2001 From: Marcin Kostrzewski Date: Thu, 31 Jan 2019 19:23:25 +0100 Subject: [PATCH] Added splash & end screens beta --- __pycache__/colours.cpython-37.pyc | Bin 281 -> 279 bytes __pycache__/config.cpython-37.pyc | Bin 619 -> 617 bytes __pycache__/events.cpython-37.pyc | Bin 3220 -> 3180 bytes __pycache__/maps.cpython-37.pyc | Bin 1238 -> 1236 bytes __pycache__/sprites.cpython-37.pyc | Bin 5370 -> 5584 bytes data/graphics/end0.png | Bin 0 -> 7995 bytes data/graphics/endp1.png | Bin 0 -> 3636 bytes data/graphics/endp2.png | Bin 0 -> 3637 bytes data/graphics/hp.png | Bin 158 -> 0 bytes data/graphics/qwe.png | Bin 580 -> 0 bytes events.py | 7 ++- mygame.py | 75 +++++++++++++++++++++++------ sprites.py | 12 +++-- 13 files changed, 72 insertions(+), 22 deletions(-) create mode 100644 data/graphics/end0.png create mode 100644 data/graphics/endp1.png create mode 100644 data/graphics/endp2.png delete mode 100644 data/graphics/hp.png delete mode 100644 data/graphics/qwe.png diff --git a/__pycache__/colours.cpython-37.pyc b/__pycache__/colours.cpython-37.pyc index bcc151a762c4134f3476f3ac814ab61637416764..e756ecdb0c7c255d9a9621cd66e15eb2429cef94 100644 GIT binary patch delta 83 zcmbQqG@XgdiIY)8k~8!4 hUGkGlb5rw5iuD63OEU8F6atF!vr>~w^e28%1psYr7}@{; delta 85 zcmbQvG?R(TiIH2*mN5E diff --git a/__pycache__/config.cpython-37.pyc b/__pycache__/config.cpython-37.pyc index be4139e0b0637a7c06873832a06c9829fb2f5833..dec1aebed6698785ac010f3909e0a814c0efa308 100644 GIT binary patch delta 64 zcmaFO@{)zyiIIVoi!wPDD(O;H=ZJ`xGlo0bCW|PfsI=d;2 zSb9*wgBMxvwnxwUUw9XNCqWPeuUY2WRq1};yRrx{ekS((NxjpunRW*$0wHTNI zJBS}L&Vs~22ia}&4igNk@iof`U+}@IzTLC~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SVn@DhS{@thmQ zE2YJqSIIX|uu1S50o@I}j(|;Yne4|)YK|p+Xe8|wzm#^jNXzbFU>T;`4dduUKJ>N8 zV~Xhr8Hxc$k6VLJamRvd#eTUzGFMSEeF6?fXuB_mx^h$IoeZQ>QjGbYC1z^`|LKBl ziuby4+U+-Ci}v;q{!fN!&`vK*L@eP`45Ws5hB4dYW$ts&^n}mh9m=tyE$jtb4Hb4+ zyRtfh66H4~SwKs>dyoz?SR(Ht0sVpSCINMgDT{WfP}rQUJ(-nX+s5 zYHK@$@nx7Q8P%k0!$^Z`6iNgid(Hl(<5Ub{d71tVwOMRbSL=0Nw|vh(?U(%-|0&=5 E2mSN|J^%m! diff --git a/__pycache__/maps.cpython-37.pyc b/__pycache__/maps.cpython-37.pyc index 07b85ceb87b4f61ebd1687f9e5e994864a858590..243fdd117dd70bdd96d9843693cbaf3c2ff40d1d 100644 GIT binary patch delta 67 zcmcb{d4-eLiI diff --git a/__pycache__/sprites.cpython-37.pyc b/__pycache__/sprites.cpython-37.pyc index c2891181a2cd7b62bb48e0f7540cc3482a2bd148..43edba8fa2edeba70a368eb73adb510b8a97cd25 100644 GIT binary patch delta 2145 zcmah~&2Jl35a0EBKm1w8F>bzNTGDoL8V5m3lLnHeaT;hExk~wvg^0G^wY}-u8{V#y zCQ1nsmFNZ3>PeNjRKTrLh3K8X0D%NY79_YLA-GoM!pvL8j?y??Ykr=$GjC?ze7t?C z{+x}^#$sU(p7p8a47Y8ok-_1v6YYSfIn z>*NZXZq=@53dCMDN^Xvdfm8iS*ihopBs>C85a=S1bL`%eWNbj{Ur6{4+G z&6185GnPJWL9NW8FR zYx;^~H|lyXtQ}uJ%13#UhII+3^#p*M0djQuZ)}7r!E-4+eVZ%B^rH}Rk0%u@ZPOq$ z6Hn9Y!Jqgf9T)HS4#N&VBIddamwf;y=pW)Ymyh8Roq8dcXmzJ-lbRRC%JJ`o1GbHGAD?tev4hO1Jqey(;%Ew5*a*+;AF!r6+^j7(x!9gFyui>h?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{a0$KzFXow~{Om1}mTaF^5Mc0xTdP z>&y7h57<=?Ch4^K9p(q!VxeM*^0y&|+U+hbS3!_i54+xRHOJGbkz1r`b7>k?U*Y<< z+40Iuq1Ee06D%5=ZXQYS94bC1mkoloq^1BJ8eP6xbgCP63C8&!snxh>X!?19lLXy7 jcYMGQV=bDVh6AWv;`TGK_`&f^RMkR}fF`FFQeFQ5pL$;< diff --git a/data/graphics/end0.png b/data/graphics/end0.png new file mode 100644 index 0000000000000000000000000000000000000000..fe335d671e687a717ed0d72756d9acd22bef56b1 GIT binary patch literal 7995 zcmeI1XH=8vw#Q>dL|_0FX~821HkzRrT66^IL5czasnRz;M)T7G!fe?9xl^Q`^bd#`u>cldp%2K#CL z(*OW~T}xBV5CAy(82~u8bn58WNPw$l-B)4t(lmnu0Fol#z9Rvd5WlZM7KE0bI?LP< zVeT^$xS_VVuOU8!x+&tWr@Ono2Lf={$KD2E|M;T6Gs5YjhL+xalfQEC0sz2rEwwww z0b}cv=6-XPgeL}XlEjji(_%A~!o7g)ueFXsB+o9qdlU?L{J_Nco$jM8uH(6M6q9Ch z6cCVE=XMlu+Y11AdhEaC2f@FeewQa-0D!NjZ*rXFzsbd0e-D0>`XhjUlv5mk4}O(z z7yP4qzwZAenZJ_!m+bxt;UCz2<@#srzH$9CcHgi2tsnl!$!rk&t%LrF!mmueH`1|h z1L)g~`d$7rr_w(m{GHwRM*0omAK3jbrV{<00_KTk32PswXH+#*54?B??qIF9)%wi?Nu9?$^h<3X4Xh;*oxk=u{XIfzn5%)#OJ-PFv(c#fBrK{I{O<~o=WDQ-W z1mc2^wlo-06EDbg+!eqEk3iO-P-Qmop4VIE1E6Y64TV69k0`M6u?M*&4c*CCj&&s* z$Ok%0OiugfuLKs2#`+?gU3YN%q1ic1));e~wQ%Nk3JZDGzn@bxJ?XfHGlO{WTF9ie z-{`~+=y(I#nK=<8RmZ4~94LpHiGkqFEd++`8^ z(1T8TRv7T@Q9uFl9(I$!pc^5<#HmeksdDoDe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J|C37X g-%!~f^>>+7p{p~;ScWUUZn*(k>QJ@9AFZGM4N=3Kng9R* literal 0 HcmV?d00001 diff --git a/data/graphics/endp1.png b/data/graphics/endp1.png new file mode 100644 index 0000000000000000000000000000000000000000..7244fa1b63df4dc5a17869d59650cd68110b06f6 GIT binary patch literal 3636 zcmeAS@N?(olHy`uVBq!ia0y~yV7kD-!2E)P2`EyL9k(AyaTa()7BevDDT6R$#Zvn+ zpdfpRr>`sfV@7!)E{>*-UBN&h$r9Iy66gHf+|;}h2Ir#G#FEq$h4Rdj3pWc?Ln>~)y=KVEz`(&`=z-T;4=#ByFi7w*94LTOZOmXE zf-;a{U;y%fRKr6CG>V5EEC{3$EEpJ2sl$w5K_CURfB}UXwT?D{35`i?afca&h`0mA zE3UW$#VfA38?_FeAIJ{O(fl`zN|(_LL3xINS48v)%+dTen*T=YKX?NTsbw~r|3;g; p@OB|_jd}Vc89LVx^s}yJ>&;w_d&!69xB|O(44$rjF6*2UngEBTp2PqE literal 0 HcmV?d00001 diff --git a/data/graphics/endp2.png b/data/graphics/endp2.png new file mode 100644 index 0000000000000000000000000000000000000000..cacd1f0e55ab7d1c262882b7e053056e2f21281d GIT binary patch literal 3637 zcmeAS@N?(olHy`uVBq!ia0y~yV7kD-!2E)P2`EyL9k(AyaTa()7BevDDT6R$#Zvn+ zpdfpRr>`sfV@7!)E_udi`zb&n$r9Iy66gHf+|;}h2Ir#G#FEq$h4Rdj3pfi@Ln>~)y=KVEz`$|9;DBOTU^|ykU)Z5_PfOSt4lJF-z+fQ5(C`pW@vwt= z2r9vXfdR+^QHL4PC<#8WAdosxz`%e?wK0PQffUdJ1{7-4I@$y#G$yge9Yz!);tmwA zxZ(~JuejoF)H-;6AUiN8z%w33Xo7MHG}bU851Jbh){f>scp)=zr3*$BB9)yOQHY4U z(fo%k?&uSkqxlbB$PE43ojyqhcZofk-LbU?5e-2sjfv6xH=6%O>pw{S_alojcP*#R UHwQxnVE>N6)78&qol`;+0DIP-a{vGU literal 0 HcmV?d00001 diff --git a/data/graphics/hp.png b/data/graphics/hp.png deleted file mode 100644 index e655c46b76eb15c338ac9426bc33a22a900e36f2..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 158 zcmeAS@N?(olHy`uVBq!ia0vp^Qb5ek!2~2{CY-thq&N#aB8wRq^pruEv0|xx8AwHm zr>`sfV@5e)4zbVYUpxQ`NtU=qlsM<-=BDPAFgO>bCYGe8D3oWGWGJ|M`UZqI@`(c# yNqD+AhG?8mwt4aHoP+IwBMzYkS$7r~@-aMm$ryWkWoIZ*4TGnvpUXO@geCx^ku2{3 diff --git a/data/graphics/qwe.png b/data/graphics/qwe.png deleted file mode 100644 index daf57cdf2c50f4ffb527dd5daaada8a938630275..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 580 zcmV-K0=xZ*P)E0000PbVXQnLvL+uWo~o;Lvm$dbY)~9 zcWHEJAV*0}P*;Ht7XSbOzDYzuRCwC$nlTQ;APhxYi&OMg-Fn1sy;ZM~4wa%*jS?{5 z@D28qAp)MiF&MZm%W|2?W4b@g*2(5+7WFBp;fU&f2 z-^o1Mf|C|MDpKJ}TI(8^r9A8sJ8641jPI(J}t+jQzwalkI_|rP71tl-PwzYX*z!$hi*}uk+cGs!GP-p`*kVYl9y0KtryAH46I)iBWVS200(dY z2XFufFa_}a@%H<)p%{2YEoCM@5|NyWXC$4)U44fKUSrbxd0jzynE7nMqwSnp{&Om% z-gOp3$Rrn|G*Q@sc5Rc#YbU_t>HIT?hrAHhB(0H{bMKbEUKms1C=UbJvwZ;G7T+15 Sz*GPL0000