1
0
Fork 0
mirror of https://github.com/tonytins/dressupzack synced 2025-06-25 16:14:43 -04:00

In-game news straight from my website

This is new feature trying out JSON-RPC requests.
This commit is contained in:
Tony Bark 2021-05-31 16:56:52 -04:00
parent 9db6589717
commit ec79a57f96
15 changed files with 628 additions and 17 deletions

View file

@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"
viewBox="0 0 40 32"
version="1.1"
id="svg835"
sodipodi:docname="newspaper-disabled.svg"
width="40"
height="32"
inkscape:version="1.0.2 (e86c8708, 2021-01-15)">
<metadata
id="metadata841">
<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>
<defs
id="defs839" />
<sodipodi:namedview
pagecolor="#000000"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="987"
id="namedview837"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:zoom="1.1597222"
inkscape:cx="223.32934"
inkscape:cy="176.47904"
inkscape:window-x="0"
inkscape:window-y="23"
inkscape:window-maximized="1"
inkscape:current-layer="svg835"
inkscape:document-rotation="0"
inkscape:pagecheckerboard="true" />
<!-- Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) -->
<path
d="M 38.333332,0 H 6.111111 C 5.190625,0 4.4444445,0.895417 4.4444445,2 V 2.666667 H 1.6666666 C 0.74618055,2.666667 0,3.562083 0,4.666667 V 27.333333 C 0,29.910667 1.741111,32 3.888889,32 H 36.666668 C 38.507638,32 40,30.209167 40,28 V 2 C 40,0.895417 39.253821,0 38.333332,0 Z M 3.888889,28 A 0.55555555,0.66666667 0 0 1 3.3333333,27.333333 V 6.666667 H 4.4444445 V 27.333333 A 0.55555555,0.66666667 0 0 1 3.888889,28 Z M 20.277777,26.666667 H 9.7222223 c -0.4602083,0 -0.8333333,-0.44775 -0.8333333,-1 V 25 c 0,-0.55225 0.373125,-1 0.8333333,-1 H 20.277777 c 0.460209,0 0.833333,0.44775 0.833333,1 v 0.666667 c 0,0.55225 -0.373124,1 -0.833333,1 z m 14.444445,0 H 24.166667 c -0.460208,0 -0.833335,-0.44775 -0.833335,-1 V 25 c 0,-0.55225 0.373127,-1 0.833335,-1 h 10.555555 c 0.460207,0 0.833333,0.44775 0.833333,1 v 0.666667 c 0,0.55225 -0.373126,1 -0.833333,1 z m -14.444445,-8 H 9.7222223 c -0.4602083,0 -0.8333333,-0.44775 -0.8333333,-1 V 17 c 0,-0.55225 0.373125,-1 0.8333333,-1 H 20.277777 c 0.460209,0 0.833333,0.44775 0.833333,1 v 0.666667 c 0,0.55225 -0.373124,1 -0.833333,1 z m 14.444445,0 H 24.166667 c -0.460208,0 -0.833335,-0.44775 -0.833335,-1 V 17 c 0,-0.55225 0.373127,-1 0.833335,-1 h 10.555555 c 0.460207,0 0.833333,0.44775 0.833333,1 v 0.666667 c 0,0.55225 -0.373126,1 -0.833333,1 z m 0,-8 H 9.7222223 c -0.4602083,0 -0.8333333,-0.44775 -0.8333333,-1 V 6.333333 c 0,-0.55225 0.373125,-1 0.8333333,-1 H 34.722222 c 0.460207,0 0.833333,0.44775 0.833333,1 v 3.333334 c 0,0.55225 -0.373126,1 -0.833333,1 z"
id="path833"
style="stroke-width:0.0760726;fill:#b3b3b3;fill-opacity:1" />
</svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/newspaper-disabled.svg-4f6a658b170751bc0f75fca2f40c3b06.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://sprites/symbols/newspaper-disabled.svg"
dest_files=[ "res://.import/newspaper-disabled.svg-4f6a658b170751bc0f75fca2f40c3b06.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

View file

@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"
viewBox="0 0 40 32"
version="1.1"
id="svg835"
sodipodi:docname="newspaper.svg"
width="40"
height="32"
inkscape:version="1.0.2 (e86c8708, 2021-01-15)">
<metadata
id="metadata841">
<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 />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs839" />
<sodipodi:namedview
pagecolor="#000000"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="987"
id="namedview837"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:zoom="1.1597222"
inkscape:cx="223.32934"
inkscape:cy="176.47904"
inkscape:window-x="0"
inkscape:window-y="23"
inkscape:window-maximized="1"
inkscape:current-layer="svg835"
inkscape:document-rotation="0"
inkscape:pagecheckerboard="true" />
<!-- Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) -->
<path
d="M 38.333332,0 H 6.111111 C 5.190625,0 4.4444445,0.895417 4.4444445,2 V 2.666667 H 1.6666666 C 0.74618055,2.666667 0,3.562083 0,4.666667 V 27.333333 C 0,29.910667 1.741111,32 3.888889,32 H 36.666668 C 38.507638,32 40,30.209167 40,28 V 2 C 40,0.895417 39.253821,0 38.333332,0 Z M 3.888889,28 A 0.55555555,0.66666667 0 0 1 3.3333333,27.333333 V 6.666667 H 4.4444445 V 27.333333 A 0.55555555,0.66666667 0 0 1 3.888889,28 Z M 20.277777,26.666667 H 9.7222223 c -0.4602083,0 -0.8333333,-0.44775 -0.8333333,-1 V 25 c 0,-0.55225 0.373125,-1 0.8333333,-1 H 20.277777 c 0.460209,0 0.833333,0.44775 0.833333,1 v 0.666667 c 0,0.55225 -0.373124,1 -0.833333,1 z m 14.444445,0 H 24.166667 c -0.460208,0 -0.833335,-0.44775 -0.833335,-1 V 25 c 0,-0.55225 0.373127,-1 0.833335,-1 h 10.555555 c 0.460207,0 0.833333,0.44775 0.833333,1 v 0.666667 c 0,0.55225 -0.373126,1 -0.833333,1 z m -14.444445,-8 H 9.7222223 c -0.4602083,0 -0.8333333,-0.44775 -0.8333333,-1 V 17 c 0,-0.55225 0.373125,-1 0.8333333,-1 H 20.277777 c 0.460209,0 0.833333,0.44775 0.833333,1 v 0.666667 c 0,0.55225 -0.373124,1 -0.833333,1 z m 14.444445,0 H 24.166667 c -0.460208,0 -0.833335,-0.44775 -0.833335,-1 V 17 c 0,-0.55225 0.373127,-1 0.833335,-1 h 10.555555 c 0.460207,0 0.833333,0.44775 0.833333,1 v 0.666667 c 0,0.55225 -0.373126,1 -0.833333,1 z m 0,-8 H 9.7222223 c -0.4602083,0 -0.8333333,-0.44775 -0.8333333,-1 V 6.333333 c 0,-0.55225 0.373125,-1 0.8333333,-1 H 34.722222 c 0.460207,0 0.833333,0.44775 0.833333,1 v 3.333334 c 0,0.55225 -0.373126,1 -0.833333,1 z"
id="path833"
style="stroke-width:0.0760726;fill:#1ea7e1;fill-opacity:1" />
</svg>

