From 37adce3bb4e009d5065da1062fa5bd164f9f45b1 Mon Sep 17 00:00:00 2001 From: bleeptrack Date: Tue, 27 Oct 2020 13:11:15 +0100 Subject: [PATCH] HEAD is now a monster --- nodes/head.svg | 72 +++++++++++++++++++++++++++++++++++++++++++ nodes/head.svg.import | 34 ++++++++++++++++++++ scenes/node.gd | 4 +-- 3 files changed, 108 insertions(+), 2 deletions(-) create mode 100644 nodes/head.svg create mode 100644 nodes/head.svg.import diff --git a/nodes/head.svg b/nodes/head.svg new file mode 100644 index 0000000..a01d251 --- /dev/null +++ b/nodes/head.svg @@ -0,0 +1,72 @@ + + + + + + + + image/svg+xml + + + + + + + + + + + + diff --git a/nodes/head.svg.import b/nodes/head.svg.import new file mode 100644 index 0000000..f011619 --- /dev/null +++ b/nodes/head.svg.import @@ -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 diff --git a/scenes/node.gd b/scenes/node.gd index 6254647..2ec378e 100644 --- a/scenes/node.gd +++ b/scenes/node.gd @@ -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()