Updated AFK icons and implemented AWAY focus state

Colored the focus banners to make them more easy to identify at first glance
feature-rocketlauncher
unfa 2021-12-18 14:45:32 +01:00
parent 7f40d324a6
commit 4579bf5743
12 changed files with 421 additions and 37 deletions

View File

@ -7,9 +7,9 @@
viewBox="0 0 35.691444 35.691444"
version="1.1"
id="svg5"
inkscape:version="1.1 (c4e8f9ed74, 2021-05-24)"
inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20, custom)"
sodipodi:docname="Busy.svg"
inkscape:export-filename="/data/Projects/Games/Liblast/Game/Assets/Effects/Typing.png"
inkscape:export-filename="/data/Projects/Games/Liblast/Game/Assets/Effects/FocusAway.png"
inkscape:export-xdpi="182.1837"
inkscape:export-ydpi="182.1837"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
@ -31,12 +31,12 @@
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:zoom="2.0000001"
inkscape:cx="20.499999"
inkscape:cy="76.499998"
inkscape:zoom="2.8284273"
inkscape:cx="118.44038"
inkscape:cy="42.779958"
inkscape:window-width="1920"
inkscape:window-height="1051"
inkscape:window-x="1920"
inkscape:window-height="1003"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="layer2" />
@ -58,7 +58,7 @@
</marker>
</defs>
<g
inkscape:label="Incative"
inkscape:label="Menu"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-25.239306,-69.836283)"
@ -155,7 +155,7 @@
y="382.01416"
style="font-weight:bold;stroke:#000000;stroke-width:8.09743;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none">Z</tspan></text>
<ellipse
style="fill:#ffffff;stroke:#000000;stroke-width:7.55906;stroke-linecap:round;stroke-linejoin:round;paint-order:markers stroke fill"
style="fill:#d5e5ff;stroke:#000000;stroke-width:7.55906;stroke-linecap:round;stroke-linejoin:round;paint-order:markers stroke fill"
id="path4378"
cx="-37.236206"
cy="348.5336"
@ -164,11 +164,11 @@
ry="75.96608" />
<g
id="g4490"
style="stroke:#ffffff;stroke-width:1.89106;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
style="stroke:#d5e5ff;stroke-width:1.89106;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
transform="matrix(1.0511794,-0.10702792,0.10682266,1.0531992,9.062386,-89.315456)">
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:#ffffff;stroke-width:7.14732;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:#d5e5ff;stroke-width:7.14732;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
x="-85.426476"
y="382.01416"
id="text4480"
@ -177,10 +177,10 @@
id="tspan4478"
x="-85.426476"
y="382.01416"
style="font-weight:bold;stroke:#ffffff;stroke-width:7.14732;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill">Z</tspan></text>
style="font-weight:bold;stroke:#d5e5ff;stroke-width:7.14732;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill">Z</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:#ffffff;stroke-width:5.06089;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:#d5e5ff;stroke-width:5.06089;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
x="-85.426476"
y="382.01416"
id="text4484"
@ -189,10 +189,10 @@
id="tspan4482"
x="-85.426476"
y="382.01416"
style="font-weight:bold;stroke:#ffffff;stroke-width:5.06089;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill">Z</tspan></text>
style="font-weight:bold;stroke:#d5e5ff;stroke-width:5.06089;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill">Z</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:#ffffff;stroke-width:3.44247;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:#d5e5ff;stroke-width:3.44247;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
x="-85.426476"
y="382.01416"
id="text4488"
@ -201,10 +201,10 @@
id="tspan4486"
x="-85.426476"
y="382.01416"
style="font-weight:bold;stroke:#ffffff;stroke-width:3.44247;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill">Z</tspan></text>
style="font-weight:bold;stroke:#d5e5ff;stroke-width:3.44247;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill">Z</tspan></text>
</g>
<ellipse
style="fill:#ffffff;stroke:#000000;stroke-width:28.5424;stroke-linecap:round;stroke-linejoin:round;paint-order:markers stroke fill"
style="fill:#d5e5ff;stroke:#000000;stroke-width:28.5424;stroke-linecap:round;stroke-linejoin:round;paint-order:markers stroke fill"
id="ellipse4800"
cx="-37.236206"
cy="348.5336"
@ -212,7 +212,7 @@
rx="102.22083"
ry="75.96608" />
<ellipse
style="fill:#ffffff;stroke:#000000;stroke-width:45.6509;stroke-linecap:round;stroke-linejoin:round;paint-order:markers stroke fill"
style="fill:#d5e5ff;stroke:#000000;stroke-width:45.6509;stroke-linecap:round;stroke-linejoin:round;paint-order:markers stroke fill"
id="ellipse4802"
cx="-37.236206"
cy="348.5336"
@ -220,7 +220,7 @@
rx="102.22083"
ry="75.96608" />
<ellipse
style="fill:#ffffff;stroke:#000000;stroke-width:79.0643;stroke-linecap:round;stroke-linejoin:round;paint-order:markers stroke fill"
style="fill:#d5e5ff;stroke:#000000;stroke-width:79.0643;stroke-linecap:round;stroke-linejoin:round;paint-order:markers stroke fill"
id="ellipse4804"
cx="-37.236206"
cy="348.5336"
@ -231,11 +231,13 @@
<g
inkscape:groupmode="layer"
id="layer2"
inkscape:label="Typing"
transform="translate(-25.239306,-69.836283)">
inkscape:label="Chat"
transform="translate(-25.239306,-69.836283)"
style="display:none"
sodipodi:insensitive="true">
<text
xml:space="preserve"
style="display:inline;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;fill:#ff0000;fill-opacity:1;stroke:none;stroke-width:5.50795;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;display:inline;fill:#ff0000;fill-opacity:1;stroke:none;stroke-width:5.50795;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
x="-85.426476"
y="382.01416"
id="text4346"
@ -247,7 +249,7 @@
style="font-weight:bold;fill:#ff0000;stroke:none;stroke-width:5.50795;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none">AFK</tspan></text>
<text
xml:space="preserve"
style="display:inline;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;fill:#ff0000;fill-opacity:1;stroke:none;stroke-width:5.50795;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;display:inline;fill:#ff0000;fill-opacity:1;stroke:none;stroke-width:5.50795;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
x="-85.426476"
y="382.01416"
id="text10354"
@ -269,7 +271,7 @@
transform="matrix(0.26458333,0,0,0.26458333,25.239306,69.83628)" />
<text
xml:space="preserve"
style="display:inline;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;fill:#ff0000;fill-opacity:1;stroke:none;stroke-width:5.50795;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;display:inline;fill:#ff0000;fill-opacity:1;stroke:none;stroke-width:5.50795;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
x="-85.426476"
y="382.01416"
id="text12600"
@ -435,7 +437,7 @@
</g>
<text
xml:space="preserve"
style="display:inline;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:11.4357;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;display:inline;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:11.4357;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
x="-85.426476"
y="382.01416"
id="text13176"
@ -447,7 +449,7 @@
style="font-weight:bold;stroke:#000000;stroke-width:11.4357;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none">Z</tspan></text>
<text
xml:space="preserve"
style="display:inline;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:8.09743;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;display:inline;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:8.09743;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
x="-85.426476"
y="382.01416"
id="text13180"
@ -459,7 +461,7 @@
style="font-weight:bold;stroke:#000000;stroke-width:8.09743;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none">Z</tspan></text>
<path
id="ellipse13182"
style="display:inline;fill:#ffffff;stroke:#000000;stroke-width:4.4866;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:16;stroke-dasharray:none;paint-order:markers stroke fill"
style="display:inline;fill:#eeffaa;stroke:#000000;stroke-width:4.4866;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:16;stroke-dasharray:none;paint-order:markers stroke fill"
d="M 71.255859,8.5175781 C 67.749402,8.4142065 64.219067,8.5409901 60.705078,8.8964844 27.366963,12.271343 2.374392,35.091788 4.8828125,59.867188 7.3914931,84.641904 36.449852,101.98983 69.787109,98.615234 76.91129,97.890319 83.883453,96.233901 90.380859,93.722656 113.98318,94.506809 101.45726,118.84539 85.132754,129.8774 110.23286,118.65113 123.46695,97.467169 104.33203,86.476562 119.14178,76.459138 127.05336,62.020911 125.60938,47.646484 123.40581,25.87632 100.48764,9.3776118 71.255859,8.5175781 Z"
transform="matrix(0.26458333,0,0,0.26458333,25.239306,69.836283)"
sodipodi:nodetypes="ccccccccc" />
@ -480,4 +482,258 @@
y="58.153423"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';stroke-width:1.00563">%$^#!</tspan></text>
</g>
<g
inkscape:groupmode="layer"
id="g1272"
inkscape:label="Away"
transform="translate(-25.239306,-69.836283)"
style="display:inline"
sodipodi:insensitive="true">
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;display:inline;fill:#ff0000;fill-opacity:1;stroke:none;stroke-width:5.50795;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
x="-85.426476"
y="382.01416"
id="text1202"
transform="matrix(0.57744662,-0.05879388,0.05868112,0.57855617,97.924578,-139.27771)"><tspan
sodipodi:role="line"
id="tspan1200"
x="-85.426476"
y="382.01416"
style="font-weight:bold;fill:#ff0000;stroke:none;stroke-width:5.50795;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none">AFK</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;display:inline;fill:#ff0000;fill-opacity:1;stroke:none;stroke-width:5.50795;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
x="-85.426476"
y="382.01416"
id="text1206"
transform="matrix(0.57744662,-0.05879388,0.05868112,0.57855617,191.8554,-85.429197)"><tspan
sodipodi:role="line"
id="tspan1204"
x="-85.426476"
y="382.01416"
style="font-weight:bold;fill:#ff0000;stroke:none;stroke-width:5.50795;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none">Lag</tspan></text>
<path
id="path1208"
style="display:inline;fill:#ffffff;stroke:#000000;stroke-width:6.29291;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;paint-order:markers stroke fill"
d="m 436.58203,461.88867 v 49.32813 h -60.60547 v 67.48047 h 60.60547 73.41406 V 511.2168 461.88867 Z"
transform="matrix(0.26458333,0,0,0.26458333,25.239306,69.83628)" />
<path
style="display:inline;fill:none;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;marker-end:url(#Arrow1Mend)"
d="m 482.53054,505.40318 v 42.37886 h -46.36185"
id="path1210"
transform="matrix(0.26458333,0,0,0.26458333,25.239306,69.83628)" />
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;display:inline;fill:#ff0000;fill-opacity:1;stroke:none;stroke-width:5.50795;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
x="-85.426476"
y="382.01416"
id="text1214"
transform="matrix(0.57744662,-0.05879388,0.05868112,0.57855617,210.10385,-9.4490471)"><tspan
sodipodi:role="line"
id="tspan1212"
x="-85.426476"
y="382.01416"
style="font-weight:bold;fill:#ff0000;stroke:none;stroke-width:5.50795;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none">Chat</tspan></text>
<g
id="g1254"
transform="translate(21.719798,2.7297926)"
style="display:inline">
<ellipse
style="fill:#000000;stroke:none;stroke-width:12.0945;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
id="ellipse1216"
cx="217.16217"
cy="229.55093"
transform="matrix(0.26458333,0,0,0.26458333,25.239306,69.836283)"
rx="46.740421"
ry="28.887169" />
<ellipse
style="fill:#000000;stroke:none;stroke-width:12.0945;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
id="ellipse1218"
cx="283.56961"
cy="211.65584"
transform="matrix(0.26458333,0,0,0.26458333,25.239306,69.836283)"
rx="49.41362"
ry="24.70681" />
<ellipse
style="fill:#000000;stroke:none;stroke-width:12.0945;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
id="ellipse1220"
cx="224.92134"
cy="198.7343"
transform="matrix(0.26458333,0,0,0.26458333,25.239306,69.836283)"
rx="31.246658"
ry="15.623329" />
<ellipse
style="fill:#000000;stroke:none;stroke-width:12.0945;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
id="ellipse1222"
cx="330.17172"
cy="253.50018"
transform="matrix(0.26458333,0,0,0.26458333,25.239306,69.836283)"
rx="68.117523"
ry="22.705841" />
<ellipse
style="fill:#000000;stroke:none;stroke-width:12.0945;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
id="ellipse1224"
cx="255.68695"
cy="251.11713"
transform="matrix(0.26458333,0,0,0.26458333,25.239306,69.836283)"
rx="48.218082"
ry="29.800415" />
<ellipse
style="fill:#000000;stroke:none;stroke-width:12.0945;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
id="ellipse1226"
cx="313.8475"
cy="232.84682"
transform="matrix(0.26458333,0,0,0.26458333,25.239306,69.836283)"
rx="48.923065"
ry="24.461533" />
<ellipse
style="fill:#000000;stroke:none;stroke-width:12.0945;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
id="ellipse1228"
cx="309.87683"
cy="195.01982"
transform="matrix(0.26458333,0,0,0.26458333,25.239306,69.836283)"
rx="68.558006"
ry="22.852669" />
<ellipse
style="fill:#000000;stroke:none;stroke-width:12.0945;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
id="ellipse1230"
cx="348.1474"
cy="223.02937"
transform="matrix(0.26458333,0,0,0.26458333,27.602114,69.743758)"
rx="55.951981"
ry="27.97599" />
<ellipse
style="fill:#000000;stroke:none;stroke-width:12.0945;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
id="ellipse1232"
cx="361.02084"
cy="206.80559"
transform="matrix(0.26458333,0,0,0.26458333,25.239306,69.836283)"
rx="26.230331"
ry="13.115166" />
<ellipse
style="fill:#000000;stroke:none;stroke-width:12.0945;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
id="ellipse1234"
cx="247.04356"
cy="191.75652"
transform="matrix(0.26458333,0,0,0.26458333,25.239306,69.836283)"
rx="24.298691"
ry="8.0995636" />
<path
id="path1236"
style="fill:#ffffff;stroke:#000000;stroke-width:6.29291;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1;paint-order:markers stroke fill"
transform="matrix(0.31617222,-0.06563396,-0.10444832,0.2430944,42.52738,142.34038)"
d="m 208.5957,23.630859 -10.94531,55.41211 h 7.16992 l -5.82617,31.320311 h 5.91992 l -3.93359,24.11328 h -7.88281 l -2.7793,31.16406 23.17578,-31.16406 h -7.75391 l 20.66993,-30.85937 H 211.15234 L 232.9668,70.080078 h -17.63477 l 29.83985,-46.449219 z" />
<ellipse
style="fill:#ffffff;stroke:none;stroke-width:6.29291;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;paint-order:markers stroke fill"
id="ellipse1238"
cx="267.9502"
cy="240.37277"
transform="matrix(0.26458333,0,0,0.26458333,22.644826,70.768191)"
rx="45.225464"
ry="28.75219" />
<ellipse
style="fill:#ffffff;stroke:none;stroke-width:6.29291;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;paint-order:markers stroke fill"
id="ellipse1240"
cx="322.2392"
cy="228.57848"
transform="matrix(0.26458333,0,0,0.26458333,22.644826,70.768191)"
rx="38.786072"
ry="29.983635" />
<ellipse
style="fill:#ffffff;stroke:none;stroke-width:5.85265;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;paint-order:markers stroke fill"
id="ellipse1242"
cx="347.88861"
cy="227.99757"
transform="matrix(0.38050133,0,0,0.21269985,-18.042816,86.097044)"
rx="37.787537"
ry="31.142097" />
<ellipse
style="fill:#000000;stroke:none;stroke-width:6.22408;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;paint-order:markers stroke fill"
id="ellipse1244"
cx="267.9502"
cy="240.37277"
transform="matrix(0.26750929,0,0,0.26750929,18.032432,68.660701)"
rx="45.225464"
ry="28.75219" />
<ellipse
style="fill:#000000;stroke:none;stroke-width:6.7386;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;paint-order:markers stroke fill"
id="ellipse1246"
cx="347.88861"
cy="227.99757"
transform="matrix(0.33047538,0,0,0.18473539,1.4477238,90.782612)"
rx="37.787537"
ry="31.142097" />
<ellipse
style="fill:#000000;stroke:none;stroke-width:5.61811;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;paint-order:markers stroke fill"
id="ellipse1248"
cx="322.2392"
cy="228.57848"
transform="matrix(0.29636256,0,0,0.29636256,10.206804,61.260695)"
rx="38.786072"
ry="29.983635" />
<ellipse
style="fill:#ffffff;stroke:none;stroke-width:4.59434;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;paint-order:markers stroke fill"
id="ellipse1250"
cx="322.2392"
cy="228.57848"
transform="matrix(0.44315784,0,0,0.29636256,-37.096389,60.278928)"
rx="38.786072"
ry="29.983635" />
<ellipse
style="fill:#000000;stroke:none;stroke-width:3.95769;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;paint-order:markers stroke fill"
id="ellipse1252"
cx="322.2392"
cy="228.57848"
transform="matrix(0.5263824,0,0,0.33623535,-64.457529,48.485077)"
rx="38.786072"
ry="29.983635" />
</g>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;display:inline;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:11.4357;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
x="-85.426476"
y="382.01416"
id="text1258"
transform="matrix(0.27812455,-0.0283178,0.0282635,0.27865895,43.053522,-18.465248)"><tspan
sodipodi:role="line"
id="tspan1256"
x="-85.426476"
y="382.01416"
style="font-weight:bold;stroke:#000000;stroke-width:11.4357;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none">Z</tspan></text>
<text
xml:space="preserve"
style="font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:40px;line-height:1.25;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';letter-spacing:0px;word-spacing:0px;display:inline;fill:#000000;fill-opacity:1;stroke:#000000;stroke-width:8.09743;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none"
x="-85.426476"
y="382.01416"
id="text1262"
transform="matrix(0.39278518,-0.0399922,0.0399155,0.3935399,54.733569,-64.216117)"><tspan
sodipodi:role="line"
id="tspan1260"
x="-85.426476"
y="382.01416"
style="font-weight:bold;stroke:#000000;stroke-width:8.09743;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none">Z</tspan></text>
<path
id="path1264"
style="display:inline;fill:#ffe6d5;stroke:#000000;stroke-width:4.4866;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:16;stroke-dasharray:none;paint-order:markers stroke fill"
d="M 71.255859,8.5175781 C 67.749402,8.4142065 64.219067,8.5409901 60.705078,8.8964844 27.366963,12.271343 2.374392,35.091788 4.8828125,59.867188 7.3914931,84.641904 36.449852,101.98983 69.787109,98.615234 76.91129,97.890319 83.883453,96.233901 90.380859,93.722656 113.98318,94.506809 101.45726,118.84539 85.132754,129.8774 110.23286,118.65113 123.46695,97.467169 104.33203,86.476562 119.14178,76.459138 127.05336,62.020911 125.60938,47.646484 123.40581,25.87632 100.48764,9.3776118 71.255859,8.5175781 Z"
transform="matrix(0.26458333,0,0,0.26458333,25.239306,69.836283)"
sodipodi:nodetypes="ccccccccc" />
<g
id="g1266"
style="display:inline;stroke:#ffffff;stroke-width:1.89106;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
transform="matrix(1.0511794,-0.10702792,0.10682266,1.0531992,9.062386,-89.315455)" />
<text
xml:space="preserve"
style="font-style:normal;font-weight:normal;font-size:16.116px;line-height:1.25;font-family:sans-serif;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:#ffe6d5;stroke-width:1.965;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill"
x="26.845949"
y="96.276535"
id="text1270"
transform="matrix(1.0001372,-0.20052868,0,0.99986283,0,0)"><tspan
sodipodi:role="line"
id="tspan1268"
x="26.845949"
y="96.276535"
style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-family:'Liberation Sans';-inkscape-font-specification:'Liberation Sans';stroke:#ffe6d5;stroke-width:1.965;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;paint-order:markers stroke fill">AFK</tspan></text>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 40 KiB

