diff --git a/project/scn/Clothes.tscn b/project/scn/Clothes.tscn index 6f3494d..2f0371a 100644 --- a/project/scn/Clothes.tscn +++ b/project/scn/Clothes.tscn @@ -10,8 +10,8 @@ [ext_resource path="res://sprites/beat_up_jeans.png" type="Texture" id=8] [ext_resource path="res://sprites/old_sweatshirt.png" type="Texture" id=9] [ext_resource path="res://sprites/dj_shirt.png" type="Texture" id=10] -[ext_resource path="res://sprites/raw_shirt.png" type="Texture" id=11] -[ext_resource path="res://sprites/atomic_shirt.png" type="Texture" id=12] +[ext_resource path="res://sprites/raw_shirt.svg" type="Texture" id=11] +[ext_resource path="res://sprites/atomic_shirt.svg" type="Texture" id=12] [ext_resource path="res://sprites/z_shirt.png" type="Texture" id=13] [ext_resource path="res://sprites/biker_jacket.png" type="Texture" id=14] [ext_resource path="res://sprites/nl_jacket.png" type="Texture" id=15] @@ -49,7 +49,6 @@ position = Vector2( 485.001, 160 ) texture = ExtResource( 3 ) [node name="RefRect" type="ReferenceRect" parent="."] -editor/display_folded = true anchor_right = 1.0 anchor_bottom = 1.0 margin_left = 209.0 @@ -73,6 +72,7 @@ custom_colors/font_color_fg = Color( 0.980392, 0.992157, 0.768627, 1 ) tab_align = 0 [node name="Pants" type="Tabs" parent="RefRect/Wordrobe"] +visible = false anchor_right = 1.0 anchor_bottom = 1.0 margin_top = 29.0 @@ -127,7 +127,6 @@ text = "KRBT" flat = true [node name="Shirts" type="Tabs" parent="RefRect/Wordrobe"] -visible = false anchor_right = 1.0 anchor_bottom = 1.0 margin_top = 29.0 @@ -136,7 +135,7 @@ margin_top = 29.0 margin_left = 33.0 margin_top = 14.0 margin_right = 474.0 -margin_bottom = 457.0 +margin_bottom = 364.0 columns = 5 [node name="Sweatshirt" type="TextureButton" parent="RefRect/Wordrobe/Shirts/ShirtsGrid"] @@ -318,7 +317,6 @@ texture = ExtResource( 25 ) __meta__ = { "_edit_lock_": true } - [connection signal="pressed" from="RefRect/Wordrobe/Pants/PantsGrid/Jeans" to="." method="_on_Jeans_pressed"] [connection signal="pressed" from="RefRect/Wordrobe/Pants/PantsGrid/DJ Shorts" to="." method="_on_DJ_Shorts_pressed"] [connection signal="pressed" from="RefRect/Wordrobe/Pants/PantsGrid/Sweats" to="." method="_on_Sweats_pressed"] diff --git a/project/sprites/atomic_shirt.svg b/project/sprites/atomic_shirt.svg new file mode 100644 index 0000000..1c218f6 --- /dev/null +++ b/project/sprites/atomic_shirt.svg @@ -0,0 +1,121 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + diff --git a/project/sprites/atomic_shirt.svg.import b/project/sprites/atomic_shirt.svg.import new file mode 100644 index 0000000..d983676 --- /dev/null +++ b/project/sprites/atomic_shirt.svg.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/atomic_shirt.svg-b3ba00542391d52e77d38154f516ba81.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://sprites/atomic_shirt.svg" +dest_files=[ "res://.import/atomic_shirt.svg-b3ba00542391d52e77d38154f516ba81.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/project/sprites/raw_shirt.svg b/project/sprites/raw_shirt.svg new file mode 100644 index 0000000..cd038f9 --- /dev/null +++ b/project/sprites/raw_shirt.svg @@ -0,0 +1,109 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + diff --git a/project/sprites/raw_shirt.svg.import b/project/sprites/raw_shirt.svg.import new file mode 100644 index 0000000..c3f4a89 --- /dev/null +++ b/project/sprites/raw_shirt.svg.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/raw_shirt.svg-1202cc08aee5b0934f83fe7787bf5d7c.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://sprites/raw_shirt.svg" +dest_files=[ "res://.import/raw_shirt.svg-1202cc08aee5b0934f83fe7787bf5d7c.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/project/src/Clothes.gd b/project/src/Clothes.gd index ebfef4d..4601fe7 100644 --- a/project/src/Clothes.gd +++ b/project/src/Clothes.gd @@ -76,10 +76,10 @@ func _on_DJ_Shirt_pressed(): change_tops(load("res://sprites/dj_shirt.png")) func _on_Raw_pressed(): - change_tops(load("res://sprites/raw_shirt.png")) + change_tops(load("res://sprites/raw_shirt.svg")) func _on_Atomic_pressed(): - change_tops(load("res://sprites/atomic_shirt.png")) + change_tops(load("res://sprites/atomic_shirt.svg")) func _on_Korm_Shirt_pressed(): change_tops(load("res://sprites/korm_shirt.png"))