From 403f74bb5689f3231a1e23b500a09aee35259b57 Mon Sep 17 00:00:00 2001 From: adrianna Date: Fri, 9 Sep 2016 00:25:29 +0200 Subject: [PATCH] better eyeballs --- data/images/32/eyeball.png | Bin 838 -> 1001 bytes data/images/32/eyeballB.png | Bin 0 -> 1063 bytes data/images/32/eyeballC.png | Bin 0 -> 1003 bytes data/images/Makefile | 2 +- sources/vector/eyeball.svg | 31 ++++++------- sources/vector/eyeballB.svg | 88 ++++++++++++++++++++++++++++++++++++ sources/vector/eyeballC.svg | 88 ++++++++++++++++++++++++++++++++++++ tabakrolletjie/enemies.py | 4 +- 8 files changed, 193 insertions(+), 20 deletions(-) create mode 100644 data/images/32/eyeballB.png create mode 100644 data/images/32/eyeballC.png create mode 100644 sources/vector/eyeballB.svg create mode 100644 sources/vector/eyeballC.svg diff --git a/data/images/32/eyeball.png b/data/images/32/eyeball.png index 819e5641dde26ded33920e0ec658e7ec59df7dde..01cce3d02263acc8632c644507822cef67b8da58 100644 GIT binary patch delta 906 zcmV;519kky2I&WoZGQu1NklwtxC#vfMhGN{#$u0-d7x?d74Nqh7arlWySFtFU58NjiNc99GtB9zF~f3x5Eg0JW=J2A~V@ZP@~c4sj_InvcZe zr}TR0N^vfiTU^R!>-X*6?YGv|6=Q2_i)(zGHlPv60rkKKz!if5^O-YD)z$s^_3-cy zF*Pi z|9|<94jvr%tgp{uex{C^2Gi3;ZP>n@yvxOeCnvw6jB#Aig~VpFH3xjY zb3Ttp=n};Sm(y7T@Hm;wj!jM`q(_gUk$C*n!otFIxivR>B{KnDyVcqVkj`XgfHrx|6(#T&m|iXE)7-dt00000NkvXXt^-0~f|QuVI{*Lx delta 741 zcmV{mCK>BJxB$p4_0r!NjeI&@_gU$-Q2rxEQh916n_;Vx*lualtg@$kr95GOjKtrptF;SR5?F6LCj_ZkltQI6+MPi1cIv-tf#WpeV9EG#@05oCIr-+w@T#_VP@Z`RfliPzVWo*tyB z>4H4jii?r9HY5;Gb5>Uovzgad@mv|2NQ9_}^0&94s|$1;4h~X}w^~8dpt~FD)7^rIuA_&~%ZtULEI(g;7Z!ruuKfLd2nH`N5DtUKgH9Gj3IL;# z7b7E=AEKD)x_XRCN>p@``<+e#CKFXzk;h=OG3fCmKE?5-X-a_4m)P!d5!5t3-iZ7h zISvOCSBVG&koozwm4o|!sl|KudMKPcbD(i-dQFB;$Q%3%F1{Su(QJtU=xUBx!yhQafk62 X(!^MxQJqEJ00000NkvXXu0mjfNd{*1 diff --git a/data/images/32/eyeballB.png b/data/images/32/eyeballB.png new file mode 100644 index 0000000000000000000000000000000000000000..e5bdde61dfcd629df43dedf521362be6d73b7b0d GIT binary patch literal 1063 zcmV+?1laqDP)=AlneutFA~dx(jc%s}*F0UAbx^jNJsX!I-XBBT*WXW^I@BgXV>m!CbKd9UciwZJ=Q(ho1HJCj?9)#NbQ)yY1Q1Uo7J)y2%>N1? z%W_AL)jIyR*=+6W?rv^28fyWT6=ma**SkC$i3ENR21gT##Qc8^py{>SzZ$x5;r)-U zUVTfFq@qR{RpnckEB3wHJvHs~4Fh7Yz{Ml|Bl)?W9_QV$v1{+1IrFAgt1W4$)oO8^ zJlXJ$&DI?Xhi!||=)->v&}+AUeRpi^T8GJ0{qm*|@ccRGbg%!2tAoOL*k0qqq795oosJ9UoV z&l0d)#BK>l1FWvX&6}{WkUP)hdeSkYvF@nB&{{Eo3fY%MoKB+$>WkRb0aZH}TU!O| zLI|?C4XX@5iN_aL6lDVdvzZ3qEctc&25@P&Q(NH&zoIC~XgnUN7ytlx)rA0MtM@9LT6D$TEzKpwno$13U(P0fu*5 zU%w7rU3mdAs!Avv4p3%DmF!3=hMN8wLIo z4<5wsdpsX*Y-~I$m7`>R0wfZN`6;*i{<%}9KIv>}spkB77#M)rS%}5p@L{mopt`!i zcQzc}a=P93*4EbkESF=?S+Ej|{Tzx!Y&|DVw91DLNociTFo4+%Mk5rNjG;(m>(lY^ zA0K(WAMX|aRi+_}(dfgO`T3^JRO-0hVreKf5i_dF#MG2>XL53KJNcgDxS}5tyAr}661~Dc}KHk3uZAfawRvCc_nPCE^%Sa7BA+k+_-khNV`&IizWS&N`v0C z*siCq7j=~mPqC<1<4L~cobP?!?|HuWocH@+7rS`gv1f;QjeympsyzVdOlAdG0*e2u z0aaBkPP={bC9~N+GBD89)!yC=5KAU=_k6zCqi8hnV=(B-WHQVDwShgu4#%f&pE>i^ zyJyd~DT)H?>u~ojBobgSz_DW#tyVsFyHm3s&)g4w|A&Covq4?)lTN35X?{L0!JtSm zC^9i2vTvUV$ZsI)AOa$zqaye3OK5&Rf70o6*Rer;3_BcCRpKs}2*@uWuY+`ew1K=o zG$h4DLPSI)pO+P{xA5A)z$gDoTvb)e^o0wFiul5Uh`}HNa=KjJ$_R(UQiY8T`OM`? z8I8ui9UC}(;)J`nxF{6^moJNe{0`E+NxZ44Ni#fetW@%IutUW#bl-ss$1J+@OqpNDBwH1K9z$?#?$H&K6 zxN!sGakzC0l1TtY2L}%UFV=0K(_}I~?ehwp&dTE#z?;Bfpa*z09>+2^2A!QSI}63~ znRKYV-Oy<=_3G*9mPUipmL~4&gHxyA_HFh9Ujt7l{|HS_IV~-4{(L1xL?}T?Pe-=` z$#i;UHJQw930%AgM~_xs_dY8=H3e;LmH28hnN6hA(Yg%)A+O&b+cMkI0#~lUrAsh0 z1RWh$8&Wl8ZFc- z{wNYDT=#gsTw7cFsTQwh1pro4sc%Ek=*!L{M|#x*2e#z{grd>H2a}WE-1GU~+m8E> z7F?t=#n06)j$+3z1bhy@=%4*0|2iS5e1V*{I@02Y&~9tKEfGEpE5XggeQ7rS_l Z@duy4l8?$BAt3+&002ovPDHLkV1n|c%H99~ literal 0 HcmV?d00001 diff --git a/data/images/Makefile b/data/images/Makefile index 5b3827c..c085cad 100644 --- a/data/images/Makefile +++ b/data/images/Makefile @@ -2,7 +2,7 @@ VPATH=../../sources/vector TURNIP=seed turnip1 turnip2 turnip3 MOULD_BODY=mouldA mouldB mouldC -MOULD=eyeball +MOULD=eyeball eyeballB eyeballC LIGHT=spotlight lamp laser IMG16=$(MOULD_BODY) diff --git a/sources/vector/eyeball.svg b/sources/vector/eyeball.svg index fdd925a..ad2acb5 100644 --- a/sources/vector/eyeball.svg +++ b/sources/vector/eyeball.svg @@ -61,33 +61,28 @@ id="layer1" transform="translate(0,-698.0315)"> - + + diff --git a/sources/vector/eyeballB.svg b/sources/vector/eyeballB.svg new file mode 100644 index 0000000..49eca58 --- /dev/null +++ b/sources/vector/eyeballB.svg @@ -0,0 +1,88 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/sources/vector/eyeballC.svg b/sources/vector/eyeballC.svg new file mode 100644 index 0000000..3ef0fce --- /dev/null +++ b/sources/vector/eyeballC.svg @@ -0,0 +1,88 @@ + + + + + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/tabakrolletjie/enemies.py b/tabakrolletjie/enemies.py index 2de7847..48cd9ea 100644 --- a/tabakrolletjie/enemies.py +++ b/tabakrolletjie/enemies.py @@ -52,7 +52,9 @@ class Mould(pymunk.Body): def get_eyeball(self): if not self._eyeball: - self._eyeball = loader.load_image("32", "eyeball.png") + name = random.choice( + ('eyeball.png', 'eyeballB.png', 'eyeballC.png')) + self._eyeball = loader.load_image("32", name) return self._eyeball def tick(self, gamestate, space, moulds): -- 2.34.1