1
0
Fork 0
mirror of https://github.com/tonytins/dressupzack synced 2025-05-07 22:04:49 -04:00

SVG ramaster, WIP

This commit is contained in:
Anthony Wilcox 2019-04-29 23:21:54 -04:00
parent 6dd20ff447
commit 21024f9c82
3 changed files with 226 additions and 5 deletions

View file

@ -3,7 +3,7 @@
[ext_resource path="res://sprites/tail/tail0.png" type="Texture" id=1]
[ext_resource path="res://sprites/tail/tail1.png" type="Texture" id=2]
[ext_resource path="res://sprites/tail/tail2.png" type="Texture" id=3]
[ext_resource path="res://sprites/character_base.png" type="Texture" id=4]
[ext_resource path="res://sprites/character_base.svg" type="Texture" id=4]
[ext_resource path="res://sprites/eyes/eyes1.png" type="Texture" id=5]
[ext_resource path="res://sprites/eyes/eyes2.png" type="Texture" id=6]
[ext_resource path="res://sprites/eyes/eyes3.png" type="Texture" id=7]
@ -23,7 +23,6 @@
[ext_resource path="res://sprites/mouth/mouth10.png" type="Texture" id=21]
[ext_resource path="res://sprites/mouth/mouth12.png" type="Texture" id=22]
[sub_resource type="SpriteFrames" id=1]
animations = [ {
"frames": [ ExtResource( 1 ), ExtResource( 1 ), ExtResource( 1 ), ExtResource( 2 ), ExtResource( 2 ), ExtResource( 2 ), ExtResource( 3 ), ExtResource( 3 ), ExtResource( 3 ) ],
@ -53,7 +52,7 @@ animations = [ {
[node name="Tail" type="AnimatedSprite" parent="."]
position = Vector2( 49.6951, 374.417 )
frames = SubResource( 1 )
frame = 7
frame = 6
playing = true
__meta__ = {
"_edit_lock_": true
@ -69,7 +68,7 @@ __meta__ = {
[node name="Eyes" type="AnimatedSprite" parent="."]
position = Vector2( 109.519, 253.9 )
frames = SubResource( 2 )
frame = 7
frame = 18
playing = true
__meta__ = {
"_edit_lock_": true
@ -78,7 +77,7 @@ __meta__ = {
[node name="Mouth" type="AnimatedSprite" parent="."]
position = Vector2( 126.316, 257.474 )
frames = SubResource( 3 )
frame = 26
frame = 6
playing = true
__meta__ = {
"_edit_lock_": true

View file

@ -0,0 +1,188 @@
<?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="43.391666mm"
height="86.518753mm"
viewBox="0 0 43.391666 86.518753"
version="1.1"
id="svg8"
inkscape:version="0.92.3 (2405546, 2018-03-11)"
sodipodi:docname="character_base.svg">
<defs
id="defs2" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="5.6"
inkscape:cx="70.754725"
inkscape:cy="49.388861"
inkscape:document-units="mm"
inkscape:current-layer="layer3"
showgrid="false"
fit-margin-top="0"
fit-margin-left="0"
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:pagecheckerboard="true"
showguides="false"
inkscape:window-width="1920"
inkscape:window-height="1001"
inkscape:window-x="-9"
inkscape:window-y="-9"
inkscape:window-maximized="1"
inkscape:lockguides="false" />
<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(-76.57798,-103.3061)"
style="display:inline" />
<g
inkscape:groupmode="layer"
id="layer3"
inkscape:label="Color">
<path
style="fill:#33679b;fill-opacity:1;stroke:#000000;stroke-width:1.20000005;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 12.756696,20.042186 c -3.0330485,3.485978 -6.9287479,8.842867 -10.6778266,9.780135 5.411336,2.216856 13.7737856,1.25077 18.6153276,-3.590773 -1.673498,-3.036966 -4.542199,-5.822302 -7.937501,-6.189362 z"
id="path864"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" />
<path
style="fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1.20000005;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 13.370907,11.25424 12.42597,1.6630936 19.749259,6.6712796 Z"
id="path866-4"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" />
<path
style="opacity:1;fill:#ffffff;fill-opacity:1;stroke:none;stroke-width:1.20000005;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 34.726561,20.939881 c 1.424506,0.409095 2.905617,0.519717 4.441219,0.519717 -0.631436,0.891699 -1.802839,1.33673 -2.834817,1.795387 0.679627,2.000634 1.918615,4.085352 2.55134,6.236608 -0.196308,-1.699022 -1.726382,-2.566554 -2.976563,-3.449034 -1.289203,1.845106 -2.413179,3.349977 -4.441222,4.110492 -0.02396,-1.807178 -0.561611,-3.490928 -2.102492,-4.464845 -1.266898,0.154353 -2.719548,0.200395 -2.62221,1.063057 0.225306,1.996779 1.707495,3.473391 3.168393,4.548419 1.635877,2.807358 2.473664,10.092655 1.22558,18.886106 0.123737,9.510183 1.737466,16.423656 1.039433,27.119792 5.989076,7.622458 -5.466142,9.257207 -8.457219,1.795388 0,-4.946536 0.06144,-10.808711 0.04725,-15.73326 -3.051778,4.577667 -6.271659,11.54185 -7.843006,17.103423 6.066786,9.10018 -9.274496,5.51039 -10.15811,0.18899 5.089364,-6.263833 6.523881,-16.184507 8.976934,-23.718007 -4.857104,0.28571 -5.3976359,-3.203427 -2.267857,-6.756323 0,-5.167442 -0.342243,-10.519109 0.47247,-15.449778 0.254528,-4.326972 4.855698,-2.933067 7.181548,-4.677457 2.338792,-1.754093 0.344395,-5.168508 -2.315104,-4.346726 -1.654478,0.194645 -1.540993,1.586536 -1.417411,3.023812 -1.143466,-0.96755 -1.993973,-1.935806 -2.315104,-3.449035 -0.922523,0.41001 -1.163668,0.859591 -1.464658,1.937128 -0.205894,-1.750106 0.388371,-3.429513 1.228423,-4.960938 -0.815374,-0.582409 -1.342158,-1.351465 -2.078869,-2.078869 1.223677,0.71981 2.536848,1.181155 3.96875,1.181176 8.399753,-4.993925 13.806413,-4.295882 18.993302,-0.425223 z"
id="path831-5"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccsccccccccccscccccccc" />
<path
style="fill:#0276b1;fill-opacity:1;stroke:none;stroke-width:1.20000005;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 32.458706,4.6554696 1.322914,-3.167906 2.4096,4.711245 z"
id="path868-9"
inkscape:connector-curvature="0" />
<path
style="fill:#0276b1;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 15.733259,21.365104 c 8.031531,-1.988559 12.40585,-4.181396 18.993303,-0.425223 4.457472,-16.6670615 -22.644325,-7.978795 -21.296268,-1.23851 0.0953,0.476477 1.928934,1.360996 2.302965,1.663733"
id="path845"
inkscape:connector-curvature="0" />
<path
style="fill:#6699cc;fill-opacity:1;stroke:none;stroke-width:1.20000005;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 12.756695,20.042186 C 18.416439,16.062161 25.70522,12.477728 32.978422,13.285862 32.369584,9.9866232 33.699225,7.6646882 36.19122,6.1988082 29.207101,0.4402425 18.893463,6.8361942 13.370906,11.25424 c -0.378768,2.73809 -0.978309,7.149508 -0.614211,8.787946 z"
id="path833-7"
inkscape:connector-curvature="0" />
<path
style="fill:#0276b1;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 12.42597,1.6630936 4.41201,7.4143138 2.911279,-2.4061278"
id="path832"
inkscape:connector-curvature="0" />
<path
style="fill:#0276b1;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 16.725446,36.81488 c 0.260421,-2.556769 3.987942,-6.623181 3.987942,-6.623181 0,0 -4.511124,-0.378288 -5.879929,1.069079 -4.368124,4.618829 -2.360245,18.925011 -2.360245,18.925011 0,0 -2.406213,2.614718 -1.982885,4.060169 0.59027,2.01547 3.806676,4.399895 4.250742,2.696156 0.444066,-1.703739 1.28661,-13.276693 1.984375,-20.127234 z"
id="path847"
inkscape:connector-curvature="0"
sodipodi:nodetypes="scscszs" />
<path
style="fill:#0276b1;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 27.061041,29.256257 c 0,0 2.289171,4.408208 2.043123,9.165021 -0.246048,4.756813 2.173364,14.126862 2.173364,14.126862 0,0 2.178654,-16.525137 -1.476976,-21.955536 -0.567383,-0.842841 -2.739511,-1.336347 -2.739511,-1.336347 z"
id="path849"
inkscape:connector-curvature="0"
sodipodi:nodetypes="czcsc" />
<path
style="fill:#0276b1;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 26.44683,29.067269 c 1.452313,2.918211 2.197082,6.224576 2.137617,9.354009 -0.07867,4.140228 1.79539,12.425968 1.79539,12.425968 0.739806,0.173775 1.322916,-11.953493 1.322916,-11.953493 l -1.792544,-7.594071 c 0,0 -4.132854,-3.577626 -3.463379,-2.232413 z"
id="path853"
inkscape:connector-curvature="0"
sodipodi:nodetypes="sssccs" />
<path
style="fill:#0276b1;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 15.875,51.177978 c -0.52762,2.533268 4.329962,9.158233 8.315476,10.3471 3.985514,1.188867 7.056167,-3.458882 7.606771,-6.898066 0.550604,-3.439184 0.377976,22.678568 0.377976,22.678568 0,0 2.67882,4.233216 0.566965,5.76414 -2.111855,1.530924 -7.638158,-0.210531 -9.024185,-3.968752 -1.386027,-3.758221 0.472473,-16.819938 0.472473,-16.819938 l -8.268229,18.1901 c 0,0 2.807966,4.177084 0.330729,5.764141 -2.477237,1.587057 -11.6490399,-3.641913 -10.488839,-5.57515 2.8840394,-4.80566 7.654018,-18.520832 7.654018,-18.520832 0,0 2.984465,-13.494579 2.456845,-10.961311 z"
id="path857"
inkscape:connector-curvature="0"
sodipodi:nodetypes="zzzczzcczscz" />
</g>
<g
inkscape:groupmode="layer"
id="layer2"
inkscape:label="Re-ink"
sodipodi:insensitive="true">
<path
style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:1.16375136;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 32.458705,4.4669738 1.322916,-2.9794087 2.409598,4.4309156"
id="path868"
inkscape:connector-curvature="0"
sodipodi:nodetypes="ccc" />
<path
style="opacity:1;fill:none;fill-opacity:1;stroke:#000000;stroke-width:1.20000005;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 34.726562,20.939881 c 1.424506,0.409095 2.905615,0.519717 4.441219,0.519717 -0.631435,0.891699 -1.802841,1.33673 -2.83482,1.795387 0.679627,2.000634 1.918617,4.085351 2.55134,6.236607 -0.196308,-1.69902 -1.726382,-2.566552 -2.976563,-3.449033 -1.289202,1.845105 -2.41318,3.349976 -4.44122,4.110491 -0.02396,-1.807178 -0.561611,-3.490926 -2.102492,-4.464844 -1.266898,0.154353 -2.347681,0.239471 -2.62221,1.063059 -0.342642,1.027925 -0.123795,3.337174 2.207894,3.621326 1.911015,0.232886 3.434163,11.019747 2.186079,19.813197 1.05918,9.510183 1.737464,16.423655 1.039434,27.119792 5.989074,7.622458 -5.466143,9.257205 -8.45722,1.795387 0,-4.946535 0.06144,-10.808709 0.04725,-15.733259 -3.051778,4.577668 -6.271659,11.541849 -7.843006,17.103422 6.066786,9.10018 -9.2744956,5.510391 -10.1581101,0.188989 5.0893641,-6.263833 6.5238811,-16.184506 8.9769341,-23.718005 -4.8571037,0.285712 -5.3976359,-3.203428 -2.267857,-6.756325 0,-5.167441 -0.342243,-10.519106 0.47247,-15.449777 0.254528,-4.326971 4.655246,-4.603503 7.181548,-4.677456 2.922238,-0.08554 0.344395,-5.168508 -2.315104,-4.346726 -1.654478,0.194645 -1.540993,1.586537 -1.417411,3.02381 -1.143466,-0.967549 -1.993973,-1.935805 -2.315104,-3.449033 -0.922523,0.41001 -1.163668,0.859591 -1.464658,1.937128 -0.205894,-1.750106 0.388371,-3.429513 1.228423,-4.960938 -0.815374,-0.582409 -1.342158,-1.351465 -2.078869,-2.078869 1.223677,0.71981 2.536848,1.181155 3.96875,1.181176"
id="path831"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccsscccccccccsccccccc" />
<path
style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:1.20000005;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 12.756696,20.042186 C 18.41644,16.062161 25.705221,12.477728 32.978422,13.285862 32.369584,9.9866232 33.699225,7.6646882 36.19122,6.1988086 29.207102,0.4402425 18.893464,6.8361949 13.370907,11.25424 c -0.378768,2.73809 -0.978309,7.149508 -0.614211,8.787946 z"
id="path833"
inkscape:connector-curvature="0" />
<path
style="fill:#ff99cc;fill-opacity:1;stroke:none;stroke-width:0.26458332px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
d="m 25.088169,19.569717 c 1.190156,-0.763595 2.367736,-0.865038 3.449032,0 -0.218392,0.862046 -0.809812,1.244368 -1.464656,1.653646 -0.887893,-0.606787 -1.473948,-1.058147 -1.984376,-1.653646 z"
id="path852"
inkscape:connector-curvature="0" />
<path
style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 16.394717,36.578645 C 14.7459,42.453258 16.671971,54.08376 14.741071,56.942114"
id="path856"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
style="fill:none;stroke:#000000;stroke-width:1;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 29.104165,38.421279 c -0.128659,3.930449 0.525574,10.419337 2.173363,14.126861"
id="path858"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cc" />
<path
style="fill:#954b02;fill-opacity:1;stroke:#000000;stroke-width:1.20000005;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="m 36.191221,6.1988083 c 1.475475,0.093714 2.749367,-0.7672527 3.685267,-1.937128 -0.984779,1.0141105 -1.765835,2.2334628 -2.504093,3.3072918 2.133612,1.7021153 3.912086,3.8270629 5.24442,6.0476189 -0.586645,-1.102272 -1.544523,-1.49074 -2.456845,-1.889881 1.783386,2.334899 2.199066,5.602939 2.785607,8.389009 C 42.57481,18.1 41.656138,15.640345 39.970982,14.797767 c 1.672285,4.035542 -5.032759,5.990928 -5.24442,6.142114 0.232289,-2.788186 -0.103225,-5.882573 -1.74814,-7.654019 -0.337072,-3.356912 1.47948,-6.5602442 3.212799,-7.0870537 z"
id="path860"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccccccccc" />
<path
style="fill:none;fill-opacity:1;stroke:#000000;stroke-width:1.20000005;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 13.370906,11.25424 12.42597,1.6630936 19.749259,6.6712795 Z"
id="path866"
inkscape:connector-curvature="0"
sodipodi:nodetypes="cccc" />
<path
style="fill:#6699cc;fill-opacity:1;stroke:#000000;stroke-width:0.80000001;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1"
d="M 23.765253,4.4979163 23.623512,2.4662944 26.836309,2.4190474 V 3.836458 Z"
id="path870"
inkscape:connector-curvature="0" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 14 KiB

View file

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="StreamTexture"
path="res://.import/character_base.svg-5ea6954c66ca6e666096a6a63d2174dc.stex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://sprites/character_base.svg"
dest_files=[ "res://.import/character_base.svg-5ea6954c66ca6e666096a6a63d2174dc.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