View File

@ -24,8 +24,9 @@ var health = max_health:
@onready var crosshair = hud.get_node("Crosshair")
@onready var vignette = hud.get_node("Vignette")
@onready var banner_busy = preload("res://Assets/Effects/Busy.png")
@onready var banner_chat = preload("res://Assets/Effects/Typing.png")
@onready var banner_menu = preload("res://Assets/Effects/FocusMenu.png")
@onready var banner_chat = preload("res://Assets/Effects/FocusChat.png")
@onready var banner_away = preload("res://Assets/Effects/FocusAway.png")
@onready var head = $Head
@onready var camera = $Head/Camera
@ -153,8 +154,9 @@ func view_banner(show:bool):
$FocusBanner.hide()
match type:
0: $FocusBanner.mesh.surface_get_material(0).set("albedo_texture", banner_busy)
0: $FocusBanner.mesh.surface_get_material(0).set("albedo_texture", banner_menu)
1: $FocusBanner.mesh.surface_get_material(0).set("albedo_texture", banner_chat)
2: $FocusBanner.mesh.surface_get_material(0).set("albedo_texture", banner_away)
@rpc(authority, unreliable) func update_movement(player_transform, head_rotation, lin_velocity, jetpack):

BIN
Game/Assets/Effects/FocusAway.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,37 @@
[remap]
importer="texture"
type="StreamTexture2D"
uid="uid://bbbxc8du7ercf"
path.s3tc="res://.godot/imported/FocusAway.png-4fcaf53d1542396a96f4ef05152c3816.s3tc.stex"
path.etc2="res://.godot/imported/FocusAway.png-4fcaf53d1542396a96f4ef05152c3816.etc2.stex"
metadata={
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://Assets/Effects/FocusAway.png"
dest_files=["res://.godot/imported/FocusAway.png-4fcaf53d1542396a96f4ef05152c3816.s3tc.stex", "res://.godot/imported/FocusAway.png-4fcaf53d1542396a96f4ef05152c3816.etc2.stex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
compress/channel_pack=0
compress/streamed=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/HDR_as_SRGB=false
process/size_limit=0
detect_3d/compress_to=0
svg/scale=1.0

BIN
Game/Assets/Effects/FocusChat.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,35 @@
[remap]
importer="texture"
type="StreamTexture2D"
uid="uid://cl5ctxbfxnr48"
path="res://.godot/imported/FocusChat.png-9c56aa44a1a79d9c265aede1021377f0.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Effects/FocusChat.png"
dest_files=["res://.godot/imported/FocusChat.png-9c56aa44a1a79d9c265aede1021377f0.stex"]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
compress/channel_pack=0
compress/streamed=false
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/HDR_as_SRGB=false
process/size_limit=0
detect_3d/compress_to=1
svg/scale=1.0

BIN
Game/Assets/Effects/FocusMenu.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,37 @@
[remap]
importer="texture"
type="StreamTexture2D"
uid="uid://bf7idsht43ljr"
path.s3tc="res://.godot/imported/FocusMenu.png-93dd3dd10ffa571e5294f3be1c2c96b7.s3tc.stex"
path.etc2="res://.godot/imported/FocusMenu.png-93dd3dd10ffa571e5294f3be1c2c96b7.etc2.stex"
metadata={
"imported_formats": ["s3tc", "etc2"],
"vram_texture": true
}
[deps]
source_file="res://Assets/Effects/FocusMenu.png"
dest_files=["res://.godot/imported/FocusMenu.png-93dd3dd10ffa571e5294f3be1c2c96b7.s3tc.stex", "res://.godot/imported/FocusMenu.png-93dd3dd10ffa571e5294f3be1c2c96b7.etc2.stex"]
[params]
compress/mode=2
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/bptc_ldr=0
compress/normal_map=0
compress/channel_pack=0
compress/streamed=false
mipmaps/generate=true
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/HDR_as_SRGB=false
process/size_limit=0
detect_3d/compress_to=0
svg/scale=1.0

BIN
Game/Assets/Effects/Typing.png (Stored with Git LFS)

Binary file not shown.

BIN
Game/Assets/HUD/MuteIcon.png (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -2,16 +2,16 @@
importer="texture"
type="StreamTexture2D"
uid="uid://b1bf2ni3gggce"
path="res://.godot/imported/Typing.png-cfa6ed9a5a612bb50eac93e4420acb28.stex"
uid="uid://nvmxqamvgmwl"
path="res://.godot/imported/MuteIcon.png-9cd8d91785fe3bea8c53fe212e36d908.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://Assets/Effects/Typing.png"
dest_files=["res://.godot/imported/Typing.png-cfa6ed9a5a612bb50eac93e4420acb28.stex"]
source_file="res://Assets/HUD/MuteIcon.png"
dest_files=["res://.godot/imported/MuteIcon.png-9cd8d91785fe3bea8c53fe212e36d908.stex"]
[params]

View File

@ -22,6 +22,8 @@ var player_scene = preload("res://Assets/Characters/Player.tscn")
@onready var chat = hud.get_node("Chat")
var local_player: Node = null
var local_player_focus_previous: GameFocus # to store focus that should be set after AWAY is gone
class PlayerInfo:
var name: String
var team: int
@ -81,9 +83,15 @@ func _notification(what: int) -> void:
match what:
NOTIFICATION_APPLICATION_FOCUS_OUT:
Engine.target_fps = 5
if local_player:
local_player_focus_previous = focus
focus = GameFocus.AWAY
NOTIFICATION_APPLICATION_FOCUS_IN:
# `0` means "unlimited".
Engine.target_fps = 0
if local_player:
focus = local_player_focus_previous
func _process(delta):
uptime += delta