diff --git a/ASSET-LICENSE b/CC-BY
similarity index 100%
rename from ASSET-LICENSE
rename to CC-BY
diff --git a/README.md b/README.md
index 0ea0691..b4a4cc7 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,3 @@
# Tony's Dress Up
-
-
-Tony's Dress Up is a open source dress up game. It's a remake of my original Flash game, ZC's Dress Up. I've included the original flash games in the ``/archive`` directory that can be played at [Ruffle](https://ruffle.rs/)'s demo page.
-
-## License
-
-The source and assets is licensed under the MPL 2.0 License and CC-BY, respectfully - see the [LICENSE](LICENSE) and [ASSET-LICENSE](ASSET-LICENSE) for more details.
-
-The flash games included are abandonware. Feel free to share them on archives.
\ No newline at end of file
+Tony's Dress Up is a open source dress up game. It's a remake of my original Flash game, ZC's Dress Up.
\ No newline at end of file
diff --git a/archive/dressup.swf b/archive/dressup.swf
deleted file mode 100644
index ed56139..0000000
Binary files a/archive/dressup.swf and /dev/null differ
diff --git a/archive/dressup2.swf b/archive/dressup2.swf
deleted file mode 100644
index f18502d..0000000
Binary files a/archive/dressup2.swf and /dev/null differ
diff --git a/icon.svg.import b/icon.svg.import
index 1bc4b8a..b806afb 100644
--- a/icon.svg.import
+++ b/icon.svg.import
@@ -20,7 +20,7 @@ compress/hdr_mode=0
compress/bptc_ldr=0
compress/normal_map=0
flags/repeat=0
-flags/filter=false
+flags/filter=true
flags/mipmaps=false
flags/anisotropic=false
flags/srgb=2
@@ -30,5 +30,5 @@ process/HDR_as_SRGB=false
process/invert_color=false
stream=false
size_limit=0
-detect_3d=false
+detect_3d=true
svg/scale=1.0
diff --git a/lang/local.en.translation b/lang/local.en.translation
index 267283c..8889f17 100644
Binary files a/lang/local.en.translation and b/lang/local.en.translation differ
diff --git a/lang/local.sv.translation b/lang/local.sv.translation
index 41ad3f7..12777ef 100644
Binary files a/lang/local.sv.translation and b/lang/local.sv.translation differ
diff --git a/project.godot b/project.godot
index 81e4dd2..a1a4379 100644
--- a/project.godot
+++ b/project.godot
@@ -8,14 +8,9 @@
config_version=4
-_global_script_classes=[ {
-"base": "Resource",
-"class": "Character",
-"language": "GDScript",
-"path": "res://scripts/character.gd"
-} ]
+_global_script_classes=[ ]
_global_script_class_icons={
-"Character": ""
+
}
[application]
@@ -30,6 +25,12 @@ config/macos_native_icon="res://icon.icns"
config/windows_native_icon="res://icon.ico"
name_sv="Tonys klä upp"
+[autoload]
+
+GameKit="*res://scripts/GameKit.gd"
+UserSettings="*res://scripts/UserSettings.gd"
+Soundtrack="*res://scripts/Soundtrack.gd"
+
[debug]
gdscript/completion/autocomplete_setters_and_getters=true
@@ -37,7 +38,6 @@ gdscript/completion/autocomplete_setters_and_getters=true
[display]
window/size/width=800
-window/size/height=500
window/dpi/allow_hidpi=true
mouse_cursor/custom_image="res://sprites/clothes/cursor.png"
window/stretch/mode="viewport"
@@ -45,7 +45,7 @@ window/stretch/aspect="keep"
[gui]
-theme/custom="res://resources/Game.theme"
+theme/custom="res://styles/Game.theme"
theme/custom_font="res://fonts/montserrat_extra_bold_16.tres"
[importer_defaults]
diff --git a/resources/Game.theme b/resources/Game.theme
deleted file mode 100644
index c2f5ecb..0000000
Binary files a/resources/Game.theme and /dev/null differ
diff --git a/resources/character.tres b/resources/character.tres
deleted file mode 100644
index a61bf7c..0000000
--- a/resources/character.tres
+++ /dev/null
@@ -1,6 +0,0 @@
-[gd_resource type="Resource" load_steps=2 format=2]
-
-[ext_resource path="res://scripts/character.gd" type="Script" id=1]
-
-[resource]
-script = ExtResource( 1 )
diff --git a/scenes/characterBase.tscn b/scenes/Character.tscn
similarity index 85%
rename from scenes/characterBase.tscn
rename to scenes/Character.tscn
index d5cd89a..afe085b 100644
--- a/scenes/characterBase.tscn
+++ b/scenes/Character.tscn
@@ -1,6 +1,6 @@
-[gd_scene load_steps=31 format=2]
+[gd_scene load_steps=30 format=2]
-[ext_resource path="res://scripts/characterBase.gd" type="Script" id=1]
+[ext_resource path="res://scripts/Character.gd" type="Script" id=1]
[ext_resource path="res://sprites/character/tail/tail0.svg" type="Texture" id=2]
[ext_resource path="res://sprites/character/tail/tail1.svg" type="Texture" id=3]
[ext_resource path="res://sprites/character/tail/tail2.svg" type="Texture" id=4]
@@ -24,9 +24,11 @@
[ext_resource path="res://sprites/character/mouth/mouth10.png" type="Texture" id=22]
[ext_resource path="res://sprites/character/mouth/mouth12.png" type="Texture" id=23]
[ext_resource path="res://sprites/clothes/briefs.svg" type="Texture" id=24]
-[ext_resource path="res://sprites/clothes/blank_bottom.png" type="Texture" id=25]
-[ext_resource path="res://sprites/clothes/blank_top.png" type="Texture" id=26]
-[ext_resource path="res://sprites/character/shadow.svg" type="Texture" id=27]
+[ext_resource path="res://sprites/clothes/bottoms_placeholder.png" type="Texture" id=25]
+[ext_resource path="res://sprites/clothes/tops_placeholder.png" type="Texture" id=26]
+
+
+
[sub_resource type="SpriteFrames" id=1]
animations = [ {
@@ -52,22 +54,17 @@ animations = [ {
"speed": 10.0
} ]
-[node name="characterBase" type="Node2D"]
+[node name="Character" type="Node2D"]
script = ExtResource( 1 )
[node name="Base" type="Node2D" parent="."]
-position = Vector2( -103.897, -160.477 )
[node name="Tail" type="AnimatedSprite" parent="Base"]
position = Vector2( 54.4027, 184.439 )
frames = SubResource( 1 )
-frame = 5
+frame = 7
playing = true
-[node name="shadow" type="Sprite" parent="Base"]
-position = Vector2( 91.524, 317.295 )
-texture = ExtResource( 27 )
-
[node name="Tony" type="Sprite" parent="Base"]
position = Vector2( 96.3522, 164.086 )
texture = ExtResource( 5 )
@@ -75,27 +72,27 @@ texture = ExtResource( 5 )
[node name="Eyes" type="AnimatedSprite" parent="Base"]
position = Vector2( 114.227, 63.9224 )
frames = SubResource( 2 )
-frame = 11
+frame = 1
playing = true
[node name="Mouth" type="AnimatedSprite" parent="Base"]
position = Vector2( 131.024, 67.4964 )
frames = SubResource( 3 )
-frame = 9
+frame = 11
playing = true
[node name="Undies" type="Sprite" parent="."]
-position = Vector2( -17.3889, 95.818 )
+position = Vector2( 86.5077, 256.295 )
texture = ExtResource( 24 )
[node name="Bottom" type="Sprite" parent="."]
-position = Vector2( -15.7094, 90.851 )
+position = Vector2( 88.1872, 251.328 )
texture = ExtResource( 25 )
[node name="Top" type="Sprite" parent="."]
-position = Vector2( -7.53471, -0.0449677 )
+position = Vector2( 96.3619, 160.432 )
texture = ExtResource( 26 )
[node name="Accessory" type="Sprite" parent="."]
-position = Vector2( -10.6723, -5.33797 )
+position = Vector2( 93.2243, 155.139 )
texture = ExtResource( 26 )
diff --git a/scenes/Clothes.tscn b/scenes/Clothes.tscn
new file mode 100644
index 0000000..223aa57
--- /dev/null
+++ b/scenes/Clothes.tscn
@@ -0,0 +1,277 @@
+[gd_scene load_steps=23 format=2]
+
+[ext_resource path="res://sprites/clothes/jeans.svg" type="Texture" id=3]
+[ext_resource path="res://sprites/clothes/blue_skirt.svg" type="Texture" id=4]
+[ext_resource path="res://sprites/clothes/sweat_pants.svg" type="Texture" id=5]
+[ext_resource path="res://sprites/clothes/blue_camo_jeans.svg" type="Texture" id=6]
+[ext_resource path="res://sprites/clothes/beat_up_jeans.svg" type="Texture" id=7]
+[ext_resource path="res://sprites/clothes/formal_skirt.svg" type="Texture" id=8]
+[ext_resource path="res://sprites/ui/x_button.svg" type="Texture" id=9]
+[ext_resource path="res://sprites/clothes/old_sweatshirt.svg" type="Texture" id=10]
+[ext_resource path="res://sprites/clothes/raw_shirt.svg" type="Texture" id=11]
+[ext_resource path="res://sprites/clothes/retro_shirt.svg" type="Texture" id=12]
+[ext_resource path="res://sprites/clothes/atomic_shirt.svg" type="Texture" id=13]
+[ext_resource path="res://sprites/clothes/z_shirt.png" type="Texture" id=14]
+[ext_resource path="res://sprites/clothes/biker_jacket.svg" type="Texture" id=15]
+[ext_resource path="res://sprites/clothes/nl_jacket.png" type="Texture" id=16]
+[ext_resource path="res://sprites/clothes/train_hoodie.svg" type="Texture" id=17]
+[ext_resource path="res://sprites/clothes/korm_shirt.png" type="Texture" id=18]
+[ext_resource path="res://sprites/clothes/whatsnew_shirt.svg" type="Texture" id=19]
+[ext_resource path="res://sprites/clothes/owo_censor.svg" type="Texture" id=20]
+[ext_resource path="res://sprites/clothes/briefs.svg" type="Texture" id=21]
+[ext_resource path="res://sprites/clothes/z_briefs.svg" type="Texture" id=22]
+[ext_resource path="res://sprites/clothes/fundosi.svg" type="Texture" id=23]
+[ext_resource path="res://sprites/clothes/camera.png" type="Texture" id=24]
+
+[node name="Wordrobe" type="TabContainer"]
+anchor_right = 1.0
+anchor_bottom = 1.0
+custom_colors/font_color_disabled = Color( 0, 0, 0, 1 )
+custom_colors/font_color_bg = Color( 0.921569, 0.921569, 0.921569, 1 )
+custom_colors/font_color_fg = Color( 1, 1, 1, 1 )
+__meta__ = {
+"_edit_use_anchors_": false
+}
+
+[node name="Pants" type="Tabs" parent="."]
+anchor_right = 1.0
+anchor_bottom = 1.0
+margin_left = 5.0
+margin_top = 41.0
+margin_right = -5.0
+margin_bottom = -10.0
+custom_constants/hseparation = 0
+
+[node name="PantsScroll" type="ScrollContainer" parent="Pants"]
+anchor_right = 1.0
+anchor_bottom = 1.0
+__meta__ = {
+"_edit_use_anchors_": false
+}
+
+[node name="PantsGrid" type="GridContainer" parent="Pants/PantsScroll"]
+margin_right = 790.0
+margin_bottom = 228.0
+size_flags_horizontal = 3
+columns = 4
+
+[node name="Jeans" type="TextureButton" parent="Pants/PantsScroll/PantsGrid"]
+margin_right = 106.0
+margin_bottom = 112.0
+texture_normal = ExtResource( 3 )
+
+[node name="BlueSkirt" type="TextureButton" parent="Pants/PantsScroll/PantsGrid"]
+margin_left = 110.0
+margin_right = 216.0
+margin_bottom = 112.0
+texture_normal = ExtResource( 4 )
+
+[node name="Sweats" type="TextureButton" parent="Pants/PantsScroll/PantsGrid"]
+margin_left = 220.0
+margin_right = 326.0
+margin_bottom = 112.0
+texture_normal = ExtResource( 5 )
+
+[node name="BlueCamoJeans" type="TextureButton" parent="Pants/PantsScroll/PantsGrid"]
+margin_left = 330.0
+margin_right = 436.0
+margin_bottom = 112.0
+texture_normal = ExtResource( 6 )
+
+[node name="BeatUpJeans" type="TextureButton" parent="Pants/PantsScroll/PantsGrid"]
+margin_top = 116.0
+margin_right = 106.0
+margin_bottom = 228.0
+texture_normal = ExtResource( 7 )
+
+[node name="FormalSkirt" type="TextureButton" parent="Pants/PantsScroll/PantsGrid"]
+margin_left = 110.0
+margin_top = 116.0
+margin_right = 216.0
+margin_bottom = 228.0
+texture_normal = ExtResource( 8 )
+
+[node name="RemovePants" type="TextureButton" parent="Pants/PantsScroll/PantsGrid"]
+margin_left = 220.0
+margin_top = 116.0
+margin_right = 326.0
+margin_bottom = 228.0
+rect_min_size = Vector2( 0, 112 )
+texture_normal = ExtResource( 9 )
+
+[node name="Shirts" type="Tabs" parent="."]
+visible = false
+anchor_right = 1.0
+anchor_bottom = 1.0
+margin_left = 5.0
+margin_top = 41.0
+margin_right = -5.0
+margin_bottom = -10.0
+
+[node name="ShirtsScroll" type="ScrollContainer" parent="Shirts"]
+anchor_right = 1.0
+anchor_bottom = 1.0
+margin_left = 10.0
+margin_top = 10.0
+
+[node name="ShirtsGrid" type="GridContainer" parent="Shirts/ShirtsScroll"]
+margin_right = 780.0
+margin_bottom = 365.0
+size_flags_horizontal = 3
+columns = 4
+
+[node name="Sweatshirt" type="TextureButton" parent="Shirts/ShirtsScroll/ShirtsGrid"]
+margin_right = 85.0
+margin_bottom = 115.0
+texture_normal = ExtResource( 10 )
+
+[node name="Raw" type="TextureButton" parent="Shirts/ShirtsScroll/ShirtsGrid"]
+margin_left = 89.0
+margin_right = 207.0
+margin_bottom = 115.0
+texture_normal = ExtResource( 11 )
+
+[node name="Retro" type="TextureButton" parent="Shirts/ShirtsScroll/ShirtsGrid"]
+margin_left = 211.0
+margin_right = 296.0
+margin_bottom = 115.0
+texture_normal = ExtResource( 12 )
+
+[node name="Atomic" type="TextureButton" parent="Shirts/ShirtsScroll/ShirtsGrid"]
+margin_top = 119.0
+margin_right = 85.0
+margin_bottom = 234.0
+texture_normal = ExtResource( 13 )
+
+[node name="ZShirt" type="TextureButton" parent="Shirts/ShirtsScroll/ShirtsGrid"]
+margin_left = 89.0
+margin_top = 119.0
+margin_right = 207.0
+margin_bottom = 234.0
+texture_normal = ExtResource( 14 )
+
+[node name="BikerJacket" type="TextureButton" parent="Shirts/ShirtsScroll/ShirtsGrid"]
+margin_left = 211.0
+margin_top = 119.0
+margin_right = 296.0
+margin_bottom = 234.0
+texture_normal = ExtResource( 15 )
+
+[node name="NLJacket" type="TextureButton" parent="Shirts/ShirtsScroll/ShirtsGrid"]
+margin_top = 238.0
+margin_right = 85.0
+margin_bottom = 353.0
+texture_normal = ExtResource( 16 )
+
+[node name="TrainHoodie" type="TextureButton" parent="Shirts/ShirtsScroll/ShirtsGrid"]
+margin_left = 89.0
+margin_top = 238.0
+margin_right = 207.0
+margin_bottom = 353.0
+texture_normal = ExtResource( 17 )
+
+[node name="KormShirt" type="TextureButton" parent="Shirts/ShirtsScroll/ShirtsGrid"]
+margin_left = 211.0
+margin_top = 238.0
+margin_right = 296.0
+margin_bottom = 353.0
+texture_normal = ExtResource( 18 )
+
+[node name="WhatsNewShirt" type="TextureButton" parent="Shirts/ShirtsScroll/ShirtsGrid"]
+margin_top = 357.0
+margin_right = 85.0
+margin_bottom = 475.0
+texture_normal = ExtResource( 19 )
+
+[node name="RemoveShirt" type="Button" parent="Shirts/ShirtsScroll/ShirtsGrid"]
+margin_left = 89.0
+margin_top = 357.0
+margin_right = 207.0
+margin_bottom = 475.0
+rect_min_size = Vector2( 0, 112 )
+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 )
+icon = ExtResource( 9 )
+flat = true
+
+[node name="Underwear" type="Tabs" parent="."]
+visible = false
+anchor_right = 1.0
+anchor_bottom = 1.0
+margin_left = 5.0
+margin_top = 41.0
+margin_right = -5.0
+margin_bottom = -10.0
+
+[node name="UndiesScroll" type="ScrollContainer" parent="Underwear"]
+anchor_right = 1.0
+anchor_bottom = 1.0
+
+[node name="UndiesGrid" type="GridContainer" parent="Underwear/UndiesScroll"]
+margin_right = 790.0
+margin_bottom = 228.0
+size_flags_horizontal = 3
+columns = 3
+
+[node name="OwOCensor" type="TextureButton" parent="Underwear/UndiesScroll/UndiesGrid"]
+margin_right = 106.0
+margin_bottom = 112.0
+texture_normal = ExtResource( 20 )
+
+[node name="Briefs" type="TextureButton" parent="Underwear/UndiesScroll/UndiesGrid"]
+margin_left = 110.0
+margin_right = 216.0
+margin_bottom = 112.0
+texture_normal = ExtResource( 21 )
+
+[node name="ZBriefs" type="TextureButton" parent="Underwear/UndiesScroll/UndiesGrid"]
+margin_left = 220.0
+margin_right = 326.0
+margin_bottom = 112.0
+texture_normal = ExtResource( 22 )
+
+[node name="Fundosi" type="TextureButton" parent="Underwear/UndiesScroll/UndiesGrid"]
+margin_top = 116.0
+margin_right = 106.0
+margin_bottom = 228.0
+texture_normal = ExtResource( 23 )
+
+[node name="Accessoires" type="Tabs" parent="."]
+visible = false
+anchor_right = 1.0
+anchor_bottom = 1.0
+margin_left = 5.0
+margin_top = 41.0
+margin_right = -5.0
+margin_bottom = -10.0
+
+[node name="AccsScroll" type="ScrollContainer" parent="Accessoires"]
+margin_left = 19.0
+margin_top = 22.0
+margin_right = 369.0
+margin_bottom = 494.0
+
+[node name="AccsGrid" type="GridContainer" parent="Accessoires/AccsScroll"]
+margin_right = 350.0
+margin_bottom = 127.0
+size_flags_horizontal = 3
+columns = 3
+
+[node name="CanonCam" type="TextureButton" parent="Accessoires/AccsScroll/AccsGrid"]
+margin_right = 85.0
+margin_bottom = 112.0
+texture_normal = ExtResource( 24 )
+
+[node name="RemoveAccessory" type="Button" parent="Accessoires/AccsScroll/AccsGrid"]
+margin_left = 89.0
+margin_right = 195.0
+margin_bottom = 112.0
+rect_min_size = Vector2( 85, 105 )
+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 )
+icon = ExtResource( 9 )
+flat = true
diff --git a/scenes/clothing/base/accessoryBase.tscn b/scenes/clothing/base/accessoryBase.tscn
deleted file mode 100644
index 9cd8bfb..0000000
--- a/scenes/clothing/base/accessoryBase.tscn
+++ /dev/null
@@ -1,11 +0,0 @@
-[gd_scene load_steps=3 format=2]
-
-[ext_resource path="res://scripts/clothing/accessoryBase.gd" type="Script" id=1]
-[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=2]
-
-
-
-
-[node name="accessoryBase" instance=ExtResource( 2 )]
-script = ExtResource( 1 )
-[connection signal="pressed" from="." to="." method="_on_accessory_pressed"]
diff --git a/scenes/clothing/base/baseClothing.tscn b/scenes/clothing/base/baseClothing.tscn
deleted file mode 100644
index 1cb5375..0000000
--- a/scenes/clothing/base/baseClothing.tscn
+++ /dev/null
@@ -1,14 +0,0 @@
-[gd_scene load_steps=2 format=2]
-
-[ext_resource path="res://scripts/clothing/baseClothing.gd" type="Script" id=1]
-
-[node name="baseClothing" type="TextureButton"]
-anchor_right = 1.0
-anchor_bottom = 1.0
-margin_right = -694.0
-margin_bottom = -488.0
-rect_min_size = Vector2( 106, 112 )
-script = ExtResource( 1 )
-__meta__ = {
-"_edit_use_anchors_": false
-}
diff --git a/scenes/clothing/base/bottomsBase.tscn b/scenes/clothing/base/bottomsBase.tscn
deleted file mode 100644
index 661e10b..0000000
--- a/scenes/clothing/base/bottomsBase.tscn
+++ /dev/null
@@ -1,11 +0,0 @@
-[gd_scene load_steps=3 format=2]
-
-[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=1]
-[ext_resource path="res://scripts/clothing/bottomsBase.gd" type="Script" id=2]
-
-
-
-
-[node name="bottomsBase" instance=ExtResource( 1 )]
-script = ExtResource( 2 )
-[connection signal="pressed" from="." to="." method="_on_bottoms_pressed"]
diff --git a/scenes/clothing/base/topsBase.tscn b/scenes/clothing/base/topsBase.tscn
deleted file mode 100644
index 3ad95b0..0000000
--- a/scenes/clothing/base/topsBase.tscn
+++ /dev/null
@@ -1,11 +0,0 @@
-[gd_scene load_steps=3 format=2]
-
-[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=1]
-[ext_resource path="res://scripts/clothing/topsBase.gd" type="Script" id=2]
-
-
-
-
-[node name="topsBase" instance=ExtResource( 1 )]
-script = ExtResource( 2 )
-[connection signal="pressed" from="." to="." method="_on_tops_pressed"]
diff --git a/scenes/clothing/base/undiesBase.tscn b/scenes/clothing/base/undiesBase.tscn
deleted file mode 100644
index df1ae8d..0000000
--- a/scenes/clothing/base/undiesBase.tscn
+++ /dev/null
@@ -1,11 +0,0 @@
-[gd_scene load_steps=3 format=2]
-
-[ext_resource path="res://scripts/clothing/undiesBase.gd" type="Script" id=1]
-[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=2]
-
-
-
-
-[node name="baseClothing" instance=ExtResource( 2 )]
-script = ExtResource( 1 )
-[connection signal="pressed" from="." to="." method="_on_undies_pressed"]
diff --git a/scenes/clothing/camera.tscn b/scenes/clothing/camera.tscn
deleted file mode 100644
index 0209b39..0000000
--- a/scenes/clothing/camera.tscn
+++ /dev/null
@@ -1,15 +0,0 @@
-[gd_scene load_steps=3 format=2]
-
-[ext_resource path="res://scenes/clothing/base/accessoryBase.tscn" type="PackedScene" id=1]
-[ext_resource path="res://sprites/clothes/camera.png" type="Texture" id=2]
-
-
-
-
-[node name="camera" instance=ExtResource( 1 )]
-anchor_right = 0.0
-anchor_bottom = 0.0
-margin_right = 0.0
-margin_bottom = 0.0
-rect_min_size = Vector2( 0, 0 )
-texture_normal = ExtResource( 2 )
diff --git a/scenes/clothing/pants/beatUpJeans.tscn b/scenes/clothing/pants/beatUpJeans.tscn
deleted file mode 100644
index 2ed835b..0000000
--- a/scenes/clothing/pants/beatUpJeans.tscn
+++ /dev/null
@@ -1,13 +0,0 @@
-[gd_scene load_steps=4 format=2]
-
-[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=1]
-[ext_resource path="res://scripts/clothing/bottomsBase.gd" type="Script" id=2]
-[ext_resource path="res://sprites/clothes/beat_up_jeans.svg" type="Texture" id=3]
-
-
-
-
-[node name="beatUpJeans" instance=ExtResource( 1 )]
-texture_normal = ExtResource( 3 )
-script = ExtResource( 2 )
-[connection signal="pressed" from="." to="." method="_on_bottoms_pressed"]
diff --git a/scenes/clothing/pants/camoJeans.tscn b/scenes/clothing/pants/camoJeans.tscn
deleted file mode 100644
index 38e32bf..0000000
--- a/scenes/clothing/pants/camoJeans.tscn
+++ /dev/null
@@ -1,13 +0,0 @@
-[gd_scene load_steps=4 format=2]
-
-[ext_resource path="res://sprites/clothes/blue_camo_jeans.svg" type="Texture" id=1]
-[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=2]
-[ext_resource path="res://scripts/clothing/bottomsBase.gd" type="Script" id=3]
-
-
-
-
-[node name="camoJeans" instance=ExtResource( 2 )]
-texture_normal = ExtResource( 1 )
-script = ExtResource( 3 )
-[connection signal="pressed" from="." to="." method="_on_bottoms_pressed"]
diff --git a/scenes/clothing/pants/djShorts.tscn b/scenes/clothing/pants/djShorts.tscn
deleted file mode 100644
index 1b2d46d..0000000
--- a/scenes/clothing/pants/djShorts.tscn
+++ /dev/null
@@ -1,13 +0,0 @@
-[gd_scene load_steps=4 format=2]
-
-[ext_resource path="res://sprites/clothes/dj_shorts.svg" type="Texture" id=1]
-[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=2]
-[ext_resource path="res://scripts/clothing/bottomsBase.gd" type="Script" id=3]
-
-
-
-
-[node name="camoJeans" instance=ExtResource( 2 )]
-texture_normal = ExtResource( 1 )
-script = ExtResource( 3 )
-[connection signal="pressed" from="." to="." method="_on_bottoms_pressed"]
diff --git a/scenes/clothing/pants/formalSkirt.tscn b/scenes/clothing/pants/formalSkirt.tscn
deleted file mode 100644
index 0f7d544..0000000
--- a/scenes/clothing/pants/formalSkirt.tscn
+++ /dev/null
@@ -1,11 +0,0 @@
-[gd_scene load_steps=4 format=2]
-
-[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=1]
-[ext_resource path="res://scripts/clothing/bottomsBase.gd" type="Script" id=2]
-[ext_resource path="res://sprites/clothes/formal_skirt.svg" type="Texture" id=3]
-
-
-[node name="formalSkirt" instance=ExtResource( 1 )]
-texture_normal = ExtResource( 3 )
-script = ExtResource( 2 )
-[connection signal="pressed" from="." to="." method="_on_bottoms_pressed"]
diff --git a/scenes/clothing/pants/jeans.tscn b/scenes/clothing/pants/jeans.tscn
deleted file mode 100644
index 8cc5610..0000000
--- a/scenes/clothing/pants/jeans.tscn
+++ /dev/null
@@ -1,11 +0,0 @@
-[gd_scene load_steps=4 format=2]
-
-[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=1]
-[ext_resource path="res://scripts/clothing/bottomsBase.gd" type="Script" id=2]
-[ext_resource path="res://sprites/clothes/jeans.svg" type="Texture" id=3]
-
-
-[node name="jeans" instance=ExtResource( 1 )]
-texture_normal = ExtResource( 3 )
-script = ExtResource( 2 )
-[connection signal="pressed" from="." to="." method="_on_bottoms_pressed"]
diff --git a/scenes/clothing/pants/skirt.tscn b/scenes/clothing/pants/skirt.tscn
deleted file mode 100644
index a8f64ab..0000000
--- a/scenes/clothing/pants/skirt.tscn
+++ /dev/null
@@ -1,11 +0,0 @@
-[gd_scene load_steps=4 format=2]
-
-[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=1]
-[ext_resource path="res://scripts/clothing/bottomsBase.gd" type="Script" id=2]
-[ext_resource path="res://sprites/clothes/blue_skirt.svg" type="Texture" id=3]
-
-
-[node name="skirt" instance=ExtResource( 1 )]
-texture_normal = ExtResource( 3 )
-script = ExtResource( 2 )
-[connection signal="pressed" from="." to="." method="_on_bottoms_pressed"]
diff --git a/scenes/clothing/pants/sweatPants.tscn b/scenes/clothing/pants/sweatPants.tscn
deleted file mode 100644
index 1801a6c..0000000
--- a/scenes/clothing/pants/sweatPants.tscn
+++ /dev/null
@@ -1,10 +0,0 @@
-[gd_scene load_steps=4 format=2]
-
-[ext_resource path="res://sprites/clothes/sweat_pants.svg" type="Texture" id=1]
-[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=2]
-[ext_resource path="res://scripts/clothing/bottomsBase.gd" type="Script" id=3]
-
-[node name="sweatPants" instance=ExtResource( 2 )]
-texture_normal = ExtResource( 1 )
-script = ExtResource( 3 )
-[connection signal="pressed" from="." to="." method="_on_bottoms_pressed"]
diff --git a/scenes/clothing/tops/atomicShirt.tscn b/scenes/clothing/tops/atomicShirt.tscn
deleted file mode 100644
index 4c0e92d..0000000
--- a/scenes/clothing/tops/atomicShirt.tscn
+++ /dev/null
@@ -1,10 +0,0 @@
-[gd_scene load_steps=4 format=2]
-
-[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=1]
-[ext_resource path="res://scripts/clothing/topsBase.gd" type="Script" id=2]
-[ext_resource path="res://sprites/clothes/atomic_shirt.svg" type="Texture" id=3]
-
-[node name="atomicShirt" instance=ExtResource( 1 )]
-texture_normal = ExtResource( 3 )
-script = ExtResource( 2 )
-[connection signal="pressed" from="." to="." method="_on_tops_pressed"]
diff --git a/scenes/clothing/tops/djShirt.tscn b/scenes/clothing/tops/djShirt.tscn
deleted file mode 100644
index bbe311d..0000000
--- a/scenes/clothing/tops/djShirt.tscn
+++ /dev/null
@@ -1,10 +0,0 @@
-[gd_scene load_steps=4 format=2]
-
-[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=1]
-[ext_resource path="res://scripts/clothing/topsBase.gd" type="Script" id=2]
-[ext_resource path="res://sprites/clothes/dj_shirt.png" type="Texture" id=3]
-
-[node name="djShirt" instance=ExtResource( 1 )]
-texture_normal = ExtResource( 3 )
-script = ExtResource( 2 )
-[connection signal="pressed" from="." to="." method="_on_tops_pressed"]
diff --git a/scenes/clothing/tops/kormShirt.tscn b/scenes/clothing/tops/kormShirt.tscn
deleted file mode 100644
index cf6fd0a..0000000
--- a/scenes/clothing/tops/kormShirt.tscn
+++ /dev/null
@@ -1,10 +0,0 @@
-[gd_scene load_steps=4 format=2]
-
-[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=1]
-[ext_resource path="res://scripts/clothing/topsBase.gd" type="Script" id=2]
-[ext_resource path="res://sprites/clothes/korm_shirt.png" type="Texture" id=3]
-
-[node name="kormShirt" instance=ExtResource( 1 )]
-texture_normal = ExtResource( 3 )
-script = ExtResource( 2 )
-[connection signal="pressed" from="." to="." method="_on_tops_pressed"]
diff --git a/scenes/clothing/tops/nlShirt.tscn b/scenes/clothing/tops/nlShirt.tscn
deleted file mode 100644
index 01173bd..0000000
--- a/scenes/clothing/tops/nlShirt.tscn
+++ /dev/null
@@ -1,10 +0,0 @@
-[gd_scene load_steps=4 format=2]
-
-[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=1]
-[ext_resource path="res://scripts/clothing/topsBase.gd" type="Script" id=2]
-[ext_resource path="res://sprites/clothes/nl_jacket.png" type="Texture" id=3]
-
-[node name="nlShirt" instance=ExtResource( 1 )]
-texture_normal = ExtResource( 3 )
-script = ExtResource( 2 )
-[connection signal="pressed" from="." to="." method="_on_tops_pressed"]
diff --git a/scenes/clothing/tops/rawShirt.tscn b/scenes/clothing/tops/rawShirt.tscn
deleted file mode 100644
index c976520..0000000
--- a/scenes/clothing/tops/rawShirt.tscn
+++ /dev/null
@@ -1,10 +0,0 @@
-[gd_scene load_steps=4 format=2]
-
-[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=1]
-[ext_resource path="res://scripts/clothing/topsBase.gd" type="Script" id=2]
-[ext_resource path="res://sprites/clothes/raw_shirt.svg" type="Texture" id=3]
-
-[node name="rawShirt" instance=ExtResource( 1 )]
-texture_normal = ExtResource( 3 )
-script = ExtResource( 2 )
-[connection signal="pressed" from="." to="." method="_on_tops_pressed"]
diff --git a/scenes/clothing/tops/whatsNewShirt.tscn b/scenes/clothing/tops/whatsNewShirt.tscn
deleted file mode 100644
index 4545551..0000000
--- a/scenes/clothing/tops/whatsNewShirt.tscn
+++ /dev/null
@@ -1,10 +0,0 @@
-[gd_scene load_steps=4 format=2]
-
-[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=1]
-[ext_resource path="res://scripts/clothing/topsBase.gd" type="Script" id=2]
-[ext_resource path="res://sprites/clothes/whatsnew_shirt.svg" type="Texture" id=3]
-
-[node name="whatsNewShirt" instance=ExtResource( 1 )]
-texture_normal = ExtResource( 3 )
-script = ExtResource( 2 )
-[connection signal="pressed" from="." to="." method="_on_tops_pressed"]
diff --git a/scenes/clothing/tops/zShirt.tscn b/scenes/clothing/tops/zShirt.tscn
deleted file mode 100644
index 3a1a23f..0000000
--- a/scenes/clothing/tops/zShirt.tscn
+++ /dev/null
@@ -1,10 +0,0 @@
-[gd_scene load_steps=4 format=2]
-
-[ext_resource path="res://scenes/clothing/base/baseClothing.tscn" type="PackedScene" id=1]
-[ext_resource path="res://scripts/clothing/topsBase.gd" type="Script" id=2]
-[ext_resource path="res://sprites/clothes/z_shirt.png" type="Texture" id=3]
-
-[node name="zShirt" instance=ExtResource( 1 )]
-texture_normal = ExtResource( 3 )
-script = ExtResource( 2 )
-[connection signal="pressed" from="." to="." method="_on_tops_pressed"]
diff --git a/scenes/clothing/undies/briefs.tscn b/scenes/clothing/undies/briefs.tscn
deleted file mode 100644
index fde30e2..0000000
--- a/scenes/clothing/undies/briefs.tscn
+++ /dev/null
@@ -1,10 +0,0 @@
-[gd_scene load_steps=3 format=2]
-
-[ext_resource path="res://sprites/clothes/briefs.svg" type="Texture" id=1]
-[ext_resource path="res://scenes/clothing/base/undiesBase.tscn" type="PackedScene" id=2]
-
-
-
-
-[node name="briefs" instance=ExtResource( 2 )]
-texture_normal = ExtResource( 1 )
diff --git a/scenes/clothing/undies/fundosi.tscn b/scenes/clothing/undies/fundosi.tscn
deleted file mode 100644
index 5a0ac93..0000000
--- a/scenes/clothing/undies/fundosi.tscn
+++ /dev/null
@@ -1,15 +0,0 @@
-[gd_scene load_steps=3 format=2]
-
-[ext_resource path="res://sprites/clothes/fundosi.svg" type="Texture" id=1]
-[ext_resource path="res://scenes/clothing/base/undiesBase.tscn" type="PackedScene" id=2]
-
-
-
-
-[node name="fundosi" instance=ExtResource( 2 )]
-anchor_right = 0.0
-anchor_bottom = 0.0
-margin_right = 0.0
-margin_bottom = 0.0
-rect_min_size = Vector2( 0, 0 )
-texture_normal = ExtResource( 1 )
diff --git a/scenes/clothing/undies/zBriefs.tscn b/scenes/clothing/undies/zBriefs.tscn
deleted file mode 100644
index 2e8d6af..0000000
--- a/scenes/clothing/undies/zBriefs.tscn
+++ /dev/null
@@ -1,10 +0,0 @@
-[gd_scene load_steps=3 format=2]
-
-[ext_resource path="res://sprites/clothes/z_briefs.svg" type="Texture" id=1]
-[ext_resource path="res://scenes/clothing/base/undiesBase.tscn" type="PackedScene" id=2]
-
-
-
-
-[node name="zBriefs" instance=ExtResource( 2 )]
-texture_normal = ExtResource( 1 )
diff --git a/scenes/game.tscn b/scenes/game.tscn
index 7ae2ff7..b00fd88 100644
--- a/scenes/game.tscn
+++ b/scenes/game.tscn
@@ -1,66 +1,48 @@
-[gd_scene load_steps=9 format=2]
+[gd_scene load_steps=7 format=2]
-[ext_resource path="res://scenes/characterBase.tscn" type="PackedScene" id=1]
-[ext_resource path="res://sprites/clothes/background.svg" type="Texture" id=2]
-[ext_resource path="res://sprites/ui/blue_boxCross.png" type="Texture" id=3]
-[ext_resource path="res://scenes/wardrobe.tscn" type="PackedScene" id=4]
+[ext_resource path="res://scripts/GameScn.gd" type="Script" id=1]
+[ext_resource path="res://scenes/pause.tscn" type="PackedScene" id=2]
+[ext_resource path="res://scenes/character.tscn" type="PackedScene" id=3]
+[ext_resource path="res://scenes/clothes.tscn" type="PackedScene" id=4]
[ext_resource path="res://sprites/clothes/icrazy_frame.svg" type="Texture" id=5]
[ext_resource path="res://sprites/clothes/lights.png" type="Texture" id=6]
-[ext_resource path="res://sprites/ui/grey_boxCross.png" type="Texture" id=7]
-[ext_resource path="res://scripts/ui.gd" type="Script" id=8]
-[node name="game" type="Node2D"]
+[node name="GameScreen" type="Node2D"]
+script = ExtResource( 1 )
-[node name="background" type="Sprite" parent="."]
-position = Vector2( 504.046, 202.426 )
-texture = ExtResource( 2 )
-
-[node name="picFrame" type="Sprite" parent="."]
-position = Vector2( 127.602, 96.8945 )
+[node name="PicFrame" type="Sprite" parent="."]
+position = Vector2( 163.773, 119.752 )
texture = ExtResource( 5 )
__meta__ = {
"_edit_group_": true
}
-[node name="light" type="Light2D" parent="picFrame"]
+[node name="Light" type="Light2D" parent="PicFrame"]
position = Vector2( 35.118, -14.56 )
texture = ExtResource( 6 )
-[node name="characterBase" parent="." instance=ExtResource( 1 )]
-position = Vector2( 126.596, 319.219 )
+[node name="Character" parent="." instance=ExtResource( 3 )]
+position = Vector2( 61.8154, 246.831 )
-[node name="ui" type="CanvasLayer" parent="."]
+[node name="UI" type="CanvasLayer" parent="."]
-[node name="base" type="Control" parent="ui"]
+[node name="Base" type="Control" parent="UI"]
anchor_right = 1.0
anchor_bottom = 1.0
-script = ExtResource( 8 )
__meta__ = {
"_edit_lock_": true,
-"_edit_use_anchors_": true
-}
-
-[node name="wardrobe" parent="ui/base" instance=ExtResource( 4 )]
-anchor_left = 0.345
-anchor_top = 0.072
-anchor_right = 0.975
-anchor_bottom = 0.658
-margin_left = -4.69434
-margin_top = -19.9716
-margin_right = 60.3057
-margin_bottom = 75.0284
-
-[node name="clearBtn" type="TextureButton" parent="ui/base"]
-margin_left = 752.0
-margin_top = 9.0
-margin_right = 788.0
-margin_bottom = 45.0
-hint_tooltip = "Clear all clothing"
-texture_normal = ExtResource( 3 )
-texture_pressed = ExtResource( 3 )
-texture_hover = ExtResource( 7 )
-texture_disabled = ExtResource( 7 )
-__meta__ = {
"_edit_use_anchors_": false
}
-[connection signal="pressed" from="ui/base/clearBtn" to="ui/base" method="_on_clearBtn_pressed"]
+
+[node name="Wordrobe" parent="UI/Base" instance=ExtResource( 4 )]
+margin_left = 276.0
+margin_top = 36.0
+margin_right = -20.0
+margin_bottom = -37.0
+
+[node name="PauseScn" parent="UI/Base" instance=ExtResource( 2 )]
+visible = false
+margin_left = -150.0
+margin_top = -20.0
+margin_right = -150.0
+margin_bottom = -20.0
diff --git a/scenes/pause.tscn b/scenes/pause.tscn
new file mode 100644
index 0000000..3960567
--- /dev/null
+++ b/scenes/pause.tscn
@@ -0,0 +1,147 @@
+[gd_scene load_steps=2 format=2]
+
+[ext_resource path="res://scripts/PauseScn.gd" type="Script" id=2]
+
+[node name="WinDialogs" type="Control"]
+anchor_right = 1.0
+anchor_bottom = 1.0
+margin_left = 400.0
+margin_top = 300.0
+margin_right = -400.0
+margin_bottom = -300.0
+script = ExtResource( 2 )
+__meta__ = {
+"_edit_use_anchors_": false
+}
+
+[node name="PauseWin" type="PopupDialog" parent="."]
+pause_mode = 2
+anchor_left = 0.5
+anchor_top = 0.5
+anchor_right = 0.5
+anchor_bottom = 0.5
+margin_left = -88.0
+margin_top = -57.0
+margin_right = 88.0
+margin_bottom = 94.0
+
+[node name="PauseVbox" type="VBoxContainer" parent="PauseWin"]
+anchor_right = 1.0
+anchor_bottom = 1.0
+margin_left = 10.0
+margin_top = 10.0
+margin_right = -10.0
+margin_bottom = -10.0
+
+[node name="PauseLbl" type="Label" parent="PauseWin/PauseVbox"]
+margin_right = 156.0
+margin_bottom = 29.0
+text = "KPUS"
+align = 1
+
+[node name="SettingsBtn" type="Button" parent="PauseWin/PauseVbox"]
+margin_top = 33.0
+margin_right = 156.0
+margin_bottom = 62.0
+text = "KSET"
+
+[node name="ResumeBtn" type="Button" parent="PauseWin/PauseVbox"]
+margin_top = 66.0
+margin_right = 156.0
+margin_bottom = 95.0
+text = "KRUS"
+
+[node name="ExitBtn" type="Button" parent="PauseWin/PauseVbox"]
+margin_top = 99.0
+margin_right = 156.0
+margin_bottom = 128.0
+text = "KEXT"
+
+[node name="SettingsWin" type="AcceptDialog" parent="."]
+pause_mode = 2
+anchor_left = 0.5
+anchor_top = 0.5
+anchor_right = 0.5
+anchor_bottom = 0.5
+margin_left = -76.0
+margin_top = -34.0
+margin_right = 76.0
+margin_bottom = 34.0
+window_title = "KSET"
+
+[node name="Grid" type="GridContainer" parent="SettingsWin"]
+anchor_left = 0.5
+anchor_top = 0.5
+anchor_right = 0.5
+anchor_bottom = 0.5
+margin_left = -68.0
+margin_top = -36.5
+margin_right = 68.0
+margin_bottom = -7.5
+columns = 3
+
+[node name="Languages" type="MenuButton" parent="SettingsWin/Grid"]
+visible = false
+margin_right = 56.0
+margin_bottom = 24.0
+text = "KLANG"
+flat = false
+items = [ "KENG", null, 0, true, false, -1, 0, null, "", false, "KSWD", null, 0, false, false, -1, 0, null, "", false ]
+
+[node name="MusicBtn" type="CheckBox" parent="SettingsWin/Grid"]
+margin_right = 66.0
+margin_bottom = 21.0
+pressed = true
+text = "KMUS"
+align = 1
+
+[node name="LicenseWin" type="AcceptDialog" parent="."]
+anchor_left = 0.5
+anchor_top = 0.5
+anchor_right = 0.5
+anchor_bottom = 0.5
+margin_left = -214.0
+margin_top = -138.0
+margin_right = 217.0
+margin_bottom = 137.0
+window_title = "KLIC"
+resizable = true
+
+[node name="LicenseTxt" type="RichTextLabel" parent="LicenseWin"]
+anchor_left = 0.5
+anchor_right = 0.5
+margin_left = -207.5
+margin_top = 8.0
+margin_right = 207.5
+margin_bottom = 223.0
+bbcode_enabled = true
+bbcode_text = "This Source Code Form is subject to the terms of the Mozilla Public
+License, v. 2.0. If a copy of the MPL was not distributed with this
+file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+[center]##########################[/center]
+
+Tony's Dress Up (c) by Anthony Wilcox
+
+Tony's Dress Up is licensed under a Creative Commons
+Attribution-ShareAlike 4.0 International License.
+
+You should have received a copy of the license along with this work.
+If not, see ."
+text = "This Source Code Form is subject to the terms of the Mozilla Public
+License, v. 2.0. If a copy of the MPL was not distributed with this
+file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+##########################
+
+Tony's Dress Up (c) by Anthony Wilcox
+
+Tony's Dress Up is licensed under a Creative Commons
+Attribution-ShareAlike 4.0 International License.
+
+You should have received a copy of the license along with this work.
+If not, see ."
+[connection signal="pressed" from="PauseWin/PauseVbox/SettingsBtn" to="." method="_on_SettingsBtn_pressed"]
+[connection signal="pressed" from="PauseWin/PauseVbox/ResumeBtn" to="." method="_on_ResumeBtn_pressed"]
+[connection signal="pressed" from="PauseWin/PauseVbox/ExitBtn" to="." method="_on_ExitBtn_pressed"]
+[connection signal="toggled" from="SettingsWin/Grid/MusicBtn" to="." method="_on_MusicBtn_toggled"]
diff --git a/scenes/wardrobe.tscn b/scenes/wardrobe.tscn
deleted file mode 100644
index fcd408d..0000000
--- a/scenes/wardrobe.tscn
+++ /dev/null
@@ -1,252 +0,0 @@
-[gd_scene load_steps=21 format=2]
-
-[ext_resource path="res://scenes/clothing/camera.tscn" type="PackedScene" id=1]
-[ext_resource path="res://scenes/clothing/undies/zBriefs.tscn" type="PackedScene" id=2]
-[ext_resource path="res://scenes/clothing/pants/beatUpJeans.tscn" type="PackedScene" id=3]
-[ext_resource path="res://scenes/clothing/pants/jeans.tscn" type="PackedScene" id=4]
-[ext_resource path="res://scenes/clothing/pants/skirt.tscn" type="PackedScene" id=5]
-[ext_resource path="res://scenes/clothing/pants/formalSkirt.tscn" type="PackedScene" id=6]
-[ext_resource path="res://scenes/clothing/pants/camoJeans.tscn" type="PackedScene" id=7]
-[ext_resource path="res://scenes/clothing/pants/djShorts.tscn" type="PackedScene" id=8]
-[ext_resource path="res://sprites/ui/x_button.svg" type="Texture" id=9]
-[ext_resource path="res://scenes/clothing/tops/whatsNewShirt.tscn" type="PackedScene" id=10]
-[ext_resource path="res://scenes/clothing/tops/zShirt.tscn" type="PackedScene" id=11]
-[ext_resource path="res://scenes/clothing/tops/rawShirt.tscn" type="PackedScene" id=12]
-[ext_resource path="res://scenes/clothing/tops/kormShirt.tscn" type="PackedScene" id=13]
-[ext_resource path="res://scenes/clothing/tops/djShirt.tscn" type="PackedScene" id=14]
-[ext_resource path="res://scenes/clothing/tops/atomicShirt.tscn" type="PackedScene" id=15]
-[ext_resource path="res://scenes/clothing/tops/nlShirt.tscn" type="PackedScene" id=16]
-[ext_resource path="res://scenes/clothing/pants/sweatPants.tscn" type="PackedScene" id=17]
-[ext_resource path="res://scenes/clothing/undies/briefs.tscn" type="PackedScene" id=20]
-[ext_resource path="res://scripts/wardrobe.gd" type="Script" id=21]
-[ext_resource path="res://scenes/clothing/undies/fundosi.tscn" type="PackedScene" id=22]
-
-[node name="Wordrobe" type="TabContainer"]
-anchor_right = 1.0
-anchor_bottom = 1.0
-custom_colors/font_color_disabled = Color( 0, 0, 0, 1 )
-custom_colors/font_color_bg = Color( 0.921569, 0.921569, 0.921569, 1 )
-custom_colors/font_color_fg = Color( 1, 1, 1, 1 )
-tab_align = 0
-script = ExtResource( 21 )
-__meta__ = {
-"_edit_use_anchors_": false
-}
-
-[node name="Pants" type="Tabs" parent="."]
-anchor_right = 1.0
-anchor_bottom = 1.0
-margin_left = 5.0
-margin_top = 41.0
-margin_right = -5.0
-margin_bottom = -10.0
-custom_constants/hseparation = 0
-
-[node name="PantsScroll" type="ScrollContainer" parent="Pants"]
-anchor_right = 1.0
-anchor_bottom = 1.0
-__meta__ = {
-"_edit_use_anchors_": false
-}
-
-[node name="PantsGrid" type="GridContainer" parent="Pants/PantsScroll"]
-margin_right = 790.0
-margin_bottom = 449.0
-size_flags_horizontal = 3
-size_flags_vertical = 3
-columns = 4
-
-[node name="beatUpJeans" parent="Pants/PantsScroll/PantsGrid" instance=ExtResource( 3 )]
-anchor_right = 0.0
-anchor_bottom = 0.0
-margin_right = 106.0
-margin_bottom = 112.0
-
-[node name="jeans" parent="Pants/PantsScroll/PantsGrid" instance=ExtResource( 4 )]
-anchor_right = 0.0
-anchor_bottom = 0.0
-margin_left = 110.0
-margin_right = 216.0
-margin_bottom = 112.0
-
-[node name="camoJeans" parent="Pants/PantsScroll/PantsGrid" instance=ExtResource( 7 )]
-anchor_right = 0.0
-anchor_bottom = 0.0
-margin_left = 220.0
-margin_right = 326.0
-margin_bottom = 112.0
-
-[node name="sweatPants" parent="Pants/PantsScroll/PantsGrid" instance=ExtResource( 17 )]
-anchor_right = 0.0
-anchor_bottom = 0.0
-margin_left = 330.0
-margin_right = 436.0
-margin_bottom = 112.0
-
-[node name="camoJeans2" parent="Pants/PantsScroll/PantsGrid" instance=ExtResource( 8 )]
-anchor_right = 0.0
-anchor_bottom = 0.0
-margin_top = 116.0
-margin_right = 106.0
-margin_bottom = 228.0
-
-[node name="formalSkirt" parent="Pants/PantsScroll/PantsGrid" instance=ExtResource( 6 )]
-anchor_right = 0.0
-anchor_bottom = 0.0
-margin_left = 110.0
-margin_top = 116.0
-margin_right = 216.0
-margin_bottom = 228.0
-
-[node name="skirt" parent="Pants/PantsScroll/PantsGrid" instance=ExtResource( 5 )]
-anchor_right = 0.0
-anchor_bottom = 0.0
-margin_left = 220.0
-margin_top = 116.0
-margin_right = 326.0
-margin_bottom = 228.0
-
-[node name="removePants" type="TextureButton" parent="Pants/PantsScroll/PantsGrid"]
-margin_left = 330.0
-margin_top = 116.0
-margin_right = 436.0
-margin_bottom = 228.0
-rect_min_size = Vector2( 0, 112 )
-texture_normal = ExtResource( 9 )
-
-[node name="Shirts" type="Tabs" parent="."]
-visible = false
-anchor_right = 1.0
-anchor_bottom = 1.0
-margin_left = 5.0
-margin_top = 41.0
-margin_right = -5.0
-margin_bottom = -10.0
-
-[node name="ShirtsScroll" type="ScrollContainer" parent="Shirts"]
-anchor_right = 1.0
-anchor_bottom = 1.0
-margin_left = 10.0
-margin_top = 10.0
-
-[node name="ShirtsGrid" type="GridContainer" parent="Shirts/ShirtsScroll"]
-margin_right = 780.0
-margin_bottom = 439.0
-size_flags_horizontal = 3
-size_flags_vertical = 3
-columns = 4
-
-[node name="djShirt" parent="Shirts/ShirtsScroll/ShirtsGrid" instance=ExtResource( 14 )]
-anchor_right = 0.0
-anchor_bottom = 0.0
-margin_right = 106.0
-margin_bottom = 115.0
-
-[node name="kormShirt" parent="Shirts/ShirtsScroll/ShirtsGrid" instance=ExtResource( 13 )]
-anchor_right = 0.0
-anchor_bottom = 0.0
-margin_left = 110.0
-margin_right = 216.0
-margin_bottom = 115.0
-
-[node name="atomicShirt" parent="Shirts/ShirtsScroll/ShirtsGrid" instance=ExtResource( 15 )]
-
-[node name="nlShirt" parent="Shirts/ShirtsScroll/ShirtsGrid" instance=ExtResource( 16 )]
-
-[node name="rawShirt" parent="Shirts/ShirtsScroll/ShirtsGrid" instance=ExtResource( 12 )]
-anchor_right = 0.0
-anchor_bottom = 0.0
-margin_left = 220.0
-margin_right = 326.0
-margin_bottom = 115.0
-
-[node name="zShirt" parent="Shirts/ShirtsScroll/ShirtsGrid" instance=ExtResource( 11 )]
-anchor_right = 0.0
-anchor_bottom = 0.0
-margin_left = 330.0
-margin_right = 436.0
-margin_bottom = 115.0
-
-[node name="whatsNewShirt" parent="Shirts/ShirtsScroll/ShirtsGrid" instance=ExtResource( 10 )]
-anchor_right = 0.0
-anchor_bottom = 0.0
-margin_top = 119.0
-margin_right = 106.0
-margin_bottom = 234.0
-
-[node name="removeShirt" type="TextureButton" parent="Shirts/ShirtsScroll/ShirtsGrid"]
-margin_left = 110.0
-margin_top = 119.0
-margin_right = 216.0
-margin_bottom = 234.0
-rect_min_size = Vector2( 0, 112 )
-texture_normal = ExtResource( 9 )
-
-[node name="Underwear" type="Tabs" parent="."]
-visible = false
-anchor_right = 1.0
-anchor_bottom = 1.0
-margin_left = 5.0
-margin_top = 41.0
-margin_right = -5.0
-margin_bottom = -10.0
-
-[node name="UndiesScroll" type="ScrollContainer" parent="Underwear"]
-anchor_right = 1.0
-anchor_bottom = 1.0
-
-[node name="UndiesGrid" type="GridContainer" parent="Underwear/UndiesScroll"]
-margin_right = 790.0
-margin_bottom = 449.0
-size_flags_horizontal = 3
-size_flags_vertical = 3
-columns = 3
-
-[node name="fundosi" parent="Underwear/UndiesScroll/UndiesGrid" instance=ExtResource( 22 )]
-margin_right = 106.0
-margin_bottom = 112.0
-
-[node name="zBriefs" parent="Underwear/UndiesScroll/UndiesGrid" instance=ExtResource( 2 )]
-margin_left = 110.0
-margin_right = 216.0
-margin_bottom = 112.0
-
-[node name="briefs" parent="Underwear/UndiesScroll/UndiesGrid" instance=ExtResource( 20 )]
-margin_left = 220.0
-margin_right = 326.0
-margin_bottom = 112.0
-
-[node name="Accessoires" type="Tabs" parent="."]
-visible = false
-anchor_right = 1.0
-anchor_bottom = 1.0
-margin_left = 5.0
-margin_top = 41.0
-margin_right = -5.0
-margin_bottom = -10.0
-
-[node name="AccsScroll" type="ScrollContainer" parent="Accessoires"]
-margin_left = 19.0
-margin_top = 22.0
-margin_right = 369.0
-margin_bottom = 494.0
-
-[node name="AccsGrid" type="GridContainer" parent="Accessoires/AccsScroll"]
-margin_right = 350.0
-margin_bottom = 472.0
-size_flags_horizontal = 3
-size_flags_vertical = 3
-columns = 3
-
-[node name="camera" parent="Accessoires/AccsScroll/AccsGrid" instance=ExtResource( 1 )]
-margin_right = 85.0
-margin_bottom = 112.0
-
-[node name="removeAccessory" type="TextureButton" parent="Accessoires/AccsScroll/AccsGrid"]
-margin_left = 89.0
-margin_right = 195.0
-margin_bottom = 112.0
-texture_normal = ExtResource( 9 )
-[connection signal="pressed" from="Pants/PantsScroll/PantsGrid/removePants" to="." method="_on_removePants_pressed"]
-[connection signal="pressed" from="Shirts/ShirtsScroll/ShirtsGrid/removeShirt" to="." method="_on_removeShirt_pressed"]
-[connection signal="pressed" from="Accessoires/AccsScroll/AccsGrid/removeAccessory" to="." method="_on_removeAccessory_pressed"]
diff --git a/screenshot.png b/screenshot.png
deleted file mode 100644
index 6fed88d..0000000
Binary files a/screenshot.png and /dev/null differ
diff --git a/scripts/Character.gd b/scripts/Character.gd
index 8a16630..49167e9 100644
--- a/scripts/Character.gd
+++ b/scripts/Character.gd
@@ -1,7 +1,15 @@
-extends Resource
-class_name Character
+# Anthony Wilcox licenses this file to you under the MPL license.
+# See the LICENSE file in the project root for more information.
+extends Node2D
-var top = null
-var bottom = null
-var underwear = null
-var accessory = null
+# Declare member variables here. Examples:
+# var a = 2
+# var b = "text"
+
+# Called when the node enters the scene tree for the first time.
+func _ready():
+ pass # Replace with function body.
+
+# Called every frame. 'delta' is the elapsed time since the previous frame.
+#func _process(delta):
+# pass
diff --git a/scripts/GameKit.gd b/scripts/GameKit.gd
new file mode 100644
index 0000000..a0401cc
--- /dev/null
+++ b/scripts/GameKit.gd
@@ -0,0 +1,29 @@
+# Anthony Wilcox licenses this file to you under the MPL license.
+# See the LICENSE file in the project root for more information.
+extends Node
+
+var version = "2.0"
+
+func _ready():
+ randomize()
+
+func is_game_paused(is_paused):
+ if is_paused == true:
+ get_tree().paused = true
+ else:
+ get_tree().paused = false
+
+func switch_scenes(new_mode):
+ if new_mode == "classic":
+ get_tree().change_scene("res://scenes/ClassicScn.tscn")
+ elif new_mode == "credits":
+ get_tree().change_scene("res://scenes/CreditsScn.tscn")
+ elif new_mode == "play":
+ get_tree().change_scene("res://scenes/GameScn.tscn")
+ elif new_mode == "title":
+ get_tree().change_scene("res://scenes/TitleScn.tscn")
+
+func if_file_exists(file):
+ var fileCheck = File.new()
+ var fileExists = fileCheck.file_exists(file)
+ fileCheck
diff --git a/scripts/GameScn.gd b/scripts/GameScn.gd
new file mode 100644
index 0000000..4203251
--- /dev/null
+++ b/scripts/GameScn.gd
@@ -0,0 +1,154 @@
+# Anthony Wilcox licenses this file to you under the MPL license.
+# See the LICENSE file in the project root for more information.
+extends Node2D
+
+enum ClothingLayer {
+ TOPS,
+ BOTTOMS,
+ UNDIES,
+ ACCESSORY,
+}
+
+# Default clothing
+onready var bottoms_placeholder = load("res://sprites/clothes/bottoms_placeholder.png")
+onready var tops_placeholder = load("res://sprites/clothes/tops_placeholder.png")
+onready var accessories_placeholder = load("res://sprites/clothes/tops_placeholder.png")
+
+onready var bottoms = $Character/Bottom
+onready var tops = $Character/Top
+onready var accessory = $Character/Accessory
+
+# var UndiesBtn = load("res://scenes/Clothing.tscenes")
+#
+#func _init():
+# init_underwear()
+
+func change_bottoms(new_bottom):
+ bottoms_placeholder = new_bottom
+
+ if new_bottom == null:
+ bottoms.texture = bottoms_placeholder
+ UserSettings.Bottoms = bottoms_placeholder
+
+# if undies == load("res://sprites/clothes/owo_censor.svg"):
+# change_undies(null)
+
+ bottoms.texture = bottoms_placeholder
+ UserSettings.Bottoms = bottoms_placeholder
+
+func change_undies(new_undies):
+ $Character/Undies.texture = new_undies
+ UserSettings.Underwear = new_undies
+
+func change_tops(new_top):
+ tops_placeholder = new_top
+
+ if new_top == null:
+ tops.texture = tops_placeholder
+ UserSettings.Tops = tops_placeholder
+
+ tops.texture = tops_placeholder
+ UserSettings.Tops = tops_placeholder
+
+func change_accessoires(new_accessory):
+ accessories_placeholder = new_accessory
+
+ if new_accessory == null:
+ accessory.texture = accessories_placeholder
+ UserSettings.Accessory = accessories_placeholder
+
+ accessory.texture = accessories_placeholder
+ UserSettings.Accessory = accessories_placeholder
+
+#func init_underwear():
+# var undiesFile = File.new()
+# undiesFile.open("res://undies.json", undiesFile.READ)
+# var undiesJson = parse_json(undiesFile.get_as_text())
+#
+# for object in undiesJson:
+# var underwear = UndiesBtn.instance()
+#
+# underwear.texture = load(object.sprite)
+#
+
+func _process(delta):
+
+ # Change clothes
+ # ===========================================================
+
+ if $UI/Base/Wordrobe/Accessoires/AccsScroll/AccsGrid/CanonCam.is_pressed():
+ change_accessoires(load("res://sprites/clothes/camera.png"))
+
+ if $UI/Base/Wordrobe/Pants/PantsScroll/PantsGrid/Jeans.is_pressed():
+ change_bottoms(load("res://sprites/clothes/jeans.svg"))
+
+ if $UI/Base/Wordrobe/Pants/PantsScroll/PantsGrid/Sweats.is_pressed():
+ change_bottoms(load("res://sprites/clothes/sweat_pants.svg"))
+
+ if $UI/Base/Wordrobe/Pants/PantsScroll/PantsGrid/BlueSkirt.is_pressed():
+ change_bottoms(load("res://sprites/clothes/blue_skirt.svg"))
+
+ if $UI/Base/Wordrobe/Pants/PantsScroll/PantsGrid/FormalSkirt.is_pressed():
+ change_bottoms(load("res://sprites/clothes/formal_skirt.svg"))
+
+ if $UI/Base/Wordrobe/Pants/PantsScroll/PantsGrid/BeatUpJeans.is_pressed():
+ change_bottoms(load("res://sprites/clothes/beat_up_jeans.svg"))
+
+ if $UI/Base/Wordrobe/Underwear/UndiesScroll/UndiesGrid/Briefs.is_pressed():
+ change_undies(load("res://sprites/clothes/briefs.svg"))
+
+ if $UI/Base/Wordrobe/Underwear/UndiesScroll/UndiesGrid/ZBriefs.is_pressed():
+ change_undies(load("res://sprites/clothes/z_briefs.svg"))
+
+ if $UI/Base/Wordrobe/Underwear/UndiesScroll/UndiesGrid/Fundosi.is_pressed():
+ change_undies(load("res://sprites/clothes/fundosi.svg"))
+
+ if $UI/Base/Wordrobe/Underwear/UndiesScroll/UndiesGrid/OwOCensor.is_pressed():
+ change_bottoms(null)
+ change_undies(load("res://sprites/clothes/owo_censor.svg"))
+
+
+ if $UI/Base/Wordrobe/Pants/PantsScroll/PantsGrid/BlueCamoJeans.is_pressed():
+ change_bottoms(load("res://sprites/clothes/blue_camo_jeans.svg"))
+
+ if $UI/Base/Wordrobe/Shirts/ShirtsScroll/ShirtsGrid/TrainHoodie.is_pressed():
+ change_tops(load("res://sprites/clothes/train_hoodie.svg"))
+
+ if $UI/Base/Wordrobe/Shirts/ShirtsScroll/ShirtsGrid/Sweatshirt.is_pressed():
+ change_tops(load("res://sprites/clothes/old_sweatshirt.svg"))
+
+ if $UI/Base/Wordrobe/Shirts/ShirtsScroll/ShirtsGrid/Raw.is_pressed():
+ change_tops(load("res://sprites/clothes/raw_shirt.svg"))
+
+ if $UI/Base/Wordrobe/Shirts/ShirtsScroll/ShirtsGrid/ZShirt.is_pressed():
+ change_tops(load("res://sprites/clothes/z_shirt.png"))
+
+ if $UI/Base/Wordrobe/Shirts/ShirtsScroll/ShirtsGrid/WhatsNewShirt.is_pressed():
+ change_tops(load("res://sprites/clothes/whatsnew_shirt.svg"))
+
+ if $UI/Base/Wordrobe/Shirts/ShirtsScroll/ShirtsGrid/Retro.is_pressed():
+ change_tops(load("res://sprites/clothes/retro_shirt.svg"))
+
+ if $UI/Base/Wordrobe/Shirts/ShirtsScroll/ShirtsGrid/KormShirt.is_pressed():
+ change_tops(load("res://sprites/clothes/korm_shirt.png"))
+
+ if $UI/Base/Wordrobe/Shirts/ShirtsScroll/ShirtsGrid/BikerJacket.is_pressed():
+ change_tops(load("res://sprites/clothes/biker_jacket.svg"))
+
+ if $UI/Base/Wordrobe/Shirts/ShirtsScroll/ShirtsGrid/Atomic.is_pressed():
+ change_tops(load("res://sprites/clothes/atomic_shirt.svg"))
+
+ if $UI/Base/Wordrobe/Shirts/ShirtsScroll/ShirtsGrid/NLJacket.is_pressed():
+ change_tops(load("res://sprites/clothes/nl_jacket.png"))
+
+ # Remove clothes
+ # ===========================================================
+
+ if $UI/Base/Wordrobe/Accessoires/AccsScroll/AccsGrid/RemoveAccessory.is_pressed():
+ change_accessoires(null)
+
+ if $UI/Base/Wordrobe/Shirts/ShirtsScroll/ShirtsGrid/RemoveShirt.is_pressed():
+ change_tops(null)
+
+ if $UI/Base/Wordrobe/Pants/PantsScroll/PantsGrid/RemovePants.is_pressed():
+ change_bottoms(null)
diff --git a/scripts/PauseScn.gd b/scripts/PauseScn.gd
new file mode 100644
index 0000000..1957556
--- /dev/null
+++ b/scripts/PauseScn.gd
@@ -0,0 +1,34 @@
+# Anthony Wilcox licenses this file to you under the MPL license.
+# See the LICENSE file in the project root for more information.
+extends Node
+
+func _process(delta):
+ if Input.is_action_just_pressed("ui_pause"):
+ $PauseWin.show()
+ GameKit.is_game_paused(true)
+
+func _on_ExitBtn_pressed():
+ GameKit.is_game_paused(false)
+ GameKit.switch_scenes("title")
+
+func _on_SettingsBtn_pressed():
+ $SettingsWin.show()
+
+func _on_CreditsBtn_pressed():
+ GameKit.switch_scenes("credits")
+
+func _on_LicenseBtn_pressed():
+ $LicenseWin.show()
+
+func _on_CloseAbtBtn_pressed():
+ $AboutWin.hide()
+
+func _on_MusicBtn_toggled(button_pressed):
+ if button_pressed == true:
+ UserSettings.IsMusicPaused = true
+ else:
+ UserSettings.IsMusicPaused = false
+
+func _on_ResumeBtn_pressed():
+ $PauseWin.hide()
+ GameKit.is_game_paused(false)
diff --git a/scripts/Soundtrack.gd b/scripts/Soundtrack.gd
new file mode 100644
index 0000000..a1b65b7
--- /dev/null
+++ b/scripts/Soundtrack.gd
@@ -0,0 +1,42 @@
+# Anthony Wilcox licenses this file to you under the MPL license.
+# See the LICENSE file in the project root for more information.
+extends AudioStreamPlayer
+
+var playlist = []
+var tracks = detect_music()
+
+func _ready():
+ play_random_song()
+ connect("finished", self, "play_random_song")
+
+
+func detect_music():
+ var files = []
+ var dir = Directory.new()
+ var music_dir = "res://music/";
+ dir.open(music_dir)
+ dir.list_dir_begin()
+
+ while true:
+ var file = dir.get_next()
+ if file == "":
+ break
+ elif not file.begins_with(".") and file.get_extension() == "ogg":
+ files.append(music_dir + file)
+
+ dir.list_dir_end()
+
+ return files
+
+func play_random_song():
+
+ if tracks.size() > 0:
+ playlist = tracks
+ var rand_song = randi() % playlist.size()
+ print_debug(playlist)
+# var audiostream = load(playlist[rand_song])
+# stream = audiostream
+# play()
+ print_debug(playlist[rand_song])
+ else:
+ print_debug("Music not found")
diff --git a/scripts/UserSettings.gd b/scripts/UserSettings.gd
new file mode 100644
index 0000000..7171f99
--- /dev/null
+++ b/scripts/UserSettings.gd
@@ -0,0 +1,9 @@
+# Anthony Wilcox licenses this file to you under the MPL license.
+# See the LICENSE file in the project root for more information.
+extends Node
+
+var Tops: Texture
+var Bottoms: Texture
+var Underwear: Texture
+var Accessory: Texture
+var IsMusicPaused: bool
\ No newline at end of file
diff --git a/scripts/characterBase.gd b/scripts/characterBase.gd
deleted file mode 100644
index 11cd684..0000000
--- a/scripts/characterBase.gd
+++ /dev/null
@@ -1,22 +0,0 @@
-# Anthony Wilcox licenses this file to you under the MPL license.
-# See the LICENSE file in the project root for more information.
-extends Node2D
-
-onready var character = preload("res://resources/character.tres")
-onready var accessory = $Accessory
-onready var underwear = $Undies
-onready var bottom = $Bottom
-onready var top = $Top
-
-func _process(delta):
- if character.accessory != null:
- accessory.texture = character.accessory
-
- if character.underwear != null:
- underwear.texture = character.underwear
-
- if character.bottom != null:
- bottom.texture = character.bottom
-
- if character.top != null:
- top.texture = character.top
diff --git a/scripts/clothing/accessoryBase.gd b/scripts/clothing/accessoryBase.gd
deleted file mode 100644
index 75b7764..0000000
--- a/scripts/clothing/accessoryBase.gd
+++ /dev/null
@@ -1,6 +0,0 @@
-extends "res://scripts/clothing/baseClothing.gd"
-
-onready var character = preload("res://resources/character.tres")
-
-func _on_accessory_pressed():
- character.accessory = texture_normal
diff --git a/scripts/clothing/baseClothing.gd b/scripts/clothing/baseClothing.gd
deleted file mode 100644
index 7d09770..0000000
--- a/scripts/clothing/baseClothing.gd
+++ /dev/null
@@ -1,2 +0,0 @@
-extends TextureButton
-
diff --git a/scripts/clothing/bottomsBase.gd b/scripts/clothing/bottomsBase.gd
deleted file mode 100644
index 5f20d50..0000000
--- a/scripts/clothing/bottomsBase.gd
+++ /dev/null
@@ -1,6 +0,0 @@
-extends "res://scripts/clothing/baseClothing.gd"
-
-onready var character = preload("res://resources/character.tres")
-
-func _on_bottoms_pressed():
- character.bottom = texture_normal
diff --git a/scripts/clothing/topsBase.gd b/scripts/clothing/topsBase.gd
deleted file mode 100644
index f1842fd..0000000
--- a/scripts/clothing/topsBase.gd
+++ /dev/null
@@ -1,6 +0,0 @@
-extends "res://scripts/clothing/baseClothing.gd"
-
-onready var character = preload("res://resources/character.tres")
-
-func _on_tops_pressed():
- character.top = texture_normal
diff --git a/scripts/clothing/undiesBase.gd b/scripts/clothing/undiesBase.gd
deleted file mode 100644
index ca50e52..0000000
--- a/scripts/clothing/undiesBase.gd
+++ /dev/null
@@ -1,6 +0,0 @@
-extends "res://scripts/clothing/baseClothing.gd"
-
-onready var character = preload("res://resources/character.tres")
-
-func _on_undies_pressed():
- character.underwear = texture_normal
diff --git a/scripts/ui.gd b/scripts/ui.gd
deleted file mode 100644
index b8afd1a..0000000
--- a/scripts/ui.gd
+++ /dev/null
@@ -1,10 +0,0 @@
-extends Control
-
-onready var character = preload("res://resources/character.tres")
-onready var blank_top = preload("res://sprites/clothes/blank_top.png")
-onready var blank_bottom = preload("res://sprites/clothes/blank_bottom.png")
-
-func _on_clearBtn_pressed():
- character.accessory = blank_top
- character.bottom = blank_bottom
- character.top = blank_top
diff --git a/scripts/wardrobe.gd b/scripts/wardrobe.gd
deleted file mode 100644
index bdd51cb..0000000
--- a/scripts/wardrobe.gd
+++ /dev/null
@@ -1,14 +0,0 @@
-extends TabContainer
-
-onready var character = preload("res://resources/character.tres")
-onready var blank_top = preload("res://sprites/clothes/blank_top.png")
-onready var blank_bottom = preload("res://sprites/clothes/blank_bottom.png")
-
-func _on_removeAccessory_pressed():
- character.accessory = blank_top
-
-func _on_removePants_pressed():
- character.bottom = blank_bottom
-
-func _on_removeShirt_pressed():
- character.top = blank_top
diff --git a/sprites/character/shadow.svg b/sprites/character/shadow.svg
deleted file mode 100644
index 6fb130c..0000000
--- a/sprites/character/shadow.svg
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
-
diff --git a/sprites/clothes/background.svg b/sprites/clothes/background.svg
index b12805d..cbb328d 100644
--- a/sprites/clothes/background.svg
+++ b/sprites/clothes/background.svg
@@ -14,7 +14,7 @@
viewBox="0 0 270.93332 158.75"
version="1.1"
id="svg8"
- inkscape:version="0.92.2 5c3e80d, 2017-08-06"
+ inkscape:version="0.92.3 (2405546, 2018-03-11)"
sodipodi:docname="background.svg">
@@ -26,8 +26,8 @@
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="3.959798"
- inkscape:cx="567.4085"
- inkscape:cy="43.190355"
+ inkscape:cx="189.35891"
+ inkscape:cy="63.393406"
inkscape:document-units="mm"
inkscape:current-layer="layer2"
showgrid="false"
@@ -37,9 +37,9 @@
fit-margin-right="0"
fit-margin-bottom="0"
inkscape:window-width="1920"
- inkscape:window-height="992"
- inkscape:window-x="0"
- inkscape:window-y="0"
+ inkscape:window-height="1001"
+ inkscape:window-x="-9"
+ inkscape:window-y="-9"
inkscape:window-maximized="1"
inkscape:measure-start="0,0"
inkscape:measure-end="0,0" />
@@ -51,7 +51,7 @@
image/svg+xml
-
+
@@ -73,12 +73,19 @@
y="3.7109376e-006"
ry="0.29877809" />
+ y="148.16667"
+ ry="0.29877809" />
+
diff --git a/sprites/clothes/blank_top.png.import b/sprites/clothes/blank_top.png.import
deleted file mode 100644
index 011dc2e..0000000
--- a/sprites/clothes/blank_top.png.import
+++ /dev/null
@@ -1,34 +0,0 @@
-[remap]
-
-importer="texture"
-type="StreamTexture"
-path="res://.import/blank_top.png-e145e75e3bc30a0f4722046da43ef638.stex"
-metadata={
-"vram_texture": false
-}
-
-[deps]
-
-source_file="res://sprites/clothes/blank_top.png"
-dest_files=[ "res://.import/blank_top.png-e145e75e3bc30a0f4722046da43ef638.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=false
-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=false
-svg/scale=1.0
diff --git a/sprites/clothes/blank_bottom.png b/sprites/clothes/bottoms_placeholder.png
similarity index 100%
rename from sprites/clothes/blank_bottom.png
rename to sprites/clothes/bottoms_placeholder.png
diff --git a/sprites/clothes/blank_bottom.png.import b/sprites/clothes/bottoms_placeholder.png.import
similarity index 66%
rename from sprites/clothes/blank_bottom.png.import
rename to sprites/clothes/bottoms_placeholder.png.import
index 686ad0f..93e2cfe 100644
--- a/sprites/clothes/blank_bottom.png.import
+++ b/sprites/clothes/bottoms_placeholder.png.import
@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
-path="res://.import/blank_bottom.png-920e015ef605c266d02e19063b5738b4.stex"
+path="res://.import/bottoms_placeholder.png-57674ec9f26757b6fa01589150ad74c7.stex"
metadata={
"vram_texture": false
}
[deps]
-source_file="res://sprites/clothes/blank_bottom.png"
-dest_files=[ "res://.import/blank_bottom.png-920e015ef605c266d02e19063b5738b4.stex" ]
+source_file="res://sprites/clothes/bottoms_placeholder.png"
+dest_files=[ "res://.import/bottoms_placeholder.png-57674ec9f26757b6fa01589150ad74c7.stex" ]
[params]
diff --git a/sprites/clothes/blank_top.png b/sprites/clothes/tops_placeholder.png
similarity index 100%
rename from sprites/clothes/blank_top.png
rename to sprites/clothes/tops_placeholder.png
diff --git a/sprites/character/shadow.svg.import b/sprites/clothes/tops_placeholder.png.import
similarity index 67%
rename from sprites/character/shadow.svg.import
rename to sprites/clothes/tops_placeholder.png.import
index 5d17114..ebd27d1 100644
--- a/sprites/character/shadow.svg.import
+++ b/sprites/clothes/tops_placeholder.png.import
@@ -2,15 +2,15 @@
importer="texture"
type="StreamTexture"
-path="res://.import/shadow.svg-5164915787bc95347e1112818d9bab36.stex"
+path="res://.import/tops_placeholder.png-f5a04655f1fc6c8a24a963628d2d193a.stex"
metadata={
"vram_texture": false
}
[deps]
-source_file="res://sprites/character/shadow.svg"
-dest_files=[ "res://.import/shadow.svg-5164915787bc95347e1112818d9bab36.stex" ]
+source_file="res://sprites/clothes/tops_placeholder.png"
+dest_files=[ "res://.import/tops_placeholder.png-f5a04655f1fc6c8a24a963628d2d193a.stex" ]
[params]
diff --git a/styles/Game.theme b/styles/Game.theme
new file mode 100644
index 0000000..0835f34
Binary files /dev/null and b/styles/Game.theme differ
diff --git a/resources/KBlueBtnDisabled.tres b/styles/KBlueBtnDisabled.tres
similarity index 100%
rename from resources/KBlueBtnDisabled.tres
rename to styles/KBlueBtnDisabled.tres
diff --git a/resources/KBlueBtnNormal.tres b/styles/KBlueBtnNormal.tres
similarity index 100%
rename from resources/KBlueBtnNormal.tres
rename to styles/KBlueBtnNormal.tres
diff --git a/resources/KBlueBtnPressed.tres b/styles/KBlueBtnPressed.tres
similarity index 100%
rename from resources/KBlueBtnPressed.tres
rename to styles/KBlueBtnPressed.tres
diff --git a/resources/KGreyPanel.tres b/styles/KGreyPanel.tres
similarity index 100%
rename from resources/KGreyPanel.tres
rename to styles/KGreyPanel.tres