splash screen
authoradrianna <adrianna.pinska@gmail.com>
Sat, 10 Sep 2016 22:05:39 +0000 (00:05 +0200)
committeradrianna <adrianna.pinska@gmail.com>
Sat, 10 Sep 2016 22:08:07 +0000 (00:08 +0200)
13 files changed:
data/images/Makefile
data/images/splash/continue_retry.png [new file with mode: 0644]
data/images/splash/help.png [new file with mode: 0644]
data/images/splash/new_game.png [new file with mode: 0644]
data/images/splash/quit.png [new file with mode: 0644]
data/images/splash/splash.png [new file with mode: 0644]
sources/vector/continue_retry.svg [new file with mode: 0644]
sources/vector/help.svg [new file with mode: 0644]
sources/vector/new_game.svg [new file with mode: 0644]
sources/vector/quit.svg [new file with mode: 0644]
sources/vector/splash.svg [new file with mode: 0644]
tabakrolletjie/scenes/menu.py
tabakrolletjie/widgets.py

index 08ea9db61481fd2210cf23a7fce52cd72766e4ee..a223f47469041f1cd2b64acbf76f356ed02ced50 100644 (file)
@@ -8,6 +8,7 @@ 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 day
 BLANKS=circle square
+SPLASH=splash new_game continue_retry help quit
 
 IMG16=$(MOULD_BODY)
 IMG32=$(MOULD_BODY) $(MOULD) $(LIGHT) $(SEED) $(LIGHT_MASK) $(CONTROLS)
@@ -21,8 +22,9 @@ PNG32=$(patsubst %, 32/%.png, $(IMG32))
 PNG48=$(patsubst %, 48/%.png, $(IMG48))
 PNG64=$(patsubst %, 64/%.png, $(IMG64))
 PNG_CURSORS=$(patsubst %, cursors/%.png, $(CURSORS))
+PNG_SPLASH=$(patsubst %, splash/%.png, $(SPLASH))
 
-all: $(PNG16) $(PNG32) $(PNG48) $(PNG64) $(PNG_CURSORS)
+all: $(PNG16) $(PNG32) $(PNG48) $(PNG64) $(PNG_CURSORS) $(PNG_SPLASH)
 
 16/%.png: %.svg
        @mkdir -p `dirname $@`
@@ -40,5 +42,9 @@ all: $(PNG16) $(PNG32) $(PNG48) $(PNG64) $(PNG_CURSORS)
        @mkdir -p `dirname $@`
        @inkscape -z -e $@ -w 64 -h 64 $<
 
+splash/%.png: %.svg
+       @mkdir -p `dirname $@`
+       @inkscape -z -e $@ $<
+
 cursors/%.png: 32/%.png
        @cp $< $@
