From 01d8fe3d3e047071bb8902a5207b091a0382cebc Mon Sep 17 00:00:00 2001 From: bleeptrack Date: Tue, 2 Feb 2021 16:31:15 +0100 Subject: [PATCH] quick change of monster --- nodes/head1.svg | 10 +++++----- nodes/head1.svg.import | 34 ++++++++++++++++++++++++++++++++++ nodes/head2.svg | 12 ++++++------ nodes/head2.svg.import | 34 ++++++++++++++++++++++++++++++++++ nodes/head3.svg | 10 +++++----- nodes/head3.svg.import | 34 ++++++++++++++++++++++++++++++++++ scenes/node.gd | 2 +- 7 files changed, 119 insertions(+), 17 deletions(-) create mode 100644 nodes/head1.svg.import create mode 100644 nodes/head2.svg.import create mode 100644 nodes/head3.svg.import diff --git a/nodes/head1.svg b/nodes/head1.svg index e74dad6..855815b 100644 --- a/nodes/head1.svg +++ b/nodes/head1.svg @@ -22,7 +22,7 @@ image/svg+xml - + @@ -68,19 +68,19 @@ transform="translate(226.95067,-1.9536259)"> + style="fill:#d15a5a;fill-opacity:1"> diff --git a/nodes/head1.svg.import b/nodes/head1.svg.import new file mode 100644 index 0000000..0888d00 --- /dev/null +++ b/nodes/head1.svg.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/head1.svg-cb13de7d91f834684f5d15e9625a65b4.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://nodes/head1.svg" +dest_files=[ "res://.import/head1.svg-cb13de7d91f834684f5d15e9625a65b4.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 diff --git a/nodes/head2.svg b/nodes/head2.svg index 3c3594e..f5cd7a4 100644 --- a/nodes/head2.svg +++ b/nodes/head2.svg @@ -22,7 +22,7 @@ image/svg+xml - + @@ -68,21 +68,21 @@ transform="translate(96.936455,-8.6413056)"> + style="fill:#ff9148;fill-opacity:1"> + style="fill:#ff9148;fill-opacity:1"> diff --git a/nodes/head2.svg.import b/nodes/head2.svg.import new file mode 100644 index 0000000..92a04d2 --- /dev/null +++ b/nodes/head2.svg.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/head2.svg-e772342989ef4f76b9420a365c0e5f01.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://nodes/head2.svg" +dest_files=[ "res://.import/head2.svg-e772342989ef4f76b9420a365c0e5f01.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 diff --git a/nodes/head3.svg b/nodes/head3.svg index 1f6db74..50eddaf 100644 --- a/nodes/head3.svg +++ b/nodes/head3.svg @@ -22,7 +22,7 @@ image/svg+xml - + @@ -68,19 +68,19 @@ transform="translate(-33.126046,-7.6120497)"> + style="fill:#00f3c5;fill-opacity:1"> diff --git a/nodes/head3.svg.import b/nodes/head3.svg.import new file mode 100644 index 0000000..7ba33f4 --- /dev/null +++ b/nodes/head3.svg.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/head3.svg-caa888292307a12254c45d043d73a543.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://nodes/head3.svg" +dest_files=[ "res://.import/head3.svg-caa888292307a12254c45d043d73a543.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 diff --git a/scenes/node.gd b/scenes/node.gd index 6d0801c..f19e66a 100644 --- a/scenes/node.gd +++ b/scenes/node.gd @@ -87,7 +87,7 @@ func type_set(new_type): $Sprite.texture = preload("res://nodes/ref.svg") id_always_visible = true "head": - $Sprite.texture = preload("res://nodes/head.svg") + $Sprite.texture = preload("res://nodes/head3.svg") id_always_visible = false z_index = 0 if id_always_visible: