Mercurial > mamba
changeset 87:c26e36295901
colours for overlaying with multiply
author | Adrianna Pińska <adrianna.pinska@gmail.com> |
---|---|
date | Sun, 11 Sep 2011 18:54:20 +0200 |
parents | f894666defc7 |
children | 63d290cbc661 |
files | data/tiles/common/blue.png data/tiles/common/red.png data/tiles/common/yellow.png scripts/make_pngs.sh source/svg/common/blue.svg source/svg/common/red.svg source/svg/common/yellow.svg |
diffstat | 7 files changed, 244 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/make_pngs.sh Sun Sep 11 18:51:09 2011 +0200 +++ b/scripts/make_pngs.sh Sun Sep 11 18:54:20 2011 +0200 @@ -4,7 +4,7 @@ svgdir=source/svg pngdir=data/tiles -for subdir in common/snake lab +for subdir in common common/snake lab do for x in $svgdir/$subdir/*.svg do
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/source/svg/common/blue.svg Sun Sep 11 18:54:20 2011 +0200 @@ -0,0 +1,81 @@ +<?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="200" + height="200" + id="svg2" + version="1.1" + inkscape:version="0.48.1 r9760" + sodipodi:docname="yellow.svg"> + <defs + id="defs4"> + <linearGradient + id="linearGradient3765"> + <stop + style="stop-color:#0000ff;stop-opacity:1;" + offset="0" + id="stop3781" /> + <stop + id="stop3783" + offset="0.5" + style="stop-color:#0000ff;stop-opacity:0;" /> + <stop + id="stop3769" + offset="1" + style="stop-color:#0000ff;stop-opacity:1;" /> + </linearGradient> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="2.915" + inkscape:cx="71.289533" + inkscape:cy="100" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="1172" + inkscape:window-height="752" + inkscape:window-x="108" + inkscape:window-y="0" + inkscape:window-maximized="1" + showguides="true" + inkscape:guide-bbox="true" /> + <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,-852.36218)"> + <rect + style="fill:#0000ff;fill-opacity:1;stroke:none" + id="rect2999" + width="200" + height="200" + x="0" + y="852.36218" /> + </g> +</svg>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/source/svg/common/red.svg Sun Sep 11 18:54:20 2011 +0200 @@ -0,0 +1,81 @@ +<?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="200" + height="200" + id="svg2" + version="1.1" + inkscape:version="0.48.1 r9760" + sodipodi:docname="blue.svg"> + <defs + id="defs4"> + <linearGradient + id="linearGradient3765"> + <stop + style="stop-color:#0000ff;stop-opacity:1;" + offset="0" + id="stop3781" /> + <stop + id="stop3783" + offset="0.5" + style="stop-color:#0000ff;stop-opacity:0;" /> + <stop + id="stop3769" + offset="1" + style="stop-color:#0000ff;stop-opacity:1;" /> + </linearGradient> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="2.915" + inkscape:cx="71.289533" + inkscape:cy="100" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="1172" + inkscape:window-height="752" + inkscape:window-x="108" + inkscape:window-y="0" + inkscape:window-maximized="1" + showguides="true" + inkscape:guide-bbox="true" /> + <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,-852.36218)"> + <rect + style="fill:#ff0000;fill-opacity:1;stroke:none" + id="rect2999" + width="200" + height="200" + x="0" + y="852.36218" /> + </g> +</svg>
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/source/svg/common/yellow.svg Sun Sep 11 18:54:20 2011 +0200 @@ -0,0 +1,81 @@ +<?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="200" + height="200" + id="svg2" + version="1.1" + inkscape:version="0.48.1 r9760" + sodipodi:docname="snake-tail-r.svg"> + <defs + id="defs4"> + <linearGradient + id="linearGradient3765"> + <stop + style="stop-color:#0000ff;stop-opacity:1;" + offset="0" + id="stop3781" /> + <stop + id="stop3783" + offset="0.5" + style="stop-color:#0000ff;stop-opacity:0;" /> + <stop + id="stop3769" + offset="1" + style="stop-color:#0000ff;stop-opacity:1;" /> + </linearGradient> + </defs> + <sodipodi:namedview + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="1.0" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="2.915" + inkscape:cx="71.289533" + inkscape:cy="100" + inkscape:document-units="px" + inkscape:current-layer="layer1" + showgrid="false" + inkscape:window-width="1172" + inkscape:window-height="752" + inkscape:window-x="108" + inkscape:window-y="0" + inkscape:window-maximized="1" + showguides="true" + inkscape:guide-bbox="true" /> + <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,-852.36218)"> + <rect + style="fill:#ffff00;fill-opacity:1;stroke:none" + id="rect2999" + width="200" + height="200" + x="0" + y="852.36218" /> + </g> +</svg>