diff --git a/assets/.gitkeep b/assets/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/project/project.godot b/project/project.godot index a6f5c3f..734b015 100644 --- a/project/project.godot +++ b/project/project.godot @@ -28,6 +28,14 @@ name_sv="Nathans klä upp" GameKit="*res://src/GameKit.gd" WinDialogs="*res://scn/WinDialogs.tscn" +[debug] + +gdscript/completion/autocomplete_setters_and_getters=true +gdscript/warnings/unsafe_property_access=true +gdscript/warnings/unsafe_method_access=true +gdscript/warnings/unsafe_cast=true +gdscript/warnings/unsafe_call_argument=true + [display] window/size/width=800 diff --git a/project/scn/Character.tscn b/project/scn/Character.tscn index 742dade..ffaa1f6 100644 --- a/project/scn/Character.tscn +++ b/project/scn/Character.tscn @@ -52,7 +52,7 @@ animations = [ { [node name="Tail" type="AnimatedSprite" parent="."] position = Vector2( 49.6951, 374.417 ) frames = SubResource( 1 ) -frame = 6 +frame = 8 playing = true __meta__ = { "_edit_lock_": true @@ -68,7 +68,7 @@ __meta__ = { [node name="Eyes" type="AnimatedSprite" parent="."] position = Vector2( 109.519, 253.9 ) frames = SubResource( 2 ) -frame = 18 +frame = 16 playing = true __meta__ = { "_edit_lock_": true @@ -77,7 +77,7 @@ __meta__ = { [node name="Mouth" type="AnimatedSprite" parent="."] position = Vector2( 126.316, 257.474 ) frames = SubResource( 3 ) -frame = 6 +frame = 10 playing = true __meta__ = { "_edit_lock_": true diff --git a/project/scn/ClassicClothes.tscn b/project/scn/ClassicClothes.tscn index a6d4671..08e76b9 100644 --- a/project/scn/ClassicClothes.tscn +++ b/project/scn/ClassicClothes.tscn @@ -4,10 +4,10 @@ [ext_resource path="res://src/ItemDrag.gd" type="Script" id=2] [ext_resource path="res://sprites/classic/z_briefs_classic.png" type="Texture" id=3] [ext_resource path="res://sprites/classic/fundosi_classic.png" type="Texture" id=4] -[ext_resource path="res://sprites/jeans.png" type="Texture" id=5] +[ext_resource path="res://sprites/jeans.svg" type="Texture" id=5] [ext_resource path="res://sprites/dj_shorts.png" type="Texture" id=6] -[ext_resource path="res://sprites/sweat_pants.png" type="Texture" id=7] -[ext_resource path="res://sprites/blue_camo_jeans.png" type="Texture" id=8] +[ext_resource path="res://sprites/sweat_pants.svg" type="Texture" id=7] +[ext_resource path="res://sprites/blue_camo_jeans.svg" type="Texture" id=8] [ext_resource path="res://sprites/beat_up_jeans.png" type="Texture" id=9] [ext_resource path="res://sprites/old_sweatshirt.png" type="Texture" id=10] [ext_resource path="res://sprites/dj_shirt.png" type="Texture" id=11] @@ -20,592 +20,200 @@ [ext_resource path="res://sprites/classic/camera_classic.png" type="Texture" id=18] [ext_resource path="res://sprites/classic/owo_censor_classic.png" type="Texture" id=19] - [node name="Clothes" type="Control"] -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 - -[node name="Wordrobe" type="ReferenceRect" parent="." index="0"] - -editor/display_folded = true -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Wordrobe" type="ReferenceRect" parent="."] margin_left = 193.0 margin_top = 17.0 margin_right = 775.0 margin_bottom = 527.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 __meta__ = { "_edit_lock_": true } -[node name="Underwear" type="Control" parent="Wordrobe" index="0"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Underwear" type="Control" parent="Wordrobe"] margin_left = -197.0 margin_top = -8.0 margin_right = -197.0 margin_bottom = -8.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -[node name="Briefs" type="TextureButton" parent="Wordrobe/Underwear" index="0"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Briefs" type="TextureButton" parent="Wordrobe/Underwear"] margin_left = 68.0 margin_top = 391.0 margin_right = 136.0 margin_bottom = 425.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null texture_normal = ExtResource( 1 ) script = ExtResource( 2 ) -[node name="ZBriefs" type="TextureButton" parent="Wordrobe/Underwear" index="1"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="ZBriefs" type="TextureButton" parent="Wordrobe/Underwear"] margin_left = 375.0 margin_top = 454.0 margin_right = 443.0 margin_bottom = 488.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null texture_normal = ExtResource( 3 ) script = ExtResource( 2 ) -_sections_unfolded = [ "Textures" ] -[node name="Fundosi" type="TextureButton" parent="Wordrobe/Underwear" index="2"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Fundosi" type="TextureButton" parent="Wordrobe/Underwear"] margin_left = 512.0 margin_top = 453.0 margin_right = 580.0 margin_bottom = 493.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null texture_normal = ExtResource( 4 ) script = ExtResource( 2 ) -_sections_unfolded = [ "Textures" ] -[node name="Bottoms" type="Control" parent="Wordrobe" index="1"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Bottoms" type="Control" parent="Wordrobe"] margin_left = -197.0 margin_top = -8.0 margin_right = -197.0 margin_bottom = -8.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -[node name="Jeans" type="TextureButton" parent="Wordrobe/Bottoms" index="0"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Jeans" type="TextureButton" parent="Wordrobe/Bottoms"] margin_left = 614.0 margin_top = 292.0 margin_right = 720.0 margin_bottom = 404.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null texture_normal = ExtResource( 5 ) script = ExtResource( 2 ) -_sections_unfolded = [ "Textures" ] -[node name="DJ Shorts" type="TextureButton" parent="Wordrobe/Bottoms" index="1"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="DJ Shorts" type="TextureButton" parent="Wordrobe/Bottoms"] margin_left = 628.0 margin_top = 415.0 margin_right = 734.0 margin_bottom = 527.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null texture_normal = ExtResource( 6 ) script = ExtResource( 2 ) -_sections_unfolded = [ "Anchor", "Textures" ] -[node name="Sweats" type="TextureButton" parent="Wordrobe/Bottoms" index="2"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Sweats" type="TextureButton" parent="Wordrobe/Bottoms"] margin_left = 484.0 margin_top = 318.0 margin_right = 590.0 margin_bottom = 430.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null texture_normal = ExtResource( 7 ) script = ExtResource( 2 ) -_sections_unfolded = [ "Textures" ] -[node name="Blue Camo Jeans" type="TextureButton" parent="Wordrobe/Bottoms" index="3"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Blue Camo Jeans" type="TextureButton" parent="Wordrobe/Bottoms"] margin_left = 234.0 margin_top = 400.0 margin_right = 340.0 margin_bottom = 512.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null texture_normal = ExtResource( 8 ) script = ExtResource( 2 ) -_sections_unfolded = [ "Textures" ] -[node name="Beat Up Jeans" type="TextureButton" parent="Wordrobe/Bottoms" index="4"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Beat Up Jeans" type="TextureButton" parent="Wordrobe/Bottoms"] margin_left = 366.0 margin_top = 316.0 margin_right = 472.0 margin_bottom = 428.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null texture_normal = ExtResource( 9 ) script = ExtResource( 2 ) -_sections_unfolded = [ "Textures" ] -[node name="Tops" type="Control" parent="Wordrobe" index="2"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Tops" type="Control" parent="Wordrobe"] margin_left = -197.0 margin_top = -8.0 margin_right = -197.0 margin_bottom = -8.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -[node name="Sweatshirt" type="TextureButton" parent="Wordrobe/Tops" index="0"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Sweatshirt" type="TextureButton" parent="Wordrobe/Tops"] margin_left = 643.0 margin_top = 34.0 margin_right = 728.0 margin_bottom = 144.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null texture_normal = ExtResource( 10 ) script = ExtResource( 2 ) -_sections_unfolded = [ "Textures" ] -[node name="DJ Shirt" type="TextureButton" parent="Wordrobe/Tops" index="1"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="DJ Shirt" type="TextureButton" parent="Wordrobe/Tops"] margin_left = 644.0 margin_top = 156.0 margin_right = 729.0 margin_bottom = 271.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null texture_normal = ExtResource( 11 ) script = ExtResource( 2 ) -_sections_unfolded = [ "Textures" ] -[node name="Raw" type="TextureButton" parent="Wordrobe/Tops" index="2"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Raw" type="TextureButton" parent="Wordrobe/Tops"] margin_left = 247.0 margin_top = 25.0 margin_right = 332.0 margin_bottom = 138.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null texture_normal = ExtResource( 12 ) script = ExtResource( 2 ) -_sections_unfolded = [ "Textures" ] -[node name="Atomic Shirt" type="TextureButton" parent="Wordrobe/Tops" index="3"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Atomic Shirt" type="TextureButton" parent="Wordrobe/Tops"] margin_left = 518.0 margin_top = 33.0 margin_right = 603.0 margin_bottom = 148.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null texture_normal = ExtResource( 13 ) script = ExtResource( 2 ) -_sections_unfolded = [ "Textures" ] -[node name="Z Shirt" type="TextureButton" parent="Wordrobe/Tops" index="4"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Z Shirt" type="TextureButton" parent="Wordrobe/Tops"] margin_left = 385.0 margin_top = 178.0 margin_right = 466.0 margin_bottom = 293.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null texture_normal = ExtResource( 14 ) script = ExtResource( 2 ) -_sections_unfolded = [ "Textures" ] -[node name="Biker Jacket" type="TextureButton" parent="Wordrobe/Tops" index="5"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Biker Jacket" type="TextureButton" parent="Wordrobe/Tops"] margin_left = 253.0 margin_top = 275.0 margin_right = 338.0 margin_bottom = 390.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null texture_normal = ExtResource( 15 ) script = ExtResource( 2 ) -_sections_unfolded = [ "Textures" ] -[node name="What's New" type="TextureButton" parent="Wordrobe/Tops" index="6"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="What's New" type="TextureButton" parent="Wordrobe/Tops"] margin_left = 249.0 margin_top = 150.0 margin_right = 334.0 margin_bottom = 265.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null texture_normal = ExtResource( 16 ) script = ExtResource( 2 ) -_sections_unfolded = [ "Textures" ] -[node name="Train Shirt" type="TextureButton" parent="Wordrobe/Tops" index="7"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Train Shirt" type="TextureButton" parent="Wordrobe/Tops"] margin_left = 512.0 margin_top = 176.0 margin_right = 597.0 margin_bottom = 291.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null texture_normal = ExtResource( 17 ) script = ExtResource( 2 ) -_sections_unfolded = [ "Textures" ] -[node name="Accessories" type="Control" parent="Wordrobe" index="3"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Accessories" type="Control" parent="Wordrobe"] margin_left = -197.0 margin_top = -8.0 margin_right = -197.0 margin_bottom = -8.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -[node name="Camera" type="TextureButton" parent="Wordrobe/Accessories" index="0"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Camera" type="TextureButton" parent="Wordrobe/Accessories"] margin_left = 398.0 margin_top = 94.0 margin_right = 447.0 margin_bottom = 156.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null texture_normal = ExtResource( 18 ) script = ExtResource( 2 ) -_sections_unfolded = [ "Textures" ] -[node name="OwO Censor" type="TextureButton" parent="Wordrobe/Accessories" index="1"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_left = 371.0 -margin_top = 37.0 -margin_right = 476.0 -margin_bottom = 77.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null +[node name="OwO Censor" type="TextureButton" parent="Wordrobe/Accessories"] +margin_left = 369.0 +margin_top = 16.0 +margin_right = 475.0 +margin_bottom = 56.0 texture_normal = ExtResource( 19 ) script = ExtResource( 2 ) -_sections_unfolded = [ "Textures" ] [connection signal="gui_input" from="Wordrobe/Underwear/Briefs" to="Wordrobe/Underwear/Briefs" method="_on_outfit_gui_input"] - [connection signal="gui_input" from="Wordrobe/Underwear/ZBriefs" to="Wordrobe/Underwear/ZBriefs" method="_on_outfit_gui_input"] - [connection signal="gui_input" from="Wordrobe/Underwear/Fundosi" to="Wordrobe/Underwear/Fundosi" method="_on_outfit_gui_input"] - [connection signal="gui_input" from="Wordrobe/Bottoms/Jeans" to="Wordrobe/Bottoms/Jeans" method="_on_outfit_gui_input"] - [connection signal="gui_input" from="Wordrobe/Bottoms/DJ Shorts" to="Wordrobe/Bottoms/DJ Shorts" method="_on_outfit_gui_input"] - [connection signal="gui_input" from="Wordrobe/Bottoms/Sweats" to="Wordrobe/Bottoms/Sweats" method="_on_outfit_gui_input"] - [connection signal="gui_input" from="Wordrobe/Bottoms/Blue Camo Jeans" to="Wordrobe/Bottoms/Blue Camo Jeans" method="_on_outfit_gui_input"] - [connection signal="gui_input" from="Wordrobe/Bottoms/Beat Up Jeans" to="Wordrobe/Bottoms/Beat Up Jeans" method="_on_outfit_gui_input"] - [connection signal="gui_input" from="Wordrobe/Tops/Sweatshirt" to="Wordrobe/Tops/Sweatshirt" method="_on_outfit_gui_input"] - [connection signal="gui_input" from="Wordrobe/Tops/DJ Shirt" to="Wordrobe/Tops/DJ Shirt" method="_on_outfit_gui_input"] - [connection signal="gui_input" from="Wordrobe/Tops/Raw" to="Wordrobe/Tops/Raw" method="_on_outfit_gui_input"] - [connection signal="gui_input" from="Wordrobe/Tops/Atomic Shirt" to="Wordrobe/Tops/Atomic Shirt" method="_on_outfit_gui_input"] - [connection signal="gui_input" from="Wordrobe/Tops/Z Shirt" to="Wordrobe/Tops/Z Shirt" method="_on_outfit_gui_input"] - [connection signal="gui_input" from="Wordrobe/Tops/Biker Jacket" to="Wordrobe/Tops/Biker Jacket" method="_on_outfit_gui_input"] - [connection signal="gui_input" from="Wordrobe/Tops/What's New" to="Wordrobe/Tops/What's New" method="_on_outfit_gui_input"] - [connection signal="gui_input" from="Wordrobe/Tops/Train Shirt" to="Wordrobe/Tops/Train Shirt" method="_on_outfit_gui_input"] - [connection signal="gui_input" from="Wordrobe/Accessories/Camera" to="Wordrobe/Accessories/Camera" method="_on_outfit_gui_input"] - [connection signal="gui_input" from="Wordrobe/Accessories/OwO Censor" to="Wordrobe/Accessories/OwO Censor" method="_on_outfit_gui_input"] - - diff --git a/project/scn/Clothes.tscn b/project/scn/Clothes.tscn index a614c9f..6f3494d 100644 --- a/project/scn/Clothes.tscn +++ b/project/scn/Clothes.tscn @@ -1,905 +1,344 @@ -[gd_scene load_steps=30 format=2] +[gd_scene load_steps=29 format=2] [ext_resource path="res://src/Clothes.gd" type="Script" id=1] [ext_resource path="res://sprites/dressup_wardrobe.png" type="Texture" id=2] [ext_resource path="res://sprites/lights.png" type="Texture" id=3] -[ext_resource path="res://sprites/DressUp.theme" type="Theme" id=4] -[ext_resource path="res://sprites/jeans.png" type="Texture" id=5] -[ext_resource path="res://sprites/dj_shorts.png" type="Texture" id=6] -[ext_resource path="res://sprites/sweat_pants.png" type="Texture" id=7] -[ext_resource path="res://sprites/blue_camo_jeans.png" type="Texture" id=8] -[ext_resource path="res://sprites/beat_up_jeans.png" type="Texture" id=9] -[ext_resource path="res://sprites/old_sweatshirt.png" type="Texture" id=10] -[ext_resource path="res://sprites/dj_shirt.png" type="Texture" id=11] -[ext_resource path="res://sprites/raw_shirt.png" type="Texture" id=12] -[ext_resource path="res://sprites/atomic_shirt.png" type="Texture" id=13] -[ext_resource path="res://sprites/z_shirt.png" type="Texture" id=14] -[ext_resource path="res://sprites/biker_jacket.png" type="Texture" id=15] -[ext_resource path="res://sprites/nl_jacket.png" type="Texture" id=16] -[ext_resource path="res://sprites/train_hoodie.png" type="Texture" id=17] -[ext_resource path="res://sprites/korm_shirt.png" type="Texture" id=18] -[ext_resource path="res://sprites/whatsnew_shirt.png" type="Texture" id=19] -[ext_resource path="res://sprites/owo_censor.png" type="Texture" id=20] -[ext_resource path="res://sprites/briefs.png" type="Texture" id=21] -[ext_resource path="res://sprites/z_briefs.png" type="Texture" id=22] -[ext_resource path="res://sprites/fundosi.png" type="Texture" id=23] -[ext_resource path="res://sprites/camera.png" type="Texture" id=24] -[ext_resource path="res://sprites/bottoms_placeholder.png" type="Texture" id=25] -[ext_resource path="res://sprites/tops_placeholder.png" type="Texture" id=26] - +[ext_resource path="res://sprites/jeans.svg" type="Texture" id=4] +[ext_resource path="res://sprites/dj_shorts.png" type="Texture" id=5] +[ext_resource path="res://sprites/sweat_pants.svg" type="Texture" id=6] +[ext_resource path="res://sprites/blue_camo_jeans.svg" type="Texture" id=7] +[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/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] +[ext_resource path="res://sprites/train_hoodie.png" type="Texture" id=16] +[ext_resource path="res://sprites/korm_shirt.png" type="Texture" id=17] +[ext_resource path="res://sprites/whatsnew_shirt.png" type="Texture" id=18] +[ext_resource path="res://sprites/owo_censor.png" type="Texture" id=19] +[ext_resource path="res://sprites/briefs.png" type="Texture" id=20] +[ext_resource path="res://sprites/z_briefs.png" type="Texture" id=21] +[ext_resource path="res://sprites/fundosi.png" type="Texture" id=22] +[ext_resource path="res://sprites/camera.png" type="Texture" id=23] +[ext_resource path="res://sprites/bottoms_placeholder.png" type="Texture" id=24] +[ext_resource path="res://sprites/tops_placeholder.png" type="Texture" id=25] [sub_resource type="StyleBoxEmpty" id=1] -content_margin_left = -1.0 -content_margin_right = -1.0 -content_margin_top = -1.0 -content_margin_bottom = -1.0 - [sub_resource type="StyleBoxEmpty" id=2] - resource_local_to_scene = true content_margin_left = 5.0 content_margin_right = 5.0 content_margin_top = 5.0 content_margin_bottom = 10.0 -_sections_unfolded = [ "Content Margin", "Resource" ] [sub_resource type="StyleBoxEmpty" id=3] -content_margin_left = -1.0 -content_margin_right = -1.0 -content_margin_top = -1.0 -content_margin_bottom = -1.0 - [node name="Clothes" type="Node"] - script = ExtResource( 1 ) -[node name="Wordrobe BG" type="Sprite" parent="." index="0"] - +[node name="Wordrobe BG" type="Sprite" parent="."] position = Vector2( 492.609, 280.27 ) texture = ExtResource( 2 ) -[node name="Lights" type="Sprite" parent="." index="1"] - +[node name="Lights" type="Sprite" parent="."] position = Vector2( 485.001, 160 ) texture = ExtResource( 3 ) -[node name="RefRect" type="ReferenceRect" parent="." index="2"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="RefRect" type="ReferenceRect" parent="."] +editor/display_folded = true +anchor_right = 1.0 +anchor_bottom = 1.0 margin_left = 209.0 margin_top = 18.0 -margin_right = 808.0 -margin_bottom = 533.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -theme = ExtResource( 4 ) -_sections_unfolded = [ "Theme" ] +margin_right = 8.0 +margin_bottom = -21.0 +__meta__ = { +"_edit_lock_": true +} -[node name="Wordrobe" type="TabContainer" parent="RefRect" index="0"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Wordrobe" type="TabContainer" parent="RefRect"] margin_left = 28.0 margin_top = 13.0 margin_right = 585.0 margin_bottom = 513.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 custom_styles/tab_fg = SubResource( 1 ) custom_styles/tab_bg = SubResource( 2 ) custom_styles/panel = SubResource( 3 ) custom_colors/font_color_bg = Color( 1, 1, 1, 1 ) custom_colors/font_color_fg = Color( 0.980392, 0.992157, 0.768627, 1 ) tab_align = 0 -tabs_visible = true -_sections_unfolded = [ "custom_colors", "custom_styles" ] -[node name="Pants" type="Tabs" parent="RefRect/Wordrobe" index="0"] - -anchor_left = 0.0 -anchor_top = 0.0 +[node name="Pants" type="Tabs" parent="RefRect/Wordrobe"] anchor_right = 1.0 anchor_bottom = 1.0 margin_top = 29.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 custom_constants/hseparation = 0 -tab_align = 1 -scrolling_enabled = true -_sections_unfolded = [ "Margin", "Rect", "Theme", "custom_fonts", "custom_icons", "custom_styles" ] -[node name="PantsGrid" type="GridContainer" parent="RefRect/Wordrobe/Pants" index="0"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="PantsGrid" type="GridContainer" parent="RefRect/Wordrobe/Pants"] margin_left = -15.0 margin_top = 22.0 margin_right = 536.0 margin_bottom = 322.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 1 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 columns = 5 -_sections_unfolded = [ "Margin" ] -[node name="Jeans" type="TextureButton" parent="RefRect/Wordrobe/Pants/PantsGrid" index="0"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Jeans" type="TextureButton" parent="RefRect/Wordrobe/Pants/PantsGrid"] margin_right = 106.0 margin_bottom = 112.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null -texture_normal = ExtResource( 5 ) -_sections_unfolded = [ "Textures" ] +texture_normal = ExtResource( 4 ) -[node name="DJ Shorts" type="TextureButton" parent="RefRect/Wordrobe/Pants/PantsGrid" index="1"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="DJ Shorts" type="TextureButton" parent="RefRect/Wordrobe/Pants/PantsGrid"] margin_left = 110.0 margin_right = 216.0 margin_bottom = 112.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null -texture_normal = ExtResource( 6 ) -_sections_unfolded = [ "Anchor", "Textures" ] +texture_normal = ExtResource( 5 ) -[node name="Sweats" type="TextureButton" parent="RefRect/Wordrobe/Pants/PantsGrid" index="2"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Sweats" type="TextureButton" parent="RefRect/Wordrobe/Pants/PantsGrid"] margin_left = 220.0 -margin_right = 323.0 +margin_right = 326.0 +margin_bottom = 112.0 +texture_normal = ExtResource( 6 ) + +[node name="Blue Camo Jeans" type="TextureButton" parent="RefRect/Wordrobe/Pants/PantsGrid"] +margin_left = 330.0 +margin_right = 436.0 margin_bottom = 112.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null texture_normal = ExtResource( 7 ) -_sections_unfolded = [ "Textures" ] -[node name="Blue Camo Jeans" type="TextureButton" parent="RefRect/Wordrobe/Pants/PantsGrid" index="3"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_left = 327.0 -margin_right = 433.0 +[node name="Beat Up Jeans" type="TextureButton" parent="RefRect/Wordrobe/Pants/PantsGrid"] +margin_left = 440.0 +margin_right = 546.0 margin_bottom = 112.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null texture_normal = ExtResource( 8 ) -_sections_unfolded = [ "Textures" ] -[node name="Beat Up Jeans" type="TextureButton" parent="RefRect/Wordrobe/Pants/PantsGrid" index="4"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_left = 437.0 -margin_right = 543.0 -margin_bottom = 112.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null -texture_normal = ExtResource( 9 ) -_sections_unfolded = [ "Textures" ] - -[node name="Remove Pants" type="Button" parent="RefRect/Wordrobe/Pants/PantsGrid" index="5"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Remove Pants" type="Button" parent="RefRect/Wordrobe/Pants/PantsGrid"] margin_top = 116.0 margin_right = 106.0 margin_bottom = 228.0 rect_min_size = Vector2( 0, 112 ) -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 custom_colors/font_color_disabled = Color( 0, 0, 0, 1 ) custom_colors/font_color = Color( 0, 0, 0, 1 ) custom_colors/font_color_hover = Color( 0, 0, 0, 1 ) custom_colors/font_color_pressed = Color( 0, 0, 0, 1 ) -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null text = "KRBT" flat = true -align = 1 -_sections_unfolded = [ "Rect", "custom_colors" ] - -[node name="Shirts" type="Tabs" parent="RefRect/Wordrobe" index="1"] +[node name="Shirts" type="Tabs" parent="RefRect/Wordrobe"] visible = false -anchor_left = 0.0 -anchor_top = 0.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_top = 29.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -tab_align = 1 -scrolling_enabled = true -_sections_unfolded = [ "Margin" ] -[node name="ShirtsGrid" type="GridContainer" parent="RefRect/Wordrobe/Shirts" index="0"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="ShirtsGrid" type="GridContainer" parent="RefRect/Wordrobe/Shirts"] margin_left = 33.0 margin_top = 14.0 margin_right = 474.0 margin_bottom = 457.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 1 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 columns = 5 -_sections_unfolded = [ "Grow Direction", "Margin" ] -[node name="Sweatshirt" type="TextureButton" parent="RefRect/Wordrobe/Shirts/ShirtsGrid" index="0"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Sweatshirt" type="TextureButton" parent="RefRect/Wordrobe/Shirts/ShirtsGrid"] margin_right = 85.0 margin_bottom = 115.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null +texture_normal = ExtResource( 9 ) + +[node name="DJ Shirt" type="TextureButton" parent="RefRect/Wordrobe/Shirts/ShirtsGrid"] +margin_left = 89.0 +margin_right = 174.0 +margin_bottom = 115.0 texture_normal = ExtResource( 10 ) -_sections_unfolded = [ "Textures" ] -[node name="DJ Shirt" type="TextureButton" parent="RefRect/Wordrobe/Shirts/ShirtsGrid" index="1"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_left = 89.0 -margin_right = 174.0 -margin_bottom = 115.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null -texture_normal = ExtResource( 11 ) -_sections_unfolded = [ "Textures" ] - -[node name="Raw" type="TextureButton" parent="RefRect/Wordrobe/Shirts/ShirtsGrid" index="2"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Raw" type="TextureButton" parent="RefRect/Wordrobe/Shirts/ShirtsGrid"] margin_left = 178.0 margin_right = 263.0 margin_bottom = 115.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null -texture_normal = ExtResource( 12 ) -_sections_unfolded = [ "Textures" ] +texture_normal = ExtResource( 11 ) -[node name="Atomic" type="TextureButton" parent="RefRect/Wordrobe/Shirts/ShirtsGrid" index="3"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Atomic" type="TextureButton" parent="RefRect/Wordrobe/Shirts/ShirtsGrid"] margin_left = 267.0 margin_right = 352.0 margin_bottom = 115.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null -texture_normal = ExtResource( 13 ) -_sections_unfolded = [ "Textures" ] +texture_normal = ExtResource( 12 ) -[node name="Z Shirt" type="TextureButton" parent="RefRect/Wordrobe/Shirts/ShirtsGrid" index="4"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Z Shirt" type="TextureButton" parent="RefRect/Wordrobe/Shirts/ShirtsGrid"] margin_left = 356.0 margin_right = 441.0 margin_bottom = 115.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null -texture_normal = ExtResource( 14 ) -_sections_unfolded = [ "Textures" ] +texture_normal = ExtResource( 13 ) -[node name="Biker Jacket" type="TextureButton" parent="RefRect/Wordrobe/Shirts/ShirtsGrid" index="5"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Biker Jacket" type="TextureButton" parent="RefRect/Wordrobe/Shirts/ShirtsGrid"] margin_top = 119.0 margin_right = 85.0 margin_bottom = 234.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null -texture_normal = ExtResource( 15 ) -_sections_unfolded = [ "Textures" ] +texture_normal = ExtResource( 14 ) -[node name="NL Jacket" type="TextureButton" parent="RefRect/Wordrobe/Shirts/ShirtsGrid" index="6"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="NL Jacket" type="TextureButton" parent="RefRect/Wordrobe/Shirts/ShirtsGrid"] margin_left = 89.0 margin_top = 119.0 margin_right = 174.0 margin_bottom = 234.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null -texture_normal = ExtResource( 16 ) -_sections_unfolded = [ "Textures" ] +texture_normal = ExtResource( 15 ) -[node name="Train Hoodie" type="TextureButton" parent="RefRect/Wordrobe/Shirts/ShirtsGrid" index="7"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Train Hoodie" type="TextureButton" parent="RefRect/Wordrobe/Shirts/ShirtsGrid"] margin_left = 178.0 margin_top = 119.0 margin_right = 263.0 margin_bottom = 234.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null -texture_normal = ExtResource( 17 ) -_sections_unfolded = [ "Textures" ] +texture_normal = ExtResource( 16 ) -[node name="Korm Shirt" type="TextureButton" parent="RefRect/Wordrobe/Shirts/ShirtsGrid" index="8"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Korm Shirt" type="TextureButton" parent="RefRect/Wordrobe/Shirts/ShirtsGrid"] margin_left = 267.0 margin_top = 119.0 margin_right = 352.0 margin_bottom = 234.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null -texture_normal = ExtResource( 18 ) -_sections_unfolded = [ "Textures" ] +texture_normal = ExtResource( 17 ) -[node name="What's New Shirt" type="TextureButton" parent="RefRect/Wordrobe/Shirts/ShirtsGrid" index="9"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="What's New Shirt" type="TextureButton" parent="RefRect/Wordrobe/Shirts/ShirtsGrid"] margin_left = 356.0 margin_top = 119.0 margin_right = 441.0 margin_bottom = 234.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null -texture_normal = ExtResource( 19 ) -_sections_unfolded = [ "Rect", "Textures" ] +texture_normal = ExtResource( 18 ) -[node name="Remove Shirt" type="Button" parent="RefRect/Wordrobe/Shirts/ShirtsGrid" index="10"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Remove Shirt" type="Button" parent="RefRect/Wordrobe/Shirts/ShirtsGrid"] margin_top = 238.0 margin_right = 85.0 margin_bottom = 350.0 rect_min_size = Vector2( 0, 112 ) -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 custom_colors/font_color_disabled = Color( 0, 0, 0, 1 ) custom_colors/font_color = Color( 0, 0, 0, 1 ) custom_colors/font_color_hover = Color( 0, 0, 0, 1 ) custom_colors/font_color_pressed = Color( 0, 0, 0, 1 ) -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null text = "KRTP" flat = true -align = 1 -_sections_unfolded = [ "Rect", "custom_colors" ] - -[node name="Underwear" type="Tabs" parent="RefRect/Wordrobe" index="2"] +[node name="Underwear" type="Tabs" parent="RefRect/Wordrobe"] visible = false -anchor_left = 0.0 -anchor_top = 0.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_top = 29.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -tab_align = 1 -scrolling_enabled = true -_sections_unfolded = [ "Margin" ] -[node name="UndiesGrid" type="GridContainer" parent="RefRect/Wordrobe/Underwear" index="0"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="UndiesGrid" type="GridContainer" parent="RefRect/Wordrobe/Underwear"] margin_left = -20.0 margin_top = 10.0 margin_right = 532.0 margin_bottom = 122.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 1 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 columns = 5 -_sections_unfolded = [ "Margin" ] -[node name="OwO Censor" type="TextureButton" parent="RefRect/Wordrobe/Underwear/UndiesGrid" index="0"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="OwO Censor" type="TextureButton" parent="RefRect/Wordrobe/Underwear/UndiesGrid"] margin_right = 106.0 margin_bottom = 112.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null -texture_normal = ExtResource( 20 ) -_sections_unfolded = [ "Textures" ] +texture_normal = ExtResource( 19 ) -[node name="Briefs" type="TextureButton" parent="RefRect/Wordrobe/Underwear/UndiesGrid" index="1"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Briefs" type="TextureButton" parent="RefRect/Wordrobe/Underwear/UndiesGrid"] margin_left = 110.0 margin_right = 216.0 margin_bottom = 112.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null -texture_normal = ExtResource( 21 ) +texture_normal = ExtResource( 20 ) -[node name="ZBriefs" type="TextureButton" parent="RefRect/Wordrobe/Underwear/UndiesGrid" index="2"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="ZBriefs" type="TextureButton" parent="RefRect/Wordrobe/Underwear/UndiesGrid"] margin_left = 220.0 margin_right = 326.0 margin_bottom = 112.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null -texture_normal = ExtResource( 22 ) -_sections_unfolded = [ "Textures" ] +texture_normal = ExtResource( 21 ) -[node name="Fundosi" type="TextureButton" parent="RefRect/Wordrobe/Underwear/UndiesGrid" index="3"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Fundosi" type="TextureButton" parent="RefRect/Wordrobe/Underwear/UndiesGrid"] margin_left = 330.0 margin_right = 436.0 margin_bottom = 112.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null -texture_normal = ExtResource( 23 ) -_sections_unfolded = [ "Textures" ] - -[node name="Accessoires" type="Tabs" parent="RefRect/Wordrobe" index="3"] +texture_normal = ExtResource( 22 ) +[node name="Accessoires" type="Tabs" parent="RefRect/Wordrobe"] visible = false -anchor_left = 0.0 -anchor_top = 0.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_top = 29.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -tab_align = 1 -scrolling_enabled = true -[node name="AccessoiresGrid" type="GridContainer" parent="RefRect/Wordrobe/Accessoires" index="0"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="AccessoiresGrid" type="GridContainer" parent="RefRect/Wordrobe/Accessoires"] margin_left = -14.0 margin_top = 14.0 margin_right = 536.0 margin_bottom = 119.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 1 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 columns = 6 -[node name="Camera" type="TextureButton" parent="RefRect/Wordrobe/Accessoires/AccessoiresGrid" index="0"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Camera" type="TextureButton" parent="RefRect/Wordrobe/Accessoires/AccessoiresGrid"] margin_right = 85.0 margin_bottom = 105.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null -texture_normal = ExtResource( 24 ) -_sections_unfolded = [ "Rect", "Textures" ] +texture_normal = ExtResource( 23 ) -[node name="Remove Accessory" type="Button" parent="RefRect/Wordrobe/Accessoires/AccessoiresGrid" index="1"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Remove Accessory" type="Button" parent="RefRect/Wordrobe/Accessoires/AccessoiresGrid"] margin_left = 89.0 margin_right = 222.0 margin_bottom = 105.0 rect_min_size = Vector2( 85, 105 ) -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 custom_colors/font_color_disabled = Color( 0, 0, 0, 1 ) custom_colors/font_color = Color( 0, 0, 0, 1 ) custom_colors/font_color_hover = Color( 0, 0, 0, 1 ) custom_colors/font_color_pressed = Color( 0, 0, 0, 1 ) -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null text = "Remove Accessory" flat = true -align = 1 -_sections_unfolded = [ "custom_colors" ] -[node name="Body" type="ReferenceRect" parent="." index="3"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 +[node name="Body" type="ReferenceRect" parent="."] +anchor_right = 1.0 +anchor_bottom = 1.0 margin_left = 26.0 margin_top = 285.0 -margin_right = 144.0 -margin_bottom = 519.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 +margin_right = -656.0 +margin_bottom = -35.0 __meta__ = { "_edit_lock_": true } -[node name="Undies" type="Sprite" parent="Body" index="0"] - +[node name="Undies" type="Sprite" parent="Body"] position = Vector2( 57.9419, 159.296 ) -texture = ExtResource( 21 ) +texture = ExtResource( 20 ) __meta__ = { "_edit_lock_": true } -[node name="Bottom" type="Sprite" parent="Body" index="1"] - +[node name="Bottom" type="Sprite" parent="Body"] position = Vector2( 57.9419, 159.296 ) +texture = ExtResource( 24 ) +__meta__ = { +"_edit_lock_": true +} + +[node name="Top" type="Sprite" parent="Body"] +position = Vector2( 65.0597, 65.3242 ) texture = ExtResource( 25 ) __meta__ = { "_edit_lock_": true } -[node name="Top" type="Sprite" parent="Body" index="2"] - +[node name="Accessory" type="Sprite" parent="Body"] position = Vector2( 65.0597, 65.3242 ) -texture = ExtResource( 26 ) -__meta__ = { -"_edit_lock_": true -} - -[node name="Accessory" type="Sprite" parent="Body" index="3"] - -position = Vector2( 65.0597, 65.3242 ) -texture = ExtResource( 26 ) +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"] - [connection signal="pressed" from="RefRect/Wordrobe/Pants/PantsGrid/Blue Camo Jeans" to="." method="_on_Blue_Camo_Jeans_pressed"] - [connection signal="pressed" from="RefRect/Wordrobe/Pants/PantsGrid/Beat Up Jeans" to="." method="_on_Beat_Up_Jeans_pressed"] - [connection signal="pressed" from="RefRect/Wordrobe/Pants/PantsGrid/Remove Pants" to="." method="_on_Remove_Pants_pressed"] - [connection signal="pressed" from="RefRect/Wordrobe/Shirts/ShirtsGrid/Sweatshirt" to="." method="_on_Sweatshirt_pressed"] - [connection signal="pressed" from="RefRect/Wordrobe/Shirts/ShirtsGrid/DJ Shirt" to="." method="_on_DJ_Shirt_pressed"] - [connection signal="pressed" from="RefRect/Wordrobe/Shirts/ShirtsGrid/Raw" to="." method="_on_Raw_pressed"] - [connection signal="pressed" from="RefRect/Wordrobe/Shirts/ShirtsGrid/Atomic" to="." method="_on_Atomic_pressed"] - [connection signal="pressed" from="RefRect/Wordrobe/Shirts/ShirtsGrid/Z Shirt" to="." method="_on_Z_Shirt_pressed"] - [connection signal="pressed" from="RefRect/Wordrobe/Shirts/ShirtsGrid/Biker Jacket" to="." method="_on_Biker_Jacket_pressed"] - [connection signal="pressed" from="RefRect/Wordrobe/Shirts/ShirtsGrid/NL Jacket" to="." method="_on_NL_Jacket_pressed"] - [connection signal="pressed" from="RefRect/Wordrobe/Shirts/ShirtsGrid/Train Hoodie" to="." method="_on_Train_Hoodie_pressed"] - [connection signal="pressed" from="RefRect/Wordrobe/Shirts/ShirtsGrid/Korm Shirt" to="." method="_on_Korm_Shirt_pressed"] - [connection signal="pressed" from="RefRect/Wordrobe/Shirts/ShirtsGrid/What's New Shirt" to="." method="_on_Whats_New_Shirt_pressed"] - [connection signal="pressed" from="RefRect/Wordrobe/Shirts/ShirtsGrid/Remove Shirt" to="." method="_on_Remove_Shirt_pressed"] - [connection signal="pressed" from="RefRect/Wordrobe/Underwear/UndiesGrid/OwO Censor" to="." method="_on_OwO_Censor_pressed"] - [connection signal="pressed" from="RefRect/Wordrobe/Underwear/UndiesGrid/Briefs" to="." method="_on_Briefs_pressed"] - [connection signal="pressed" from="RefRect/Wordrobe/Underwear/UndiesGrid/ZBriefs" to="." method="_on_ZBriefs_pressed"] - [connection signal="pressed" from="RefRect/Wordrobe/Underwear/UndiesGrid/Fundosi" to="." method="_on_Fundosi_pressed"] - [connection signal="pressed" from="RefRect/Wordrobe/Accessoires/AccessoiresGrid/Camera" to="." method="_on_Camera_pressed"] - [connection signal="pressed" from="RefRect/Wordrobe/Accessoires/AccessoiresGrid/Remove Accessory" to="." method="_on_Remove_Accessory_pressed"] - - diff --git a/project/scn/ModernScn.tscn b/project/scn/ModernScn.tscn index 394becd..87dc944 100644 --- a/project/scn/ModernScn.tscn +++ b/project/scn/ModernScn.tscn @@ -7,7 +7,6 @@ [ext_resource path="res://scn/Clothes.tscn" type="PackedScene" id=5] [ext_resource path="res://scn/WinDialogs.tscn" type="PackedScene" id=6] - [node name="GameScreen" type="Node"] script = ExtResource( 1 ) diff --git a/project/sprites/blue_camo_jeans.svg b/project/sprites/blue_camo_jeans.svg new file mode 100644 index 0000000..b3fcdf3 --- /dev/null +++ b/project/sprites/blue_camo_jeans.svg @@ -0,0 +1,201 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/project/sprites/blue_camo_jeans.svg.import b/project/sprites/blue_camo_jeans.svg.import new file mode 100644 index 0000000..9e987f6 --- /dev/null +++ b/project/sprites/blue_camo_jeans.svg.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/blue_camo_jeans.svg-41f698e822667bb843272733405fda26.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://sprites/blue_camo_jeans.svg" +dest_files=[ "res://.import/blue_camo_jeans.svg-41f698e822667bb843272733405fda26.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/character_base.svg b/project/sprites/character_base.svg index d32a547..a826d68 100644 --- a/project/sprites/character_base.svg +++ b/project/sprites/character_base.svg @@ -25,11 +25,11 @@ borderopacity="1.0" inkscape:pageopacity="0.0" inkscape:pageshadow="2" - inkscape:zoom="5.6" - inkscape:cx="70.754725" - inkscape:cy="49.388861" + inkscape:zoom="1.979899" + inkscape:cx="80.061629" + inkscape:cy="172.34635" inkscape:document-units="mm" - inkscape:current-layer="layer3" + inkscape:current-layer="layer2" showgrid="false" fit-margin-top="0" fit-margin-left="0" @@ -64,7 +64,8 @@ + inkscape:label="Color" + sodipodi:insensitive="true"> + inkscape:label="Re-ink"> + + + + + + + + + image/svg+xml + + + + + + + + + + + + + + + diff --git a/project/sprites/jeans.svg.import b/project/sprites/jeans.svg.import new file mode 100644 index 0000000..e4617bb --- /dev/null +++ b/project/sprites/jeans.svg.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/jeans.svg-7d67c27e9800a7e7f837e3f29c2dd43f.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://sprites/jeans.svg" +dest_files=[ "res://.import/jeans.svg-7d67c27e9800a7e7f837e3f29c2dd43f.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/sweat_pants.svg b/project/sprites/sweat_pants.svg new file mode 100644 index 0000000..2d5dcc5 --- /dev/null +++ b/project/sprites/sweat_pants.svg @@ -0,0 +1,73 @@ + + + + + + + + + + image/svg+xml + + + + + + + + + + diff --git a/project/sprites/sweat_pants.svg.import b/project/sprites/sweat_pants.svg.import new file mode 100644 index 0000000..a80a6c7 --- /dev/null +++ b/project/sprites/sweat_pants.svg.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/sweat_pants.svg-1954ece07ca8c041219480fca138c463.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://sprites/sweat_pants.svg" +dest_files=[ "res://.import/sweat_pants.svg-1954ece07ca8c041219480fca138c463.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 6197717..ebfef4d 100644 --- a/project/src/Clothes.gd +++ b/project/src/Clothes.gd @@ -60,14 +60,14 @@ func _on_Briefs_pressed(): change_undies(load("res://sprites/briefs.png")) func _on_Jeans_pressed(): - change_bottoms(load("res://sprites/jeans.png")) + change_bottoms(load("res://sprites/jeans.svg")) func _on_OwO_Censor_pressed(): change_bottoms(null) change_undies(load("res://sprites/owo_censor.png")) func _on_Sweats_pressed(): - change_bottoms(load("res://sprites/sweat_pants.png")) + change_bottoms(load("res://sprites/sweat_pants.svg")) func _on_Sweatshirt_pressed(): change_tops(load("res://sprites/old_sweatshirt.png")) @@ -100,7 +100,7 @@ func _on_NL_Jacket_pressed(): change_tops(load("res://sprites/nl_jacket.png")) func _on_Blue_Camo_Jeans_pressed(): - change_bottoms(load("res://sprites/blue_camo_jeans.png")) + change_bottoms(load("res://sprites/blue_camo_jeans.svg")) func _on_Whats_New_Shirt_pressed(): change_tops(load("res://sprites/whatsnew_shirt.png"))