diff --git a/data/images/splash/continue_retry.png b/data/images/splash/continue_retry.png
new file mode 100644 (file)
index 0000000..d832bc4
Binary files /dev/null and b/data/images/splash/continue_retry.png differ
diff --git a/data/images/splash/help.png b/data/images/splash/help.png
new file mode 100644 (file)
index 0000000..e569df4
Binary files /dev/null and b/data/images/splash/help.png differ
diff --git a/data/images/splash/new_game.png b/data/images/splash/new_game.png
new file mode 100644 (file)
index 0000000..c0295f5
Binary files /dev/null and b/data/images/splash/new_game.png differ
diff --git a/data/images/splash/quit.png b/data/images/splash/quit.png
new file mode 100644 (file)
index 0000000..ae3302a
Binary files /dev/null and b/data/images/splash/quit.png differ
diff --git a/data/images/splash/splash.png b/data/images/splash/splash.png
new file mode 100644 (file)
index 0000000..02d674e
Binary files /dev/null and b/data/images/splash/splash.png differ
diff --git a/sources/vector/continue_retry.svg b/sources/vector/continue_retry.svg
new file mode 100644 (file)
index 0000000..d65382e
--- /dev/null
@@ -0,0 +1,73 @@
+<?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="130.26727mm"
+   height="12.0523mm"
+   viewBox="0 0 461.57695 42.705001"
+   id="svg11355"
+   version="1.1"
+   inkscape:version="0.91 r13725"
+   sodipodi:docname="continue_retry.svg">
+  <defs
+     id="defs11357" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="0.35"
+     inkscape:cx="-222.78292"
+     inkscape:cy="-312.93321"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     fit-margin-top="0"
+     fit-margin-left="0"
+     fit-margin-right="0"
+     fit-margin-bottom="0"
+     inkscape:window-width="1264"
+     inkscape:window-height="720"
+     inkscape:window-x="102"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata11360">
+    <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(-94.925779,-176.724)">
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       x="557.77679"
+       y="211.644"
+       id="text10644-9"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan10646-8"
+         x="557.77679"
+         y="211.644"
+         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:45px;font-family:Prefix;-inkscape-font-specification:Prefix;fill:#ffffff">Continue / Retry</tspan></text>
+  </g>
+</svg>
diff --git a/sources/vector/help.svg b/sources/vector/help.svg
new file mode 100644 (file)
index 0000000..1272faa
--- /dev/null
@@ -0,0 +1,73 @@
+<?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="36.208889mm"
+   height="11.684mm"
+   viewBox="0 0 128.29921 41.4"
+   id="svg11940"
+   version="1.1"
+   inkscape:version="0.91 r13725"
+   sodipodi:docname="help.svg">
+  <defs
+     id="defs11942" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="0.35"
+     inkscape:cx="-380.85039"
+     inkscape:cy="-79.299994"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     fit-margin-top="0"
+     fit-margin-left="0"
+     fit-margin-right="0"
+     fit-margin-bottom="0"
+     inkscape:window-width="1264"
+     inkscape:window-height="720"
+     inkscape:window-x="102"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata11945">
+    <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(-252.99324,-411.66221)">
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       x="383.72879"
+       y="445.54721"
+       id="text10644-9-6"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan10646-8-36"
+         x="383.72879"
+         y="445.54721"
+         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:45px;font-family:Prefix;-inkscape-font-specification:Prefix;fill:#ffffff">Help</tspan></text>
+  </g>
+</svg>
diff --git a/sources/vector/new_game.svg b/sources/vector/new_game.svg
new file mode 100644 (file)
index 0000000..cfa4edc
--- /dev/null
@@ -0,0 +1,73 @@
+<?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="85.925423mm"
+   height="11.7983mm"
+   viewBox="0 0 304.46016 41.804999"
+   id="svg10770"
+   version="1.1"
+   inkscape:version="0.91 r13725"
+   sodipodi:docname="new_game.svg">
+  <defs
+     id="defs10772" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="0.35"
+     inkscape:cx="-389.91277"
+     inkscape:cy="-107.66893"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     fit-margin-top="0"
+     fit-margin-left="0"
+     fit-margin-right="0"
+     fit-margin-bottom="0"
+     inkscape:window-width="1264"
+     inkscape:window-height="720"
+     inkscape:window-x="102"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata10775">
+    <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(-262.05563,-382.88828)">
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       x="568.42688"
+       y="416.95328"
+       id="text10644-9-9"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan10646-8-3"
+         x="568.42688"
+         y="416.95328"
+         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:45px;font-family:Prefix;-inkscape-font-specification:Prefix;fill:#ffffff">New game</tspan></text>
+  </g>
+</svg>
diff --git a/sources/vector/quit.svg b/sources/vector/quit.svg
new file mode 100644 (file)
index 0000000..aa39059
--- /dev/null
@@ -0,0 +1,75 @@
+<?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="32.941814mm"
+   height="12.2047mm"
+   viewBox="0 0 116.72296 43.245001"
+   id="svg12525"
+   version="1.1"
+   inkscape:version="0.91 r13725"
+   sodipodi:docname="quit.svg">
+  <defs
+     id="defs12527" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="0.35"
+     inkscape:cx="-392.35281"
+     inkscape:cy="-192.6632"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     fit-margin-top="0"
+     fit-margin-left="0"
+     fit-margin-right="0"
+     fit-margin-bottom="0"
+     inkscape:window-width="1264"
+     inkscape:window-height="720"
+     inkscape:window-x="102"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata12530">
+    <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(-264.49567,-296.454)">
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       x="382.46106"
+       y="332.229"
+       id="text10644-9-0"
+       sodipodi:linespacing="125%"
+       inkscape:transform-center-x="70.136987"
+       inkscape:transform-center-y="-176.74521"><tspan
+         sodipodi:role="line"
+         id="tspan10646-8-4"
+         x="382.46106"
+         y="332.229"
+         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:45px;font-family:Prefix;-inkscape-font-specification:Prefix;fill:#ffffff">Quit</tspan></text>
+  </g>
+</svg>
diff --git a/sources/vector/splash.svg b/sources/vector/splash.svg
new file mode 100644 (file)
index 0000000..4fae646
--- /dev/null
@@ -0,0 +1,390 @@
+<?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="1024"
+   height="704"
+   viewBox="0 0 1024 704.00001"
+   id="svg4136"
+   version="1.1"
+   inkscape:version="0.91 r13725"
+   sodipodi:docname="splash.svg">
+  <defs
+     id="defs4138" />
+  <sodipodi:namedview
+     id="base"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageopacity="0.0"
+     inkscape:pageshadow="2"
+     inkscape:zoom="0.71289062"
+     inkscape:cx="512"
+     inkscape:cy="385.2618"
+     inkscape:document-units="px"
+     inkscape:current-layer="layer1"
+     showgrid="false"
+     units="px"
+     inkscape:window-width="1264"
+     inkscape:window-height="720"
+     inkscape:window-x="102"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1" />
+  <metadata
+     id="metadata4141">
+    <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,-348.36216)">
+    <g
+       id="g4273"
+       transform="matrix(0.75,0,0,0.75,638.57481,157.99111)">
+      <path
+         sodipodi:nodetypes="ccc"
+         inkscape:connector-curvature="0"
+         id="path4167"
+         d="m 171.17009,885.48451 c -98.900734,27.3057 -109.246548,-64.12779 -37.95511,-52.73142 -10.98252,-86.64428 120.1053,-29.32906 37.95511,52.73142 z"
+         style="opacity:1;fill:#008000;fill-opacity:1;stroke:#000000;stroke-width:5;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <path
+         sodipodi:nodetypes="ccc"
+         inkscape:connector-curvature="0"
+         id="path4167-3"
+         d="m 176.96727,893.86225 c -61.63676,94.15127 55.10816,126.67115 40.73347,44.43084 88.77208,27.98769 62.68012,-117.86971 -40.73347,-44.43084 z"
+         style="opacity:1;fill:#008000;fill-opacity:1;stroke:#000000;stroke-width:5;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <path
+         sodipodi:nodetypes="cccccccccccsccc"
+         inkscape:connector-curvature="0"
+         id="path4218"
+         d="m 170.71428,880.21936 -52.14285,2.14286 42.85714,-5.71429 -59.28572,-12.14285 55.71429,6.42857 -52.14285,-24.28571 49.28571,18.57142 -16.42857,-26.42857 20,22.14285 L 147.85715,806.64793 165,863.79079 c 0,0 8.57143,-57.14286 7.85714,-54.28572 C 172.14286,812.36222 170,868.0765 170,868.0765 l 19.28572,-35.71428 z"
+         style="fill:#3cff3c;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+      <path
+         sodipodi:nodetypes="cccccccccccsccc"
+         inkscape:connector-curvature="0"
+         id="path4218-5"
+         d="m 181.42858,896.64794 52.85714,-12.14286 -43.57143,15.71429 67.14286,-0.71429 -63.57143,6.42857 62.14285,12.14285 -59.28571,-6.42856 17.14286,17.14286 -20.71429,-12.85714 12.85714,48.57142 -19.28571,-51.42857 c 0,0 -1.42857,66.42857 -0.71428,63.57143 0.71428,-2.85715 -4.28572,-67.85714 -4.28572,-67.85714 l -13.57143,46.42857 z"
+         style="fill:#3cff3c;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+    </g>
+    <g
+       id="g4360"
+       transform="matrix(0.21682653,-0.71797372,0.71797372,0.21682653,202.95352,885.15843)">
+      <g
+         transform="translate(3.5916518,-5.4219396)"
+         id="g4356">
+        <path
+           style="opacity:1;fill:#ff00ff;fill-opacity:1;stroke:#000000;stroke-width:5;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+           d="m 277.85715,868.79081 c -3.14342,29.02226 2.60142,118.2741 -114.28572,112.14286 -47.13314,-2.47233 -113.452104,-76.59578 -89.285714,-130.71429 11.952748,-26.76713 55.399524,-80.25726 114.285714,-68.57142 48.15737,9.55672 92.35182,58.83438 89.28572,87.14285 z"
+           id="path4350"
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="sssss" />
+        <path
+           style="opacity:1;fill:#ff8aff;fill-opacity:1;stroke:none;stroke-width:5;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+           d="m 249.28573,860.93364 c -3.59831,-15.69715 -68.765,-71.05393 -61.42858,-66.42858 32.22917,-6.74148 86.72409,54.80082 61.42858,66.42858 z"
+           id="path4353"
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="ccc" />
+      </g>
+      <g
+         transform="translate(3.5125932,5.2102766)"
+         id="g4325">
+        <path
+           style="opacity:1;fill:#008000;fill-opacity:1;stroke:#000000;stroke-width:5;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+           d="M 161.99294,866.98541 C 91.051837,894.88823 81.88135,855.19619 91.848561,830.51068 30.729481,877.85316 -11.181121,817.99991 48.560202,778.66533 14.111484,801.20177 -18.114204,754.49387 15.346715,719.42765 c 43.93458,-46.04237 76.01977,-19.17051 74.324209,18.36896 17.880056,-33.09094 110.826166,-11.30755 54.964876,53.24603 32.77358,4.31366 44.86313,39.8788 17.35714,75.94277 z"
+           id="path4167-36"
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="cccsccc" />
+        <path
+           style="fill:#3cff3c;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+           d="m 160.64866,861.8744 -28.91092,-24.7307 -22.98544,5.41505 18.25167,-11.84677 -31.775896,-32.93448 -48.839166,19.01587 40.804126,-27.77741 -50.73823,-61.35233 58.4563,55.6718 36.217166,-33.48995 -29.83278,41.08659 c 0,0 31.7759,32.93448 31.55774,35.87146 -0.21815,2.93699 21.00293,-22.16536 21.00293,-22.16536 l -15.56527,28.47566 z"
+           id="path4218-7"
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="cccccccccccsccc" />
+        <path
+           style="opacity:1;fill:#008000;fill-opacity:1;stroke:#000000;stroke-width:5;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+           d="m 167.17947,875.26163 c 105.08887,-58.67629 132.13675,-3.62164 102.65695,35.71691 43.68031,-36.50775 78.70111,9.8908 27.81239,44.32331 53.76444,-27.38538 64.6542,39.34087 25.8507,68.78475 -34.37089,26.0806 -54.42688,10.8286 -58.59385,-20.1235 -19.86941,35.7978 -107.47186,12.7942 -60.93551,-51.72568 -24.8855,7.0434 -63.55208,15.83451 -36.79068,-76.97579 z"
+           id="path4167-5"
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="cccsccc" />
+        <path
+           style="fill:#3cff3c;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+           d="m 173.62033,881.83123 34.42383,18.93058 51.38075,-21.52846 -46.64247,29.51427 33.70466,29.13227 61.51672,-19.15563 -54.55659,27.54814 63.78471,64.5172 -70.66259,-57.05019 -18.75275,53.37589 11.49209,-63.89008 c 0,0 -30.77559,-28.82576 -30.46907,-31.75484 0.3065,-2.92909 -28.69575,28.91345 -28.69575,28.91345 l 20.52152,-35.69115 z"
+           id="path4218-6"
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="cccccccccccsccc" />
+      </g>
+    </g>
+    <g
+       transform="matrix(0.65039461,-0.37347939,0.37347939,0.65039461,103.97021,467.4764)"
+       id="g7045">
+      <path
+         sodipodi:nodetypes="sssss"
+         inkscape:connector-curvature="0"
+         id="path4350-5"
+         d="m 224.28572,873.79081 c -0.49132,29.18806 -23.66886,53.33505 -52.85715,52.85715 -40.09898,-0.6565 -57.27312,-23.93076 -52.85714,-52.85715 4.40551,-28.85785 25.84328,-63.92219 52.85714,-52.85714 33.80822,13.84806 53.32492,25.06825 52.85715,52.85714 z"
+         style="opacity:1;fill:#ff00ff;fill-opacity:1;stroke:#000000;stroke-width:5;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <g
+         transform="translate(3.5125932,5.2102766)"
+         id="g4325-3">
+        <path
+           style="opacity:1;fill:#008000;fill-opacity:1;stroke:#000000;stroke-width:5;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+           d="M 161.99294,866.98541 C 88.694464,876.02925 83.339764,830.43493 94.705704,816.93925 57.380781,848.41896 15.396551,806.71003 59.274488,777.95104 27.357557,793.73605 -5.5115107,748.80248 26.061001,723.71336 c 28.233911,-22.4361 52.407957,-6.27298 58.609923,23.36896 12.17429,-30.55504 74.993936,-14.82655 44.964876,38.24603 32.77358,4.31366 59.86313,45.59309 32.35714,81.65706 z"
+           id="path4167-56"
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="cccsccc" />
+        <path
+           style="fill:#3cff3c;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+           d="m 160.64866,861.8744 -28.91092,-24.7307 -22.98544,5.41505 18.25167,-11.84677 -31.775896,-32.93448 -40.267737,1.87301 32.232697,-10.63455 -47.166801,-54.92376 54.884871,49.24323 9.074306,-35.63281 -2.68992,43.22945 c 0,0 31.7759,32.93448 31.55774,35.87146 -0.21815,2.93699 10.28864,-28.59393 10.28864,-28.59393 l -4.85098,34.90423 z"
+           id="path4218-2"
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="cccccccccccsccc" />
+        <path
+           style="opacity:1;fill:#008000;fill-opacity:1;stroke:#000000;stroke-width:5;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+           d="m 167.17947,875.26163 c 84.067,-20.83693 103.67767,15.03329 79.79981,44.28834 43.68031,-36.50775 85.12968,5.60508 34.24096,40.03759 53.76444,-27.38538 70.36848,25.76945 31.56498,55.21334 -34.37089,26.0806 -53.71259,5.8286 -57.87956,-25.12347 -19.86941,35.79777 -90.329,24.93697 -43.79265,-39.58287 -24.47975,6.53622 -50.36034,-7.44087 -43.93354,-74.83293 z"
+           id="path4167-5-9"
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="cccsccc" />
+        <path
+           style="fill:#3cff3c;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+           d="m 173.62033,881.83123 34.42383,18.93058 25.66646,-7.24275 -20.92818,15.22856 33.70466,29.13227 43.65958,-17.72706 -36.69945,26.11957 53.07042,53.8029 -59.9483,-46.33589 -26.60989,36.23302 19.34923,-46.74721 c 0,0 -30.77559,-28.82576 -30.46907,-31.75484 0.3065,-2.92909 -10.83861,25.34202 -10.83861,25.34202 l 2.66438,-32.11972 z"
+           id="path4218-6-1"
+           inkscape:connector-curvature="0"
+           sodipodi:nodetypes="cccccccccccsccc" />
+      </g>
+      <path
+         sodipodi:nodetypes="ccc"
+         inkscape:connector-curvature="0"
+         id="path4353-2"
+         d="m 203.57144,867.36222 c -16.83791,-2.45755 -24.45548,-28.22059 -12.14286,-28.57144 16.8379,2.45756 24.45547,28.22059 12.14286,28.57144 z"
+         style="opacity:1;fill:#ff8aff;fill-opacity:1;stroke:none;stroke-width:5;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+    </g>
+    <g
+       id="g4273-7"
+       transform="matrix(0.68868536,-0.29700584,0.29700584,0.68868536,-298.70088,420.1247)">
+      <path
+         sodipodi:nodetypes="ccc"
+         inkscape:connector-curvature="0"
+         id="path4167-0"
+         d="m 171.17009,885.48451 c -98.900734,27.3057 -109.246548,-64.12779 -37.95511,-52.73142 -10.98252,-86.64428 120.1053,-29.32906 37.95511,52.73142 z"
+         style="opacity:1;fill:#008000;fill-opacity:1;stroke:#000000;stroke-width:5;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <path
+         sodipodi:nodetypes="ccc"
+         inkscape:connector-curvature="0"
+         id="path4167-3-9"
+         d="m 176.96727,893.86225 c -61.63676,94.15127 55.10816,126.67115 40.73347,44.43084 88.77208,27.98769 62.68012,-117.86971 -40.73347,-44.43084 z"
+         style="opacity:1;fill:#008000;fill-opacity:1;stroke:#000000;stroke-width:5;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <path
+         sodipodi:nodetypes="cccccccccccsccc"
+         inkscape:connector-curvature="0"
+         id="path4218-3"
+         d="m 170.71428,880.21936 -52.14285,2.14286 42.85714,-5.71429 -59.28572,-12.14285 55.71429,6.42857 -52.14285,-24.28571 49.28571,18.57142 -16.42857,-26.42857 20,22.14285 L 147.85715,806.64793 165,863.79079 c 0,0 8.57143,-57.14286 7.85714,-54.28572 C 172.14286,812.36222 170,868.0765 170,868.0765 l 19.28572,-35.71428 z"
+         style="fill:#3cff3c;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+      <path
+         sodipodi:nodetypes="cccccccccccsccc"
+         inkscape:connector-curvature="0"
+         id="path4218-5-6"
+         d="m 181.42858,896.64794 52.85714,-12.14286 -43.57143,15.71429 67.14286,-0.71429 -63.57143,6.42857 62.14285,12.14285 -59.28571,-6.42856 17.14286,17.14286 -20.71429,-12.85714 12.85714,48.57142 -19.28571,-51.42857 c 0,0 -1.42857,66.42857 -0.71428,63.57143 0.71428,-2.85715 -4.28572,-67.85714 -4.28572,-67.85714 l -13.57143,46.42857 z"
+         style="fill:#3cff3c;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+    </g>
+    <g
+       id="g4273-0"
+       transform="matrix(0.22942259,-0.71404851,0.71404851,0.22942259,-371.81409,909.48798)">
+      <path
+         sodipodi:nodetypes="ccc"
+         inkscape:connector-curvature="0"
+         id="path4167-6"
+         d="m 171.17009,885.48451 c -98.900734,27.3057 -109.246548,-64.12779 -37.95511,-52.73142 -10.98252,-86.64428 120.1053,-29.32906 37.95511,52.73142 z"
+         style="opacity:1;fill:#008000;fill-opacity:1;stroke:#000000;stroke-width:5;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <path
+         sodipodi:nodetypes="ccc"
+         inkscape:connector-curvature="0"
+         id="path4167-3-2"
+         d="m 176.96727,893.86225 c -61.63676,94.15127 55.10816,126.67115 40.73347,44.43084 88.77208,27.98769 62.68012,-117.86971 -40.73347,-44.43084 z"
+         style="opacity:1;fill:#008000;fill-opacity:1;stroke:#000000;stroke-width:5;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <path
+         sodipodi:nodetypes="cccccccccccsccc"
+         inkscape:connector-curvature="0"
+         id="path4218-61"
+         d="m 170.71428,880.21936 -52.14285,2.14286 42.85714,-5.71429 -59.28572,-12.14285 55.71429,6.42857 -52.14285,-24.28571 49.28571,18.57142 -16.42857,-26.42857 20,22.14285 L 147.85715,806.64793 165,863.79079 c 0,0 8.57143,-57.14286 7.85714,-54.28572 C 172.14286,812.36222 170,868.0765 170,868.0765 l 19.28572,-35.71428 z"
+         style="fill:#3cff3c;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+      <path
+         sodipodi:nodetypes="cccccccccccsccc"
+         inkscape:connector-curvature="0"
+         id="path4218-5-8"
+         d="m 181.42858,896.64794 52.85714,-12.14286 -43.57143,15.71429 67.14286,-0.71429 -63.57143,6.42857 62.14285,12.14285 -59.28571,-6.42856 17.14286,17.14286 -20.71429,-12.85714 12.85714,48.57142 -19.28571,-51.42857 c 0,0 -1.42857,66.42857 -0.71428,63.57143 0.71428,-2.85715 -4.28572,-67.85714 -4.28572,-67.85714 l -13.57143,46.42857 z"
+         style="fill:#3cff3c;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+    </g>
+    <g
+       id="g10688"
+       transform="translate(-8.4164384,-4.2082192)">
+      <path
+         sodipodi:nodetypes="cccccccc"
+         inkscape:connector-curvature="0"
+         id="path4391"
+         d="M 247.60035,870.38644 C 228.85332,933.05241 161.4201,926.62543 147.21225,881.16983 101.98374,936.00426 41.41357,881.48775 63.206568,844.13644 36.640285,828.13732 30.3226,793.54717 67.492285,774.20089 39.22252,754.41423 43.184725,691.02796 110.40346,707.17942 c 6.75249,-49.80662 87.85517,-49.34865 102.74477,0.7916 62.28426,-22.04087 103.37892,75.76993 45.70212,103.19415 34.88187,18.91666 17.95753,56.99563 -11.25,59.22127 z"
+         style="opacity:0.75;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <path
+         sodipodi:nodetypes="cccccccc"
+         inkscape:connector-curvature="0"
+         id="path4391-7"
+         d="m 156.81599,617.49935 c 5.72924,28.61924 -42.49273,30.76199 -50.13968,4.33178 -30.152353,36.55631 -60.889602,5.92621 -46.360942,-18.97464 -17.58043,-10.81717 -9.44264,-34.93099 5.35715,-36.26656 -34.39305,5.64612 -46.82188,-65.80165 19.678879,-48.96669 -12.5719,-39.26402 79.336263,-33.85407 68.496513,0.52773 50.11059,-16.6023 68.92574,50.51185 30.46808,68.7961 23.25458,16.41417 -8.02831,48.72672 -27.5,30.55228 z"
+         style="opacity:0.75;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <path
+         sodipodi:nodetypes="cccccccc"
+         inkscape:connector-curvature="0"
+         id="path4391-9"
+         d="m 485.5604,861.05388 c 10.77843,44.9975 -107.60789,50.0346 -121.70795,18.6635 -34.14285,47.067 -127.05754,-27.3214 -108.43614,-66.52067 -30.42499,-4.26947 -34.40277,-76.99751 -11.42857,-103.96169 -24.92519,1.18281 -18.86245,-106.99003 58.64347,-114.36196 29.62039,-75.0636 198.63055,-34.48239 189.85016,26.05547 72.80672,-11.16257 103.75628,123.7822 52.36473,164.02077 56.73514,30.2588 -4.30319,128.98898 -59.2857,76.10458 z"
+         style="opacity:0.75;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <path
+         sodipodi:nodetypes="cccccccc"
+         inkscape:connector-curvature="0"
+         id="path4391-7-2"
+         d="m 337.19123,958.67394 c 5.72924,28.61924 -42.49273,30.76199 -50.13968,4.33178 -30.15235,36.55631 -60.8896,5.92621 -46.36094,-18.97464 -17.58043,-10.81717 -9.44264,-34.93099 5.35715,-36.26656 -34.39305,5.64612 -46.82188,-65.80165 19.67888,-48.96669 -12.5719,-39.26402 79.33626,-33.85407 68.49651,0.52773 50.11059,-16.6023 68.92574,50.51185 30.46808,68.7961 23.25458,16.41417 -8.02831,48.72672 -27.5,30.55228 z"
+         style="opacity:0.75;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <path
+         sodipodi:nodetypes="cccccccc"
+         inkscape:connector-curvature="0"
+         id="path4391-0"
+         d="m 407.67263,678.21111 c -18.74703,62.66597 -86.18025,56.23899 -100.3881,10.78339 -45.22851,54.83443 -105.79868,0.31792 -84.00568,-37.03339 -26.56629,-15.99912 -32.88397,-50.58927 4.28571,-69.93555 -28.26976,-19.78666 -24.30756,-83.17293 42.91118,-67.02147 6.75249,-49.80662 87.85517,-49.34865 102.74477,0.7916 62.28426,-22.04087 103.37892,75.76993 45.70212,103.19415 34.88187,18.91666 17.95753,56.99563 -11.25,59.22127 z"
+         style="opacity:0.75;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <path
+         sodipodi:nodetypes="cccccccc"
+         inkscape:connector-curvature="0"
+         id="path4391-9-2"
+         d="m 653.88917,933.99636 c 10.77843,44.9975 -107.60789,50.0346 -121.70795,18.6635 -34.14285,47.067 -127.05754,-27.3214 -108.43614,-66.52067 -30.42499,-4.26947 -34.40277,-76.99751 -11.42857,-103.96169 -24.92519,1.18281 -18.86245,-106.99003 58.64347,-114.36196 29.62039,-75.0636 198.63055,-34.48239 189.85016,26.05547 72.80672,-11.16257 103.75628,123.7822 52.36473,164.02077 56.73514,30.2588 -4.30319,128.98898 -59.2857,76.10458 z"
+         style="opacity:0.75;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
+      <g
+         id="g9412"
+         transform="matrix(0.5,0,0,0.5,446.15539,333.92157)">
+        <circle
+           style="opacity:1;fill:#ffd5d5;fill-opacity:1;stroke:#000000;stroke-width:5;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+           id="path4493"
+           cx="177.16536"
+           cy="875.19684"
+           r="100.71429" />
+        <circle
+           style="opacity:1;fill:#ff0000;fill-opacity:1;stroke:none;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+           id="path4145"
+           cx="193.57143"
+           cy="898.07648"
+           r="57.857143" />
+        <circle
+           style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+           id="path4501"
+           cx="226.78571"
+           cy="835.21936"
+           r="28.214285" />
+        <circle
+           style="opacity:1;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+           id="path4147"
+           cx="201.42857"
+           cy="905.21936"
+           r="32.142857" />
+      </g>
+      <g
+         id="g9995"
+         transform="matrix(0.5,0,0,0.5,304.47867,286.22841)">
+        <circle
+           style="opacity:1;fill:#ffd5d5;fill-opacity:1;stroke:#000000;stroke-width:5;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+           id="path4493-3"
+           cx="177.16536"
+           cy="875.19684"
+           r="100.71429" />
+        <circle
+           style="opacity:1;fill:#ff0000;fill-opacity:1;stroke:none;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+           id="path4145-7"
+           cx="161.42857"
+           cy="876.64789"
+           r="57.857143" />
+        <circle
+           style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:5;stroke-linecap:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+           id="path4501-5"
+           cx="226.78571"
+           cy="835.21936"
+           r="28.214285" />
+        <circle
+           style="opacity:1;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:5;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
+           id="path4147-9"
+           cx="154.28572"
+           cy="872.36218"
+           r="32.142857" />
+      </g>
+      <path
+         sodipodi:nodetypes="cscc"
+         inkscape:connector-curvature="0"
+         id="path5339"
+         d="m 339.46634,738.14846 c 5.61058,16.02756 1.37734,40.04852 39.28571,46.7857 40.81326,7.25345 45.04066,-30.22512 57.50001,-37.49998 -39.75559,22.737 -59.5873,20.16294 -96.78572,-9.28572 z"
+         style="opacity:0.75;fill:#ffffff;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+      <path
+         sodipodi:nodetypes="cscc"
+         inkscape:connector-curvature="0"
+         id="path5339-2"
+         d="m 488.85646,792.84564 c 5.61058,16.02756 1.37734,40.04852 39.2857,46.7857 40.8133,7.25345 45.0407,-30.22512 57.5,-37.49998 -39.7556,22.737 -59.5873,20.16294 -96.7857,-9.28572 z"
+         style="opacity:0.75;fill:#ffffff;fill-rule:evenodd;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" />
+    </g>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       x="554.47119"
+       y="397.46353"
+       id="text10644"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan10646"
+         x="554.47119"
+         y="397.46353"
+         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:45px;font-family:Prefix;-inkscape-font-specification:Prefix;fill:#000000">Attack of the</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       x="997.88312"
+       y="462.46671"
+       id="text10644-8-4"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan10646-9-9"
+         x="997.88312"
+         y="462.46671"
+         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:80px;font-family:Prefix;-inkscape-font-specification:Prefix;fill:#000000">giant space mould</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       x="989.88312"
+       y="456.46671"
+       id="text10644-8"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan10646-9"
+         x="989.88312"
+         y="456.46671"
+         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:80px;font-family:Prefix;-inkscape-font-specification:Prefix;fill:#ffffff">giant space mould</tspan></text>
+    <text
+       xml:space="preserve"
+       style="font-style:normal;font-weight:normal;font-size:40px;line-height:125%;font-family:sans-serif;text-align:end;letter-spacing:0px;word-spacing:0px;text-anchor:end;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
+       x="548.47119"
+       y="393.46353"
+       id="text10644-6"
+       sodipodi:linespacing="125%"><tspan
+         sodipodi:role="line"
+         id="tspan10646-6"
+         x="548.47119"
+         y="393.46353"
+         style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:45px;font-family:Prefix;-inkscape-font-specification:Prefix;fill:#ffffff">Attack of the</tspan></text>
+  </g>
+</svg>
index 89b531e2621d78f69ec75e7869fb880104c5e3b5..9cf0557f27d909bedc2688bf26fc7fd86d94d0f9 100644 (file)
@@ -1,48 +1,58 @@
 """ Menu scene. """
 
 import pygame.locals as pgl
