HEAD is now a monster

This commit is contained in:
bleeptrack 2020-10-27 13:11:15 +01:00
parent 85ad33a028
commit 37adce3bb4
3 changed files with 108 additions and 2 deletions

72
nodes/head.svg Normal file
View file

@ -0,0 +1,72 @@
<?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"
width="28.546129mm"
height="34.178444mm"
viewBox="0 0 28.546128 34.178443"
version="1.1"
id="svg8"
inkscape:version="1.0.1 (1.0.1+r73)"
sodipodi:docname="head.svg">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="3.959798"
inkscape:cx="139.19711"
inkscape:cy="88.828235"
inkscape:document-units="mm"
inkscape:current-layer="g836"
inkscape:document-rotation="0"
showgrid="false"
inkscape:window-width="3840"
inkscape:window-height="2111"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1" />
<metadata
id="metadata5">
<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>
<g
inkscape:label="Layer 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(-48.169397,-137.52974)">
<g
id="g836"
transform="matrix(1.1299927,0,0,1.1299927,-8.019261,-20.06068)"
style="stroke-width:0.884961">
<path
fill="#000000"
fill-opacity="0"
d="m 49.724797,139.46145 h 25.262225 v 30.2466 H 49.724797 Z"
fill-rule="nonzero"
id="path836"
style="fill:#00ffff;stroke:none;stroke-width:0.0438623;stroke-linecap:square;stroke-miterlimit:10" />
<path
id="path838"
style="fill:#00cbff;fill-opacity:1;stroke:none;stroke-width:0.0438623;stroke-linecap:square;stroke-miterlimit:10"
d="m 61.312236,140.14975 c -0.181419,-5e-4 -0.348014,0.0541 -0.469987,0.15788 -0.216843,0.18455 -0.457952,0.68683 -0.394768,1.05334 0.06318,0.3665 0.506987,0.70165 0.773855,1.14578 0.266868,0.44413 0.569234,0.78157 0.827394,1.51897 0.08643,0.24688 0.170936,0.59655 0.253629,0.96911 -0.0046,2.5e-4 -0.0092,5.2e-4 -0.01375,7.8e-4 -0.02568,-0.0473 -0.05162,-0.0944 -0.07841,-0.14008 -0.506333,-0.86406 -1.593239,-2.20601 -2.194373,-2.73803 -0.601134,-0.53203 -1.044128,-0.45088 -1.412384,-0.45411 -0.368262,-0.003 -0.67946,0.17544 -0.797096,0.43475 -0.11763,0.25931 -0.121927,0.81638 0.09129,1.1211 0.213219,0.30471 0.757424,0.41893 1.187992,0.70716 0.430569,0.28822 0.84779,0.46497 1.395344,1.02226 0.05815,0.0592 0.12116,0.12913 0.186545,0.20454 -0.06223,0.0142 -0.12389,0.0302 -0.185186,0.0477 -0.763194,-0.34689 -1.708377,-0.68382 -2.236488,-0.78973 -0.699052,-0.1402 -1.007113,0.11942 -1.294084,0.28102 -0.286972,0.1616 -0.449998,0.43728 -0.427684,0.68857 0.0223,0.2513 0.262823,0.68047 0.561561,0.81917 0.298743,0.1387 0.770817,-0.0161 1.230876,0.0131 0.238032,0.0151 0.460862,0.009 0.712484,0.0253 -0.825064,1.10605 -1.306386,2.28588 -1.885761,5.60675 -0.125021,0.71662 -0.274828,1.6729 -0.431843,2.75023 -0.539599,0.1184 -1.207739,0.33865 -1.77163,0.67463 -0.954119,0.56849 -2.472997,1.87502 -3.096112,2.633 -0.623111,0.75798 -0.593912,1.39628 -0.642589,1.9149 -0.04868,0.51862 0.09738,0.98735 0.350527,1.1968 0.253144,0.20945 0.827592,0.30926 1.168341,0.0599 0.340748,-0.24934 0.525597,-0.99742 0.876085,-1.55595 0.350488,-0.55852 0.584218,-1.11704 1.226807,-1.79524 0.376291,-0.39714 1.05406,-0.92289 1.645008,-1.39971 -0.527635,3.88745 -1.044351,8.59446 -0.950625,10.435 0.136743,2.68532 1.904497,1.79765 2.44655,1.19844 0.542053,-0.59921 0.28425,-3.88379 0.80571,-4.79368 0.521454,-0.90989 1.461576,-0.63235 2.323026,-0.66563 0.861454,-0.0333 2.293927,0.0776 2.84568,0.46592 0.551753,0.38836 0.426132,0.98754 0.464857,1.86417 0.03872,0.87663 -0.513202,2.74093 -0.232525,3.39563 0.280676,0.6547 1.422875,0.95428 1.916543,0.53262 0.493673,-0.42167 0.716394,-0.85441 1.045494,-3.06262 0.280556,-1.88249 0.630087,-5.93214 0.835426,-8.8076 0.434682,0.6671 0.911774,1.38475 1.150624,1.8876 0.439895,0.92608 0.48337,1.56632 0.652853,2.25497 0.169477,0.68866 0.08953,1.49319 0.363986,1.87695 0.274454,0.38376 0.931451,0.52462 1.282762,0.42565 0.351311,-0.099 0.683977,-0.49463 0.825165,-1.01945 0.141187,-0.52482 0.411059,-1.13386 0.02197,-2.12951 -0.389079,-0.99566 -1.539591,-2.89606 -2.356522,-3.84442 -0.526986,-0.61176 -1.239673,-1.14104 -1.804057,-1.47928 0.169223,-2.44723 0.367125,-4.29838 0.07318,-5.80965 -0.319417,-1.64227 -1.07453,-2.71863 -2.032807,-3.39553 -0.645941,-0.45627 -1.577618,-0.63479 -2.47511,-0.67918 -0.0032,-0.0999 -0.0083,-0.19919 -0.01703,-0.29622 -0.09025,-0.99742 -0.502353,-2.67435 -0.819746,-3.4117 -0.317394,-0.73735 -0.752771,-0.85266 -1.084602,-1.01239 -0.145179,-0.0699 -0.295294,-0.10358 -0.436398,-0.10397 z m 0.535238,7.24343 c 0.379657,0 0.743829,0.14722 1.012288,0.40938 0.268459,0.26217 0.419263,0.61772 0.419263,0.98848 0,0.77206 -0.640953,1.39796 -1.431551,1.39796 -0.790607,0 -1.431456,-0.6259 -1.431456,-1.39796 0,-0.77206 0.640849,-1.39786 1.431456,-1.39786 z m 3.578393,0 c 0.379659,0 0.743829,0.14722 1.012289,0.40938 0.268457,0.26217 0.419262,0.61772 0.419262,0.98848 0,0.77206 -0.640953,1.39796 -1.431551,1.39796 -0.790599,0 -1.431453,-0.6259 -1.431453,-1.39796 0,-0.77206 0.640854,-1.39786 1.431453,-1.39786 z m -0.666309,4.27926 c 0.352951,-6.6e-4 0.659734,0.0291 0.819938,0.13107 0.366181,0.23301 0.543708,1.00968 0,1.33146 -0.543709,0.32177 -2.507788,0.6103 -3.262327,0.59922 -0.75454,-0.0111 -1.109602,-0.36613 -1.264951,-0.66573 -0.155349,-0.29959 -0.05545,-0.90991 0.332912,-1.13184 0.388365,-0.22193 1.298224,-0.17753 1.997281,-0.19971 0.393222,-0.0125 0.923355,-0.0636 1.377147,-0.0645 z" />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 5.9 KiB

34
nodes/head.svg.import Normal file
View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/head.svg-062450ee486d6e5774c7ccb0fbe8c145.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://nodes/head.svg"
dest_files=[ "res://.import/head.svg-062450ee486d6e5774c7ccb0fbe8c145.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=true
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=true
svg/scale=1.0

View file

@ -76,8 +76,8 @@ func type_set(new_type):
$Sprite.texture = preload("res://nodes/ref.svg")
id_always_visible = true
"head":
$Sprite.texture = preload("res://nodes/ref.svg")
id_always_visible = true
$Sprite.texture = preload("res://nodes/head.svg")
id_always_visible = false
if id_always_visible:
$ID.show()