After

Width:  |  Height:  |  Size: 3.4 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/newspaper.svg-c0c10dffd78099ba7b3807021c14924f.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://sprites/symbols/newspaper.svg"
dest_files=[ "res://.import/newspaper.svg-c0c10dffd78099ba7b3807021c14924f.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0

61
sprites/symbols/sync.svg Normal file
View file

@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<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"
viewBox="0 0 32 32"
version="1.1"
id="svg835"
sodipodi:docname="sync.svg"
width="32"
height="32"
inkscape:version="1.0.2 (e86c8708, 2021-01-15)">
<metadata
id="metadata841">
<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>
<defs
id="defs839" />
<sodipodi:namedview
pagecolor="#000000"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1920"
inkscape:window-height="987"
id="namedview837"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:pagecheckerboard="true"
inkscape:zoom="1.3046875"
inkscape:cx="256"
inkscape:cy="256"
inkscape:window-x="0"
inkscape:window-y="23"
inkscape:window-maximized="1"
inkscape:current-layer="svg835" />
<!-- Font Awesome Free 5.15.3 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) -->
<path
d="m 27.540625,0.78562499 0.25,5.17312491 A 15.4475,15.4475 0 0 0 15.989375,0.49999999 c -7.56875,0 -13.87,5.43249991 -15.22125,12.61375001 A 0.75,0.74999999 0 0 0 1.505625,14 H 4.57125 a 0.75,0.74999999 0 0 0 0.729375,-0.57875 10.994375,10.994375 0 0 1 19.8125,-3.5587502 l -6.34125,-0.30375 A 0.75,0.74999999 0 0 0 17.98625,10.30875 v 2.963125 a 0.75,0.74999999 0 0 0 0.75,0.75 H 31.25 a 0.75,0.74999999 0 0 0 0.75,-0.75 V 0.74999999 A 0.75,0.74999999 0 0 0 31.25,0 h -2.960625 a 0.75,0.74999999 0 0 0 -0.74875,0.78562499 z M 15.989375,27 a 10.975625,10.975625 0 0 1 -9.125,-4.8625 l 6.3625,0.304375 a 0.75,0.74999999 0 0 0 0.785625,-0.75 v -2.9625 a 0.75,0.74999999 0 0 0 -0.75,-0.75 H 0.75 a 0.75,0.74999999 0 0 0 -0.75,0.75 v 12.520624 a 0.75,0.74999999 0 0 0 0.75,0.75 h 2.959375 a 0.75,0.74999999 0 0 0 0.75,-0.7875 L 4.2,26.051875 a 15.448125,15.448125 0 0 0 11.789375,5.448124 C 23.55875,31.499999 29.86,26.0675 31.21125,18.88625 A 0.75,0.74999999 0 0 0 30.47375,18 H 27.408125 A 0.75,0.74999999 0 0 0 26.67875,18.57875 10.99125,10.99125 0 0 1 15.989375,27 Z"
id="path833"
style="fill:#ffffff;stroke-width:0.0625" />
</svg>

After

Width:  |  Height:  |  Size: 2.9 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/sync.svg-f813d9cd893fe23342f18498df3c01d6.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://sprites/symbols/sync.svg"
dest_files=[ "res://.import/sync.svg-f813d9cd893fe23342f18498df3c01d6.stex" ]
[params]
compress/mode=0
compress/lossy_quality=0.7
compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
flags/filter=false
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
process/fix_alpha_border=true
process/premult_alpha=false
process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
detect_3d=false
svg/scale=1.0