+import pygame.surface
 
 from .base import BaseScene
 from ..events import QuitEvent, SceneChangeEvent
 from ..loader import loader
-from ..constants import FONTS
-from ..widgets import TextButton, SpacerButton
 from ..utils import save_file_exists, get_save_data
+from ..widgets import ImageButton
+from ..transforms import Overlay
+
+class SplashButton(ImageButton):
+    def __init__(self, name, pos):
+        super(SplashButton, self).__init__("splash", "%s.png" % name, name=name,
+            pos=pos, disabled_colour=(50, 50, 50))
+        w, h = self._img.get_size()
+        img = pygame.surface.Surface((w+8, h+4), pgl.SWSURFACE).convert_alpha()
+        img.fill((0, 0, 0, 0))
+        img.blit(self._img, (8, 4), None)
+        img.fill((0, 0, 0, 255), None, pgl.BLEND_RGBA_MULT)
+        img.blit(self._img, (0, 0), None)
+        self._img = img
 
 
 class MenuScene(BaseScene):
+
+    BRIGHTNESS = Overlay(colour=(255, 255, 255, 50))
+
     def enter(self, gamestate):
         if gamestate.station is None:
             print "Loading Station Alpha ..."
             gamestate.set_station(loader.load_station("station-alpha.json"))
