SEED=seed
TURNIP=turnip1 turnip2 turnip3
MOULD_BODY=mouldA mouldB mouldC
-MOULD=eyeballA eyeballB eyeballC
+MOULD=eyeballA eyeballB eyeballC eyelid
LIGHT=spotlight lamp laser
LIGHT_MASK=light_mask_2_1 light_mask_2_2 light_mask_3_1 light_mask_3_2 light_mask_3_3
CONTROLS=night default_cursor exit pause play
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.4"
- inkscape:cx="132.16977"
+ inkscape:cx="6.4554843"
inkscape:cy="182.29837"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
- inkscape:window-width="1366"
+ inkscape:window-width="1264"
inkscape:window-height="720"
- inkscape:window-x="1920"
+ inkscape:window-x="102"
inkscape:window-y="0"
inkscape:window-maximized="1">
<inkscape:grid
cx="201.42857"
cy="905.21936"
r="32.142857" />
- <path
- style="opacity:0.75;fill:#ffffff;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
- d="m 76.041663,911.4434 c 11.221167,32.05511 2.754672,80.09704 78.571437,93.5714 81.62653,14.5069 90.08129,-60.45024 114.99999,-74.99997 -79.51117,45.47401 -119.17457,40.32588 -193.571427,-18.57143 z"
- id="path5339"
- inkscape:connector-curvature="0"
- sodipodi:nodetypes="cscc" />
</g>
</svg>
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.4"
- inkscape:cx="8.9698557"
+ inkscape:cx="-116.74443"
inkscape:cy="182.29837"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
- inkscape:window-width="1366"
+ inkscape:window-width="1264"
inkscape:window-height="720"
- inkscape:window-x="1920"
+ inkscape:window-x="102"
inkscape:window-y="0"
inkscape:window-maximized="1">
<inkscape:grid
cx="154.28572"
cy="872.36218"
r="32.142857" />
- <path
- style="opacity:0.75;fill:#ffffff;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
- d="m 76.041664,911.44337 c 11.22117,32.05511 2.75467,80.09704 78.571436,93.57143 81.62653,14.5069 90.08129,-60.45027 114.99999,-75 -79.51117,45.47401 -119.17457,40.32588 -193.571426,-18.57143 z"
- id="path5339"
- inkscape:connector-curvature="0"
- sodipodi:nodetypes="cscc" />
</g>
</svg>
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="1.4"
- inkscape:cx="123.25557"
+ inkscape:cx="-2.4587157"
inkscape:cy="182.29837"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
- inkscape:window-width="1366"
+ inkscape:window-width="1264"
inkscape:window-height="720"
- inkscape:window-x="1920"
+ inkscape:window-x="102"
inkscape:window-y="0"
inkscape:window-maximized="1">
<inkscape:grid
cx="226.78571"
cy="835.21936"
r="28.214285" />
- <path
- style="opacity:0.75;fill:#ffffff;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
- d="m 76.041664,911.44337 c 11.22117,32.05511 2.75467,80.09704 78.571436,93.57143 81.62653,14.5069 90.08129,-60.45027 114.99999,-75 -79.51117,45.47401 -119.17457,40.32588 -193.571426,-18.57143 z"
- id="path5339"
- inkscape:connector-curvature="0"
- sodipodi:nodetypes="cscc" />
</g>
</svg>
--- /dev/null
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!-- Created with Inkscape (http://www.inkscape.org/) -->
+
+<svg
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
+ xmlns:cc="http://creativecommons.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xmlns:svg="http://www.w3.org/2000/svg"
+ xmlns="http://www.w3.org/2000/svg"
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
+ width="100mm"
+ height="100mm"
+ viewBox="0 0 354.33071 354.33071"
+ id="svg2"
+ version="1.1"
+ inkscape:version="0.91 r13725"
+ sodipodi:docname="eyelid.svg">
+ <defs
+ id="defs4" />
+ <sodipodi:namedview
+ id="base"
+ pagecolor="#ffffff"
+ bordercolor="#666666"
+ borderopacity="1.0"
+ inkscape:pageopacity="0.0"
+ inkscape:pageshadow="2"
+ inkscape:zoom="1.4"
+ inkscape:cx="227.95469"
+ inkscape:cy="162.55601"
+ inkscape:document-units="px"
+ inkscape:current-layer="layer1"
+ showgrid="false"
+ inkscape:window-width="1264"
+ inkscape:window-height="720"
+ inkscape:window-x="102"
+ inkscape:window-y="0"
+ inkscape:window-maximized="1">
+ <inkscape:grid
+ type="xygrid"
+ id="grid4423"
+ units="mm"
+ spacingx="3.543307"
+ spacingy="3.543307" />
+ </sodipodi:namedview>
+ <metadata
+ id="metadata7">
+ <rdf:RDF>
+ <cc:Work
+ rdf:about="">
+ <dc:format>image/svg+xml</dc:format>
+ <dc:type
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
+ <dc:title></dc:title>
+ </cc:Work>
+ </rdf:RDF>
+ </metadata>
+ <g
+ inkscape:label="Layer 1"
+ inkscape:groupmode="layer"
+ id="layer1"
+ transform="translate(0,-698.0315)">
+ <path
+ style="opacity:0.75;fill:#ffffff;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+ d="m 76.041663,911.4434 c 11.221167,32.05511 2.754672,80.09704 78.571437,93.5714 81.62653,14.5069 90.08129,-60.45024 114.99999,-74.99997 -79.51117,45.47401 -119.17457,40.32588 -193.571427,-18.57143 z"
+ id="path5339"
+ inkscape:connector-curvature="0"
+ sodipodi:nodetypes="cscc" />
+ </g>
+</svg>
name = random.choice(
('eyeballA.png', 'eyeballB.png', 'eyeballC.png'))
self._eyeball = loader.load_image("32", name)
+ eyelid = loader.load_image("32", "eyelid.png", transform=self._transform)
+ self._eyeball.blit(eyelid, (0, 0), None)
return self._eyeball
def set_health(self, new_health):
child._health = self._health
moulds.append(child)
refresh = True
- if random.randint(0, 10) < 2:
- sound.play_sound("mouth_pop_2a.ogg")
if self._age in MOULD_STAGES:
# We grow in size
if self._age > MOULD_STAGES[1] and random.randint(0, 500) < 1:
# Maybe we grow an eyeball
self.has_eyeball = True
+ sound.play_sound("mouth_pop_2a.ogg")
if self._age > MAX_AGE:
# We die of old age