1
0
Fork 0

Added play button to readme

This commit is contained in:
Michaël Lemaire 2017-01-12 19:49:02 +01:00
parent 337bb5c74f
commit 0cef2021e2
4 changed files with 570 additions and 8 deletions

View File

@ -1,11 +1,13 @@
# SpaceTac, a space tactical RPG
[![Build Status](https://travis-ci.org/thunderk/spacetac.svg?branch=master)](https://travis-ci.org/thunderk/spacetac)
[![codecov](https://codecov.io/gh/thunderk/spacetac/branch/master/graph/badge.svg)](https://codecov.io/gh/thunderk/spacetac)
[![Code Coverage](https://codecov.io/gh/thunderk/spacetac/branch/master/graph/badge.svg)](https://codecov.io/gh/thunderk/spacetac)
This is a work-in-progress technology preview. Graphics are mostly placeholders at the moment.
**Disclaimer: this is a work-in-progress technology preview**
[PLAY](http://thunderk.github.io/spacetac/) directly in your browser, no dependency required.
[![Play Online](https://thunderk.net/spacetac/play.svg)](https://thunderk.net/spacetac/)
*Play directly in your browser, no download or dependency required.*
## Attributes

View File

@ -19,6 +19,30 @@
sodipodi:docname="battle.svg">
<defs
id="defs4">
<linearGradient
inkscape:collect="always"
id="linearGradient6413">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop6415" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop6417" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient6327">
<stop
style="stop-color:#737373;stop-opacity:1"
offset="0"
id="stop6329" />
<stop
style="stop-color:#333333;stop-opacity:0;"
offset="1"
id="stop6331" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient4352">
@ -202,6 +226,71 @@
result="composite2"
id="feComposite6031" />
</filter>
<filter
style="color-interpolation-filters:sRGB"
inkscape:label="Outer Glow"
id="filter6021-3">
<feFlood
flood-opacity="0.709804"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood6023-6" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite6025-7" />
<feGaussianBlur
in="composite1"
stdDeviation="4.2"
result="blur"
id="feGaussianBlur6027-5" />
<feOffset
dx="0"
dy="0"
result="offset"
id="feOffset6029-3" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite6031-5" />
</filter>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6327"
id="linearGradient6333"
x1="-523.00354"
y1="558.487"
x2="-522.84851"
y2="628.24976"
gradientUnits="userSpaceOnUse" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6413"
id="radialGradient6419"
cx="-525.5"
cy="623.11218"
fx="-525.5"
fy="623.11218"
r="78"
gradientTransform="matrix(1,0,0,0.37820513,-16.970563,381.084)"
gradientUnits="userSpaceOnUse" />
<filter
inkscape:collect="always"
style="color-interpolation-filters:sRGB"
id="filter6657"
x="-0.050408981"
width="1.100818"
y="-0.19849591"
height="1.3969918">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="2.4117383"
id="feGaussianBlur6659" />
</filter>
</defs>
<sodipodi:namedview
id="base"
@ -211,13 +300,13 @@
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="1"
inkscape:cx="525.96093"
inkscape:cy="594.5542"
inkscape:cx="-168.28307"
inkscape:cy="465.01557"
inkscape:document-units="px"
inkscape:current-layer="layer22"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
showguides="false"
showguides="true"
inkscape:snap-bbox="false"
inkscape:bbox-nodes="true"
inkscape:bbox-paths="true"
@ -255,7 +344,7 @@
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
@ -1522,6 +1611,84 @@
id="path4178"
style="opacity:1;fill:#999999;fill-opacity:1;fill-rule:evenodd;stroke:#4f4f4f;stroke-width:3.5999999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
<path
sodipodi:type="star"
style="opacity:1;fill:#333333;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.5999999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.74901961"
id="path6308"
sodipodi:sides="6"
sodipodi:cx="-524.5"
sodipodi:cy="623.86218"
sodipodi:r1="75.823807"
sodipodi:r2="65.665344"
sodipodi:arg1="0"
sodipodi:arg2="0.52359878"
inkscape:flatsided="true"
inkscape:rounded="0"
inkscape:randomized="0"
d="m -448.67619,623.86218 -37.91191,65.66535 -75.8238,0 -37.91191,-65.66535 37.91191,-65.66534 75.8238,0 z"
transform="matrix(1.3725743,0,0,0.61547448,195.41521,239.89093)"
inkscape:export-filename="/home/michael/workspace/perso/spacetac/out/play.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90" />
<path
transform="matrix(1.2706892,0,0,0.56978828,141.97645,268.39282)"
d="m -448.67619,623.86218 -37.91191,65.66535 -75.8238,0 -37.91191,-65.66535 37.91191,-65.66534 75.8238,0 z"
inkscape:randomized="0"
inkscape:rounded="0"
inkscape:flatsided="true"
sodipodi:arg2="0.52359878"
sodipodi:arg1="0"
sodipodi:r2="65.665344"
sodipodi:r1="75.823807"
sodipodi:cy="623.86218"
sodipodi:cx="-524.5"
sodipodi:sides="6"
id="path6325"
style="opacity:1;fill:url(#linearGradient6333);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.5999999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.74901961"
sodipodi:type="star"
inkscape:export-filename="/home/michael/workspace/perso/spacetac/out/play.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90" />
<ellipse
style="opacity:0.43500001;fill:url(#radialGradient6419);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.5999999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.74901961"
id="path6411"
cx="-542.47058"
cy="616.74823"
rx="78"
ry="29.5"
inkscape:export-filename="/home/michael/workspace/perso/spacetac/out/play.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90" />
<text
sodipodi:linespacing="125%"
id="text6421"
y="641.69226"
x="-584.83789"
style="font-style:normal;font-weight:normal;font-size:17.5px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;opacity:0.66399997;fill:#262626;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;filter:url(#filter6657)"
xml:space="preserve"
inkscape:export-filename="/home/michael/workspace/perso/spacetac/out/play.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"><tspan
style="font-size:40px;fill:#262626;fill-opacity:1"
y="641.69226"
x="-584.83789"
id="tspan6423"
sodipodi:role="line">PLAY !</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:17.5px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#b2c6ff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="-585.83789"
y="638.44226"
id="text6251"
sodipodi:linespacing="125%"
inkscape:export-filename="/home/michael/workspace/perso/spacetac/out/play.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"><tspan
sodipodi:role="line"
id="tspan6253"
x="-585.83789"
y="638.44226"
style="font-size:40px;fill:#b2c6ff;fill-opacity:1;">PLAY !</tspan></text>
</g>
<g
inkscape:groupmode="layer"

Before

Width:  |  Height:  |  Size: 67 KiB

After

Width:  |  Height:  |  Size: 73 KiB

BIN
out/play.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

393
out/play.svg Normal file
View File

@ -0,0 +1,393 @@
<?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:xlink="http://www.w3.org/1999/xlink"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="208.14761"
height="80.830688"
viewBox="0 0 208.14761 80.830688"
id="svg2"
version="1.1"
inkscape:version="0.91 r13725"
sodipodi:docname="play.svg">
<defs
id="defs4">
<linearGradient
inkscape:collect="always"
id="linearGradient6413">
<stop
style="stop-color:#ffffff;stop-opacity:1;"
offset="0"
id="stop6415" />
<stop
style="stop-color:#ffffff;stop-opacity:0;"
offset="1"
id="stop6417" />
</linearGradient>
<linearGradient
inkscape:collect="always"
id="linearGradient6327">
<stop
style="stop-color:#737373;stop-opacity:1"
offset="0"
id="stop6329" />
<stop
style="stop-color:#333333;stop-opacity:0;"
offset="1"
id="stop6331" />
</linearGradient>
<inkscape:path-effect
effect="vonkoch"
id="path-effect4548"
is_visible="true"
ref_path="m 79.802044,-134.42355 108.055096,0"
generator="m 79.802044,-62.63784 36.018366,0 m 36.01836,0 36.01837,0"
similar_only="false"
nbgenerations="0"
drawall="true"
maxComplexity="1000" />
<inkscape:path-effect
effect="knot"
id="path-effect4538"
is_visible="true"
interruption_width="3"
prop_to_stroke_width="true"
add_stroke_width="true"
add_other_stroke_width="true"
switcher_size="15"
crossing_points_vector="" />
<inkscape:path-effect
effect="envelope"
id="path-effect4536"
is_visible="true"
yy="true"
xx="true"
bendpath1="m 79.802044,-206.20927 108.055096,0"
bendpath2="m 187.85714,-206.20927 0,143.57143"
bendpath3="m 79.802044,-62.63784 108.055096,0"
bendpath4="m 79.802044,-206.20927 0,143.57143" />
<inkscape:path-effect
effect="bend_path"
id="path-effect4534"
is_visible="true"
bendpath="m 79.802044,-134.42355 108.055096,0"
prop_scale="1"
scale_y_rel="false"
vertical="false" />
<mask
maskUnits="userSpaceOnUse"
id="mask4579">
<g
id="g4581"
transform="translate(-31.785717,-23.928572)">
<circle
r="53.033009"
cy="-141.63815"
cx="132.83505"
id="circle4583"
style="opacity:1;fill:none;fill-opacity:1;fill-rule:evenodd;stroke:#ffffff;stroke-width:4.30000019;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
<path
sodipodi:nodetypes="cccccccc"
inkscape:connector-curvature="0"
id="path4585"
d="m 112.85714,-206.20927 55.35714,0 -19.28571,50.71429 38.92857,0 -73.92857,92.85714 21.42857,-69.28571 -36.428568,0 z"
style="fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:#000000;stroke-width:3.5999999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</g>
</mask>
<mask
maskUnits="userSpaceOnUse"
id="mask5918">
<path
inkscape:connector-curvature="0"
id="path5920"
d="m 1088.6255,724.87588 0,112.25 112.75,0 0,-112.25 -112.75,0 z m 8.7324,4.94727 47.6426,47.64062 47.6406,-47.64062 3.5352,3.53515 -47.6406,47.64258 47.6406,47.64063 -3.5352,3.53515 -47.6406,-47.64062 -47.6426,47.64062 -3.5351,-3.53515 47.6426,-47.64063 -47.6426,-47.64258 3.5351,-3.53515 z"
style="opacity:0.747;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.5999999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</mask>
<mask
maskUnits="userSpaceOnUse"
id="mask5923">
<path
inkscape:connector-curvature="0"
id="path5925"
d="m 675.19922,821.7207 0,112.25 112.75,0 0,-112.25 -112.75,0 z m 8.73242,4.94727 47.64258,47.64062 47.64062,-47.64062 3.53516,3.53515 -47.64062,47.64258 47.64062,47.64063 -3.53516,3.53515 -47.64062,-47.64062 -47.64258,47.64062 -3.53516,-3.53515 47.64258,-47.64063 -47.64258,-47.64258 3.53516,-3.53515 z"
style="opacity:0.747;fill:#ffffff;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.5999999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" />
</mask>
<filter
inkscape:label="Evanescent"
inkscape:menu="Blurs"
inkscape:menu-tooltip="Blur the contents of objects, preserving the outline and adding progressive transparency at edges"
style="color-interpolation-filters:sRGB"
id="filter5649">
<feGaussianBlur
result="result6"
stdDeviation="3"
in="SourceGraphic"
id="feGaussianBlur5651" />
<feColorMatrix
values="1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 1 0 "
result="result7"
in="SourceGraphic"
id="feColorMatrix5653" />
<feComposite
operator="in"
in="result6"
in2="result7"
id="feComposite5655" />
</filter>
<filter
style="color-interpolation-filters:sRGB"
inkscape:label="Inner Shadow"
id="filter5827">
<feFlood
flood-opacity="0.498039"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood5829" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="out"
result="composite1"
id="feComposite5831" />
<feGaussianBlur
in="composite1"
stdDeviation="6.3"
result="blur"
id="feGaussianBlur5833" />
<feOffset
dx="2.4"
dy="1.4"
result="offset"
id="feOffset5835" />
<feComposite
in="offset"
in2="SourceGraphic"
operator="atop"
result="composite2"
id="feComposite5837" />
</filter>
<filter
style="color-interpolation-filters:sRGB"
inkscape:label="Outer Glow"
id="filter6021">
<feFlood
flood-opacity="0.709804"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood6023" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite6025" />
<feGaussianBlur
in="composite1"
stdDeviation="4.2"
result="blur"
id="feGaussianBlur6027" />
<feOffset
dx="0"
dy="0"
result="offset"
id="feOffset6029" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite6031" />
</filter>
<filter
style="color-interpolation-filters:sRGB"
inkscape:label="Outer Glow"
id="filter6021-3">
<feFlood
flood-opacity="0.709804"
flood-color="rgb(0,0,0)"
result="flood"
id="feFlood6023-6" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite6025-7" />
<feGaussianBlur
in="composite1"
stdDeviation="4.2"
result="blur"
id="feGaussianBlur6027-5" />
<feOffset
dx="0"
dy="0"
result="offset"
id="feOffset6029-3" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite6031-5" />
</filter>
<linearGradient
inkscape:collect="always"
xlink:href="#linearGradient6327"
id="linearGradient6333"
x1="-523.00354"
y1="558.487"
x2="-522.84851"
y2="628.24976"
gradientUnits="userSpaceOnUse" />
<radialGradient
inkscape:collect="always"
xlink:href="#linearGradient6413"
id="radialGradient6419"
cx="-525.5"
cy="623.11218"
fx="-525.5"
fy="623.11218"
r="78"
gradientTransform="matrix(1,0,0,0.37820513,690.02944,373.084)"
gradientUnits="userSpaceOnUse" />
<filter
inkscape:collect="always"
style="color-interpolation-filters:sRGB"
id="filter6657"
x="-0.050408982"
width="1.100818"
y="-0.19849591"
height="1.3969918">
<feGaussianBlur
inkscape:collect="always"
stdDeviation="2.4117383"
id="feGaussianBlur6659" />
</filter>
</defs>
<sodipodi:namedview
id="base"
pagecolor="#000000"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:zoom="1"
inkscape:cx="169.88014"
inkscape:cy="15.12114"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
units="px"
showguides="true"
inkscape:snap-bbox="false"
inkscape:bbox-nodes="true"
inkscape:bbox-paths="true"
inkscape:snap-to-guides="true"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0" />
<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="Misc"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-78.426181,-575.44684)">
<path
sodipodi:type="star"
style="opacity:1;fill:#333333;fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.5999999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.74901961"
id="path6308"
sodipodi:sides="6"
sodipodi:cx="-524.5"
sodipodi:cy="623.86218"
sodipodi:r1="75.823807"
sodipodi:r2="65.665344"
sodipodi:arg1="0"
sodipodi:arg2="0.52359878"
inkscape:flatsided="true"
inkscape:rounded="0"
inkscape:randomized="0"
d="m -448.67619,623.86218 -37.91191,65.66535 -75.8238,0 -37.91191,-65.66535 37.91191,-65.66534 75.8238,0 z"
transform="matrix(1.3725743,0,0,0.61547448,902.41521,231.89093)"
inkscape:export-filename="/home/michael/workspace/perso/spacetac/out/play.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90" />
<path
transform="matrix(1.2706892,0,0,0.56978828,848.97645,260.39282)"
d="m -448.67619,623.86218 -37.91191,65.66535 -75.8238,0 -37.91191,-65.66535 37.91191,-65.66534 75.8238,0 z"
inkscape:randomized="0"
inkscape:rounded="0"
inkscape:flatsided="true"
sodipodi:arg2="0.52359878"
sodipodi:arg1="0"
sodipodi:r2="65.665344"
sodipodi:r1="75.823807"
sodipodi:cy="623.86218"
sodipodi:cx="-524.5"
sodipodi:sides="6"
id="path6325"
style="opacity:1;fill:url(#linearGradient6333);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.5999999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.74901961"
sodipodi:type="star"
inkscape:export-filename="/home/michael/workspace/perso/spacetac/out/play.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90" />
<ellipse
style="opacity:0.43500001;fill:url(#radialGradient6419);fill-opacity:1;fill-rule:evenodd;stroke:none;stroke-width:3.5999999;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:0.74901961"
id="path6411"
cx="164.52942"
cy="608.74823"
rx="78"
ry="29.5"
inkscape:export-filename="/home/michael/workspace/perso/spacetac/out/play.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90" />
<text
sodipodi:linespacing="125%"
id="text6421"
y="633.69226"
x="122.16211"
style="font-style:normal;font-weight:normal;font-size:17.5px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;opacity:0.66399997;fill:#262626;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;filter:url(#filter6657)"
xml:space="preserve"
inkscape:export-filename="/home/michael/workspace/perso/spacetac/out/play.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"><tspan
style="font-size:40px;fill:#262626;fill-opacity:1"
y="633.69226"
x="122.16211"
id="tspan6423"
sodipodi:role="line">PLAY !</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:17.5px;line-height:125%;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#b2c6ff;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
x="121.16211"
y="630.44226"
id="text6251"
sodipodi:linespacing="125%"
inkscape:export-filename="/home/michael/workspace/perso/spacetac/out/play.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"><tspan
sodipodi:role="line"
id="tspan6253"
x="121.16211"
y="630.44226"
style="font-size:40px;fill:#b2c6ff;fill-opacity:1">PLAY !</tspan></text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 14 KiB