-        font_title = loader.load_font(FONTS['bold'], size=32)
-        self._title = font_title.render('A Game with a title', True,
-                                        (255, 255, 255))
-        self._cont_but = TextButton("Continue / Retry", (255, 255, 255),
-                                    name='continue')
+
+        self._cont_but = SplashButton("continue_retry", (500, 210))
         if not save_file_exists():
             self._cont_but.disable()
         self._menu = [
-            TextButton("New Game", (255, 255, 255), name='new game'),
+            SplashButton("new_game", (600, 150)),
             self._cont_but,
-            TextButton("Help", (255, 255, 255), name='help'),
-            SpacerButton((50, 30)),
-            TextButton("Quit", (255, 255, 255), name='quit'),
+            SplashButton("help", (700, 270)),
+            SplashButton("quit", (800, 330)),
         ]
+        
+        # Background
+        self._soil = loader.load_image(
+            "textures", "soil.png", transform=self.BRIGHTNESS).convert_alpha()
+        splash = loader.load_image("splash", "splash.png").convert_alpha()
+        self._soil.blit(splash, (0, 0), None)
 
     def render(self, surface, gamestate):
-        surface.fill((0, 128, 0))
-
-        pos = ((surface.get_width() - self._title.get_width()) / 2, 50)
-        surface.blit(self._title, pos, None)
+        surface.blit(self._soil, (0, 0), None)
 
-        height = 150
         for item in self._menu:
-            if not item.position:
-                item.position = ((surface.get_width() - item.get_width()) / 2,
-                                 height)
             item.render(surface)
-            height += item.get_height() + 30
 
     def _get_pressed(self, ev):
         for button in self._menu:
@@ -78,9 +88,9 @@ class MenuScene(BaseScene):
                 self._do_help()
         elif ev.type == pgl.MOUSEBUTTONDOWN:
             pressed = self._get_pressed(ev)
-            if pressed == 'new game':
+            if pressed == 'new_game':
                 self._start_new_game()
-            elif pressed == 'continue':
+            elif pressed == 'continue_retry':
                 self._do_load_save(gamestate)
             elif pressed == 'help':
                 self._do_help()
index 99966ef2a41167fe1c42352b42d707f275dabec7..4341c703d717be28ae59a4d1a6a16b056ac01061 100644 (file)
@@ -96,6 +96,9 @@ class ImageButton(Button):
         self._img = kwargs.pop("image", None)
         if self._img is None:
             self._img = loader.load_image(*imgparts, transform=transform)
+        self._disabled_img = self._img.copy()
+        disabled_colour = kwargs.pop("disabled_colour", (80, 80, 80))
+        Multiply(colour=disabled_colour).apply(self._disabled_img)
         name = kwargs.get('name')
         pos = kwargs.get('pos')
         padding = kwargs.get('padding', 0)
@@ -107,4 +110,7 @@ class ImageButton(Button):
         self._img = loader.load_image(*imgparts, transform=transform)
 
     def render(self, surface):
-        surface.blit(self._img, self._pos, None)
+        if self.enabled:
+            surface.blit(self._img, self._pos, None)
+        else:
+            surface.blit(self._disabled_img, self._pos, None)