diff --git a/README.md b/README.md
index 6c988ed..73c316b 100644
--- a/README.md
+++ b/README.md
@@ -4,6 +4,7 @@
Tony's Dress Up is a re-imagining of my first Flash game, ZC's Dress Up, developed back in 2007. I've included the Flash copies in the ``/archive`` directory. They can be played at [Ruffle](https://ruffle.rs/)'s demo page.
+
## Getting Started
### Prerequisites
@@ -12,10 +13,12 @@
## Authors
-- **Anthony Wilcox** - *Initial work* - [tonytins](https://github.com/tonytins)
-- **Kenney** - *UI assets* - [kenny.nl](https://www.kenney.nl/)
-
-## License
+* **Anthony Wilcox** - *Initial work* - [tonytins](https://github.com/tonytins)
+* **Kenney** - *UI assets* - [kenny.nl](https://www.kenney.nl/)
+* **Twemoji** - *Emojis* - [twemoji.twitter.com](https://twemoji.twitter.com/)
+
+
+ ## License
The source and assets are licensed under the MPL 2.0 License and CC-BY, respectfully - see the [LICENSE](LICENSE) and [ASSET-LICENSE](ASSET-LICENSE) for more details.
diff --git a/project.godot b/project.godot
index 4bcd87a..e85e42e 100644
--- a/project.godot
+++ b/project.godot
@@ -34,8 +34,9 @@ gdscript/completion/autocomplete_setters_and_getters=true
window/size/width=800
window/size/height=500
window/size/resizable=false
+window/energy_saving/keep_screen_on=false
mouse_cursor/custom_image="res://sprites/clothes/cursor.png"
-window/stretch/mode="viewport"
+window/stretch/mode="2d"
window/stretch/aspect="keep"
[gui]
diff --git a/scenes/characterBase.tscn b/scenes/character_base.tscn
similarity index 59%
rename from scenes/characterBase.tscn
rename to scenes/character_base.tscn
index 1d473c9..7dd38d8 100644
--- a/scenes/characterBase.tscn
+++ b/scenes/character_base.tscn
@@ -1,10 +1,10 @@
[gd_scene load_steps=32 format=2]
-[ext_resource path="res://scripts/characterBase.gd" type="Script" id=1]
+[ext_resource path="res://sprites/character/shadow.svg" type="Texture" 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]
-[ext_resource path="res://sprites/character_base.svg" type="Texture" id=5]
+[ext_resource path="res://sprites/character_base_legs.svg" type="Texture" id=5]
[ext_resource path="res://sprites/character/eyes/eyes1.png" type="Texture" id=6]
[ext_resource path="res://sprites/character/eyes/eyes2.png" type="Texture" id=7]
[ext_resource path="res://sprites/character/eyes/eyes3.png" type="Texture" id=8]
@@ -23,13 +23,40 @@
[ext_resource path="res://sprites/character/mouth/mouth9.png" type="Texture" id=21]
[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/character_base_top.svg" 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/character_base_head.svg" type="Texture" id=27]
[ext_resource path="res://sprites/character/mouth/mouth11.png" type="Texture" id=28]
-[sub_resource type="SpriteFrames" id=1]
+[sub_resource type="GDScript" id=1]
+script/source = "# 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 = $body/accessory
+#onready var underwear = $Undies
+onready var bottom = $body/legs
+onready var top = $body/top
+onready var eyes = $body/head/eyes
+onready var mouth = $body/head/mouth
+
+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
+"
+
+[sub_resource type="SpriteFrames" id=4]
animations = [ {
"frames": [ ExtResource( 2 ), ExtResource( 3 ), ExtResource( 4 ) ],
"loop": true,
@@ -54,48 +81,51 @@ animations = [ {
} ]
[node name="characterBase" type="Node2D"]
-script = ExtResource( 1 )
+position = Vector2( -19, -92 )
+script = SubResource( 1 )
-[node name="base" type="Node2D" parent="."]
-position = Vector2( -103.897, -160.477 )
+[node name="shadow" type="Sprite" parent="."]
+position = Vector2( 4.84271, 244.714 )
+texture = ExtResource( 1 )
-[node name="Tail" type="AnimatedSprite" parent="base"]
-position = Vector2( 55.0701, 172.425 )
-frames = SubResource( 1 )
+[node name="body" type="Node2D" parent="."]
+__meta__ = {
+"_edit_lock_": true
+}
+
+[node name="tail" type="AnimatedSprite" parent="body"]
+position = Vector2( -33.7592, 99.4079 )
+scale = Vector2( 0.927713, 1 )
+frames = SubResource( 4 )
+playing = true
+
+[node name="legs" type="Sprite" parent="body"]
+position = Vector2( 1.47027, 192.868 )
+texture = ExtResource( 5 )
+
+[node name="top" type="Sprite" parent="body"]
+position = Vector2( 7, 78 )
+texture = ExtResource( 25 )
+
+[node name="head" type="Sprite" parent="body"]
+position = Vector2( 10.6805, -25.1047 )
+texture = ExtResource( 27 )
+
+[node name="eyes" type="AnimatedSprite" parent="body/head"]
+position = Vector2( 17.6857, 4.22147 )
+frames = SubResource( 2 )
+frame = 3
+playing = true
+
+[node name="mouth" type="AnimatedSprite" parent="body/head"]
+position = Vector2( 38.1195, 8.68453 )
+frames = SubResource( 3 )
frame = 2
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 )
-
-[node name="Eyes" type="AnimatedSprite" parent="base"]
-position = Vector2( 114.227, 63.9224 )
-frames = SubResource( 2 )
-playing = true
-
-[node name="Mouth" type="AnimatedSprite" parent="base"]
-position = Vector2( 148.505, 68.0261 )
-frames = SubResource( 3 )
-frame = 7
-playing = true
-
-[node name="Undies" type="Sprite" parent="."]
-position = Vector2( -17.3889, 95.818 )
-texture = ExtResource( 24 )
-
-[node name="Bottom" type="Sprite" parent="."]
-position = Vector2( -15.7094, 90.851 )
-texture = ExtResource( 25 )
-
-[node name="Top" type="Sprite" parent="."]
-position = Vector2( -7.53471, -0.0449677 )
-texture = ExtResource( 26 )
-
-[node name="Accessory" type="Sprite" parent="."]
-position = Vector2( -10.6723, -5.33797 )
+[node name="accessory" type="Sprite" parent="body"]
+position = Vector2( 9.54095, 73.0832 )
texture = ExtResource( 26 )
+__meta__ = {
+"_edit_lock_": true
+}
diff --git a/scenes/clothing/base/accessoryBase.tscn b/scenes/clothing/base/accessoryBase.tscn
deleted file mode 100644
index d7e3746..0000000
--- a/scenes/clothing/base/accessoryBase.tscn
+++ /dev/null
@@ -1,8 +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/accessory_base.tscn b/scenes/clothing/base/accessory_base.tscn
new file mode 100644
index 0000000..4ad8233
--- /dev/null
+++ b/scenes/clothing/base/accessory_base.tscn
@@ -0,0 +1,9 @@
+[gd_scene load_steps=3 format=2]
+
+[ext_resource path="res://scenes/clothing/base/clothing_base.tscn" type="PackedScene" id=1]
+[ext_resource path="res://scripts/clothing/accessory_base.gd" type="Script" id=2]
+
+
+[node name="accessoryBase" instance=ExtResource( 1 )]
+script = ExtResource( 2 )
+[connection signal="pressed" from="." to="." method="_on_accessory_pressed"]
diff --git a/scenes/clothing/base/bottomsBase.tscn b/scenes/clothing/base/bottoms_base.tscn
similarity index 51%
rename from scenes/clothing/base/bottomsBase.tscn
rename to scenes/clothing/base/bottoms_base.tscn
index 317ba4c..ea9c653 100644
--- a/scenes/clothing/base/bottomsBase.tscn
+++ b/scenes/clothing/base/bottoms_base.tscn
@@ -1,7 +1,9 @@
[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]
+[ext_resource path="res://scenes/clothing/base/clothing_base.tscn" type="PackedScene" id=1]
+[ext_resource path="res://scripts/clothing/bottoms_base.gd" type="Script" id=2]
+
+
[node name="bottomsBase" instance=ExtResource( 1 )]
script = ExtResource( 2 )
diff --git a/scenes/clothing/base/baseClothing.tscn b/scenes/clothing/base/clothing_base.tscn
similarity index 84%
rename from scenes/clothing/base/baseClothing.tscn
rename to scenes/clothing/base/clothing_base.tscn
index d199229..8f28ed7 100644
--- a/scenes/clothing/base/baseClothing.tscn
+++ b/scenes/clothing/base/clothing_base.tscn
@@ -1,9 +1,8 @@
[gd_scene load_steps=3 format=2]
-[ext_resource path="res://scripts/clothing/baseClothing.gd" type="Script" id=1]
+[ext_resource path="res://scripts/clothing/clothing_base.gd" type="Script" id=1]
[ext_resource path="res://sounds/select_001.ogg" type="AudioStream" id=2]
-
[node name="baseClothing" type="TextureButton"]
anchor_right = 1.0
anchor_bottom = 1.0
diff --git a/scenes/clothing/base/topsBase.tscn b/scenes/clothing/base/tops_base.tscn
similarity index 51%
rename from scenes/clothing/base/topsBase.tscn
rename to scenes/clothing/base/tops_base.tscn
index 10d750c..36d3053 100644
--- a/scenes/clothing/base/topsBase.tscn
+++ b/scenes/clothing/base/tops_base.tscn
@@ -1,7 +1,9 @@
[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]
+[ext_resource path="res://scenes/clothing/base/clothing_base.tscn" type="PackedScene" id=1]
+[ext_resource path="res://scripts/clothing/tops_base.gd" type="Script" id=2]
+
+
[node name="topsBase" instance=ExtResource( 1 )]
script = ExtResource( 2 )
diff --git a/scenes/clothing/base/undiesBase.tscn b/scenes/clothing/base/undies_base.tscn
similarity index 52%
rename from scenes/clothing/base/undiesBase.tscn
rename to scenes/clothing/base/undies_base.tscn
index 569e1b8..74bba12 100644
--- a/scenes/clothing/base/undiesBase.tscn
+++ b/scenes/clothing/base/undies_base.tscn
@@ -1,7 +1,9 @@
[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]
+[ext_resource path="res://scripts/clothing/undies_base.gd" type="Script" id=1]
+[ext_resource path="res://scenes/clothing/base/clothing_base.tscn" type="PackedScene" id=2]
+
+
[node name="baseClothing" instance=ExtResource( 2 )]
script = ExtResource( 1 )
diff --git a/scenes/clothing/camera.tscn b/scenes/clothing/camera.tscn
index 0209b39..104d91d 100644
--- a/scenes/clothing/camera.tscn
+++ b/scenes/clothing/camera.tscn
@@ -1,11 +1,12 @@
[gd_scene load_steps=3 format=2]
-[ext_resource path="res://scenes/clothing/base/accessoryBase.tscn" type="PackedScene" id=1]
+[ext_resource path="res://scenes/clothing/base/accessory_base.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
diff --git a/scenes/clothing/pants/beatUpJeans.tscn b/scenes/clothing/pants/beat_Jeans.tscn
similarity index 63%
rename from scenes/clothing/pants/beatUpJeans.tscn
rename to scenes/clothing/pants/beat_Jeans.tscn
index 2ed835b..01a233c 100644
--- a/scenes/clothing/pants/beatUpJeans.tscn
+++ b/scenes/clothing/pants/beat_Jeans.tscn
@@ -1,12 +1,9 @@
[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://scenes/clothing/base/clothing_base.tscn" type="PackedScene" id=1]
+[ext_resource path="res://scripts/clothing/bottoms_base.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 )
diff --git a/scenes/clothing/pants/camoJeans.tscn b/scenes/clothing/pants/camoJeans.tscn
index 38e32bf..6b529b3 100644
--- a/scenes/clothing/pants/camoJeans.tscn
+++ b/scenes/clothing/pants/camoJeans.tscn
@@ -1,8 +1,10 @@
[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]
+[ext_resource path="res://scenes/clothing/base/clothing_base.tscn" type="PackedScene" id=2]
+[ext_resource path="res://scripts/clothing/bottoms_base.gd" type="Script" id=3]
+
+
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/dj_shorts.tscn b/scenes/clothing/pants/dj_shorts.tscn
new file mode 100644
index 0000000..24a40bb
--- /dev/null
+++ b/scenes/clothing/pants/dj_shorts.tscn
@@ -0,0 +1,10 @@
+[gd_scene load_steps=4 format=2]
+
+[ext_resource path="res://scenes/clothing/base/clothing_base.tscn" type="PackedScene" id=1]
+[ext_resource path="res://scripts/clothing/bottoms_base.gd" type="Script" id=2]
+[ext_resource path="res://sprites/clothes/dj_shorts.svg" type="Texture" id=3]
+
+[node name="camoJeans" 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/formalSkirt.tscn b/scenes/clothing/pants/formal_skirt.tscn
similarity index 63%
rename from scenes/clothing/pants/formalSkirt.tscn
rename to scenes/clothing/pants/formal_skirt.tscn
index 0f7d544..ceaeaac 100644
--- a/scenes/clothing/pants/formalSkirt.tscn
+++ b/scenes/clothing/pants/formal_skirt.tscn
@@ -1,10 +1,9 @@
[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://scenes/clothing/base/clothing_base.tscn" type="PackedScene" id=1]
+[ext_resource path="res://scripts/clothing/bottoms_base.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 )
diff --git a/scenes/clothing/pants/jeans.tscn b/scenes/clothing/pants/jeans.tscn
index 8cc5610..74866cc 100644
--- a/scenes/clothing/pants/jeans.tscn
+++ b/scenes/clothing/pants/jeans.tscn
@@ -1,10 +1,12 @@
[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://scenes/clothing/base/clothing_base.tscn" type="PackedScene" id=1]
+[ext_resource path="res://scripts/clothing/bottoms_base.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 )
diff --git a/scenes/clothing/pants/skirt.tscn b/scenes/clothing/pants/skirt.tscn
index a8f64ab..d2c3d1d 100644
--- a/scenes/clothing/pants/skirt.tscn
+++ b/scenes/clothing/pants/skirt.tscn
@@ -1,10 +1,12 @@
[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://scenes/clothing/base/clothing_base.tscn" type="PackedScene" id=1]
+[ext_resource path="res://scripts/clothing/bottoms_base.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 )
diff --git a/scenes/clothing/pants/sweatPants.tscn b/scenes/clothing/pants/sweatPants.tscn
index 1801a6c..d75ef84 100644
--- a/scenes/clothing/pants/sweatPants.tscn
+++ b/scenes/clothing/pants/sweatPants.tscn
@@ -1,8 +1,10 @@
[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]
+[ext_resource path="res://scenes/clothing/base/clothing_base.tscn" type="PackedScene" id=2]
+[ext_resource path="res://scripts/clothing/bottoms_base.gd" type="Script" id=3]
+
+
[node name="sweatPants" instance=ExtResource( 2 )]
texture_normal = ExtResource( 1 )
diff --git a/scenes/clothing/tops/atomicShirt.tscn b/scenes/clothing/tops/atomic_shirt.tscn
similarity index 63%
rename from scenes/clothing/tops/atomicShirt.tscn
rename to scenes/clothing/tops/atomic_shirt.tscn
index 4c0e92d..041c664 100644
--- a/scenes/clothing/tops/atomicShirt.tscn
+++ b/scenes/clothing/tops/atomic_shirt.tscn
@@ -1,7 +1,7 @@
[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://scenes/clothing/base/clothing_base.tscn" type="PackedScene" id=1]
+[ext_resource path="res://scripts/clothing/tops_base.gd" type="Script" id=2]
[ext_resource path="res://sprites/clothes/atomic_shirt.svg" type="Texture" id=3]
[node name="atomicShirt" instance=ExtResource( 1 )]
diff --git a/scenes/clothing/tops/djShirt.tscn b/scenes/clothing/tops/dj_shirt.tscn
similarity index 63%
rename from scenes/clothing/tops/djShirt.tscn
rename to scenes/clothing/tops/dj_shirt.tscn
index bbe311d..ed902ba 100644
--- a/scenes/clothing/tops/djShirt.tscn
+++ b/scenes/clothing/tops/dj_shirt.tscn
@@ -1,7 +1,7 @@
[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://scenes/clothing/base/clothing_base.tscn" type="PackedScene" id=1]
+[ext_resource path="res://scripts/clothing/tops_base.gd" type="Script" id=2]
[ext_resource path="res://sprites/clothes/dj_shirt.png" type="Texture" id=3]
[node name="djShirt" instance=ExtResource( 1 )]
diff --git a/scenes/clothing/tops/fullsnack_shirt.tscn b/scenes/clothing/tops/fullsnack_shirt.tscn
new file mode 100644
index 0000000..4f2fc8e
--- /dev/null
+++ b/scenes/clothing/tops/fullsnack_shirt.tscn
@@ -0,0 +1,10 @@
+[gd_scene load_steps=4 format=2]
+
+[ext_resource path="res://scenes/clothing/base/clothing_base.tscn" type="PackedScene" id=1]
+[ext_resource path="res://scripts/clothing/tops_base.gd" type="Script" id=2]
+[ext_resource path="res://sprites/clothes/fullsnack_shirt.svg" type="Texture" id=3]
+
+[node name="fullsnackShirt" 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/korm_shirt.tscn
similarity index 63%
rename from scenes/clothing/tops/kormShirt.tscn
rename to scenes/clothing/tops/korm_shirt.tscn
index cf6fd0a..1f232c7 100644
--- a/scenes/clothing/tops/kormShirt.tscn
+++ b/scenes/clothing/tops/korm_shirt.tscn
@@ -1,7 +1,7 @@
[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://scenes/clothing/base/clothing_base.tscn" type="PackedScene" id=1]
+[ext_resource path="res://scripts/clothing/tops_base.gd" type="Script" id=2]
[ext_resource path="res://sprites/clothes/korm_shirt.png" type="Texture" id=3]
[node name="kormShirt" instance=ExtResource( 1 )]
diff --git a/scenes/clothing/tops/nlShirt.tscn b/scenes/clothing/tops/nl_shirt.tscn
similarity index 63%
rename from scenes/clothing/tops/nlShirt.tscn
rename to scenes/clothing/tops/nl_shirt.tscn
index 01173bd..de1dcaf 100644
--- a/scenes/clothing/tops/nlShirt.tscn
+++ b/scenes/clothing/tops/nl_shirt.tscn
@@ -1,7 +1,7 @@
[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://scenes/clothing/base/clothing_base.tscn" type="PackedScene" id=1]
+[ext_resource path="res://scripts/clothing/tops_base.gd" type="Script" id=2]
[ext_resource path="res://sprites/clothes/nl_jacket.png" type="Texture" id=3]
[node name="nlShirt" instance=ExtResource( 1 )]
diff --git a/scenes/clothing/tops/rawShirt.tscn b/scenes/clothing/tops/rawShirt.tscn
index c976520..97b5837 100644
--- a/scenes/clothing/tops/rawShirt.tscn
+++ b/scenes/clothing/tops/rawShirt.tscn
@@ -1,9 +1,11 @@
[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://scenes/clothing/base/clothing_base.tscn" type="PackedScene" id=1]
+[ext_resource path="res://scripts/clothing/tops_base.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 )
diff --git a/scenes/clothing/tops/retro_shirt.tscn b/scenes/clothing/tops/retro_shirt.tscn
new file mode 100644
index 0000000..de1dcaf
--- /dev/null
+++ b/scenes/clothing/tops/retro_shirt.tscn
@@ -0,0 +1,10 @@
+[gd_scene load_steps=4 format=2]
+
+[ext_resource path="res://scenes/clothing/base/clothing_base.tscn" type="PackedScene" id=1]
+[ext_resource path="res://scripts/clothing/tops_base.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/skate_shirt.tscn b/scenes/clothing/tops/skate_shirt.tscn
new file mode 100644
index 0000000..f88c40f
--- /dev/null
+++ b/scenes/clothing/tops/skate_shirt.tscn
@@ -0,0 +1,10 @@
+[gd_scene load_steps=4 format=2]
+
+[ext_resource path="res://scenes/clothing/base/clothing_base.tscn" type="PackedScene" id=1]
+[ext_resource path="res://scripts/clothing/tops_base.gd" type="Script" id=2]
+[ext_resource path="res://sprites/clothes/skate_shirt.svg" type="Texture" id=3]
+
+[node name="skateShirt" 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/train_hoodie.tscn b/scenes/clothing/tops/train_hoodie.tscn
new file mode 100644
index 0000000..f36fe22
--- /dev/null
+++ b/scenes/clothing/tops/train_hoodie.tscn
@@ -0,0 +1,10 @@
+[gd_scene load_steps=4 format=2]
+
+[ext_resource path="res://scenes/clothing/base/clothing_base.tscn" type="PackedScene" id=1]
+[ext_resource path="res://scripts/clothing/tops_base.gd" type="Script" id=2]
+[ext_resource path="res://sprites/clothes/train_hoodie.svg" type="Texture" id=3]
+
+[node name="trainHoodie" 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/whatsnew_shirt.tscn
similarity index 64%
rename from scenes/clothing/tops/whatsNewShirt.tscn
rename to scenes/clothing/tops/whatsnew_shirt.tscn
index 4545551..2f23ea2 100644
--- a/scenes/clothing/tops/whatsNewShirt.tscn
+++ b/scenes/clothing/tops/whatsnew_shirt.tscn
@@ -1,7 +1,7 @@
[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://scenes/clothing/base/clothing_base.tscn" type="PackedScene" id=1]
+[ext_resource path="res://scripts/clothing/tops_base.gd" type="Script" id=2]
[ext_resource path="res://sprites/clothes/whatsnew_shirt.svg" type="Texture" id=3]
[node name="whatsNewShirt" instance=ExtResource( 1 )]
diff --git a/scenes/clothing/tops/zShirt.tscn b/scenes/clothing/tops/z_shirt.tscn
similarity index 63%
rename from scenes/clothing/tops/zShirt.tscn
rename to scenes/clothing/tops/z_shirt.tscn
index 3a1a23f..8266145 100644
--- a/scenes/clothing/tops/zShirt.tscn
+++ b/scenes/clothing/tops/z_shirt.tscn
@@ -1,7 +1,7 @@
[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://scenes/clothing/base/clothing_base.tscn" type="PackedScene" id=1]
+[ext_resource path="res://scripts/clothing/tops_base.gd" type="Script" id=2]
[ext_resource path="res://sprites/clothes/z_shirt.png" type="Texture" id=3]
[node name="zShirt" instance=ExtResource( 1 )]
diff --git a/scenes/clothing/undies/briefs.tscn b/scenes/clothing/undies/briefs.tscn
index fde30e2..7e96b28 100644
--- a/scenes/clothing/undies/briefs.tscn
+++ b/scenes/clothing/undies/briefs.tscn
@@ -1,7 +1,8 @@
[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]
+[ext_resource path="res://scenes/clothing/base/undies_base.tscn" type="PackedScene" id=2]
+
diff --git a/scenes/clothing/undies/fundosi.tscn b/scenes/clothing/undies/fundosi.tscn
index 5a0ac93..e2cec05 100644
--- a/scenes/clothing/undies/fundosi.tscn
+++ b/scenes/clothing/undies/fundosi.tscn
@@ -1,7 +1,8 @@
[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]
+[ext_resource path="res://scenes/clothing/base/undies_base.tscn" type="PackedScene" id=2]
+
diff --git a/scenes/clothing/undies/zBriefs.tscn b/scenes/clothing/undies/z_briefs.tscn
similarity index 68%
rename from scenes/clothing/undies/zBriefs.tscn
rename to scenes/clothing/undies/z_briefs.tscn
index 2e8d6af..2419428 100644
--- a/scenes/clothing/undies/zBriefs.tscn
+++ b/scenes/clothing/undies/z_briefs.tscn
@@ -1,7 +1,8 @@
[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]
+[ext_resource path="res://scenes/clothing/base/undies_base.tscn" type="PackedScene" id=2]
+
diff --git a/scenes/game.tscn b/scenes/game.tscn
index 90967cf..99bfbed 100644
--- a/scenes/game.tscn
+++ b/scenes/game.tscn
@@ -1,7 +1,7 @@
[gd_scene load_steps=10 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://scenes/character_base.tscn" type="PackedScene" id=1]
+[ext_resource path="res://sprites/world/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://sprites/clothes/icrazy_frame.svg" type="Texture" id=5]
@@ -28,7 +28,7 @@ position = Vector2( 35.118, -14.56 )
texture = ExtResource( 6 )
[node name="characterBase" parent="." instance=ExtResource( 1 )]
-position = Vector2( 126.596, 319.219 )
+position = Vector2( 145.146, 205.536 )
[node name="ui" type="CanvasLayer" parent="."]
@@ -40,16 +40,17 @@ __meta__ = {
"_edit_lock_": true,
"_edit_use_anchors_": true
}
+version = "1.5"
[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
+margin_left = -5.0
+margin_top = -20.0
+margin_right = 60.0
+margin_bottom = 109.0
[node name="clearBtn" type="TextureButton" parent="ui/base"]
margin_left = 752.0
@@ -67,4 +68,18 @@ __meta__ = {
[node name="clear" type="AudioStreamPlayer" parent="ui/base"]
stream = ExtResource( 9 )
+
+[node name="versionLbl" type="Label" parent="ui/base"]
+anchor_left = 1.0
+anchor_top = 1.0
+anchor_right = 1.0
+anchor_bottom = 1.0
+margin_left = -81.0
+margin_top = -28.0
+text = "[version]"
+align = 2
+valign = 3
+__meta__ = {
+"_edit_use_anchors_": false
+}
[connection signal="pressed" from="ui/base/clearBtn" to="ui/base" method="_on_clearBtn_pressed"]
diff --git a/scenes/wardrobe.tscn b/scenes/wardrobe.tscn
index 64503e0..b42c813 100644
--- a/scenes/wardrobe.tscn
+++ b/scenes/wardrobe.tscn
@@ -1,25 +1,21 @@
-[gd_scene load_steps=21 format=2]
+[gd_scene load_steps=17 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://sprites/clothes/retro_shirt.svg" type="Texture" id=2]
+[ext_resource path="res://scenes/clothing/pants/beat_Jeans.tscn" type="PackedScene" id=3]
+[ext_resource path="res://scenes/clothing/tops/skate_shirt.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/formal_skirt.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://scenes/clothing/pants/dj_shorts.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/whatsnew_shirt.tscn" type="PackedScene" id=10]
+[ext_resource path="res://scenes/clothing/tops/fullsnack_shirt.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/tops/atomic_shirt.tscn" type="PackedScene" id=15]
[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://scenes/clothing/tops/retro_shirt.tscn" type="PackedScene" id=18]
[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
@@ -57,62 +53,54 @@ size_flags_vertical = 3
columns = 4
[node name="removePants" type="TextureButton" parent="Pants/PantsScroll/PantsGrid"]
-margin_right = 106.0
-margin_bottom = 112.0
+margin_right = 113.0
+margin_bottom = 128.0
rect_min_size = Vector2( 0, 112 )
texture_normal = ExtResource( 9 )
[node name="beatUpJeans" parent="Pants/PantsScroll/PantsGrid" instance=ExtResource( 3 )]
anchor_right = 0.0
anchor_bottom = 0.0
-margin_left = 110.0
-margin_right = 216.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 = 220.0
-margin_right = 326.0
-margin_bottom = 112.0
+margin_left = 117.0
+margin_right = 227.0
+margin_bottom = 128.0
[node name="camoJeans" parent="Pants/PantsScroll/PantsGrid" instance=ExtResource( 7 )]
anchor_right = 0.0
anchor_bottom = 0.0
-margin_left = 330.0
-margin_right = 436.0
-margin_bottom = 112.0
+margin_left = 231.0
+margin_right = 342.0
+margin_bottom = 128.0
[node name="sweatPants" parent="Pants/PantsScroll/PantsGrid" instance=ExtResource( 17 )]
anchor_right = 0.0
anchor_bottom = 0.0
-margin_top = 116.0
-margin_right = 106.0
-margin_bottom = 228.0
+margin_left = 346.0
+margin_right = 457.0
+margin_bottom = 128.0
[node name="camoJeans2" parent="Pants/PantsScroll/PantsGrid" instance=ExtResource( 8 )]
anchor_right = 0.0
anchor_bottom = 0.0
-margin_left = 110.0
-margin_top = 116.0
-margin_right = 216.0
-margin_bottom = 228.0
+margin_top = 132.0
+margin_right = 113.0
+margin_bottom = 258.0
[node name="formalSkirt" parent="Pants/PantsScroll/PantsGrid" instance=ExtResource( 6 )]
anchor_right = 0.0
anchor_bottom = 0.0
-margin_left = 220.0
-margin_top = 116.0
-margin_right = 326.0
-margin_bottom = 228.0
+margin_left = 117.0
+margin_top = 132.0
+margin_right = 227.0
+margin_bottom = 258.0
[node name="skirt" parent="Pants/PantsScroll/PantsGrid" instance=ExtResource( 5 )]
anchor_right = 0.0
anchor_bottom = 0.0
-margin_left = 330.0
-margin_top = 116.0
-margin_right = 436.0
-margin_bottom = 228.0
+margin_left = 231.0
+margin_top = 132.0
+margin_right = 342.0
+margin_bottom = 258.0
[node name="Shirts" type="Tabs" parent="."]
visible = false
@@ -137,84 +125,55 @@ size_flags_vertical = 3
columns = 4
[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
+margin_right = 106.0
+margin_bottom = 113.0
rect_min_size = Vector2( 0, 112 )
texture_normal = ExtResource( 9 )
-[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 )]
+[node name="atomicShirt" parent="Shirts/ShirtsScroll/ShirtsGrid" instance=ExtResource( 15 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 110.0
margin_right = 216.0
-margin_bottom = 115.0
+margin_bottom = 113.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 )]
+[node name="skateShirt" parent="Shirts/ShirtsScroll/ShirtsGrid" instance=ExtResource( 4 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_left = 220.0
margin_right = 326.0
-margin_bottom = 115.0
+margin_bottom = 113.0
-[node name="zShirt" parent="Shirts/ShirtsScroll/ShirtsGrid" instance=ExtResource( 11 )]
+[node name="fullsnackShirt" 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
+margin_bottom = 113.0
+
+[node name="rawShirt" parent="Shirts/ShirtsScroll/ShirtsGrid" instance=ExtResource( 12 )]
+anchor_right = 0.0
+anchor_bottom = 0.0
+margin_top = 117.0
+margin_right = 106.0
+margin_bottom = 229.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="Underwear" type="Tabs" parent="."]
-visible = false
-anchor_right = 1.0
-anchor_bottom = 1.0
-margin_left = 5.0
-margin_top = 40.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 = 450.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_top = 117.0
margin_right = 326.0
-margin_bottom = 112.0
+margin_bottom = 229.0
+
+[node name="retroShirt" parent="Shirts/ShirtsScroll/ShirtsGrid" instance=ExtResource( 18 )]
+anchor_right = 0.0
+anchor_bottom = 0.0
+margin_left = 330.0
+margin_top = 117.0
+margin_right = 436.0
+margin_bottom = 229.0
+texture_normal = ExtResource( 2 )
[node name="Accessoires" type="Tabs" parent="."]
visible = false
@@ -239,13 +198,13 @@ size_flags_vertical = 3
columns = 3
[node name="removeAccessory" type="TextureButton" parent="Accessoires/AccsScroll/AccsGrid"]
-margin_left = 89.0
-margin_right = 195.0
+margin_right = 106.0
margin_bottom = 112.0
texture_normal = ExtResource( 9 )
[node name="camera" parent="Accessoires/AccsScroll/AccsGrid" instance=ExtResource( 1 )]
-margin_right = 85.0
+margin_left = 110.0
+margin_right = 195.0
margin_bottom = 112.0
[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"]
diff --git a/scripts/characterBase.gd b/scripts/character_base.gd
similarity index 100%
rename from scripts/characterBase.gd
rename to scripts/character_base.gd
diff --git a/scripts/clothing/accessoryBase.gd b/scripts/clothing/accessory_base.gd
similarity index 62%
rename from scripts/clothing/accessoryBase.gd
rename to scripts/clothing/accessory_base.gd
index 043eb9a..d2102c7 100644
--- a/scripts/clothing/accessoryBase.gd
+++ b/scripts/clothing/accessory_base.gd
@@ -1,4 +1,4 @@
-extends "res://scripts/clothing/baseClothing.gd"
+extends "res://scripts/clothing/clothing_base.gd"
func _on_accessory_pressed():
character.accessory = texture_normal
diff --git a/scripts/clothing/bottomsBase.gd b/scripts/clothing/bottoms_base.gd
similarity index 61%
rename from scripts/clothing/bottomsBase.gd
rename to scripts/clothing/bottoms_base.gd
index 35d7929..db36aca 100644
--- a/scripts/clothing/bottomsBase.gd
+++ b/scripts/clothing/bottoms_base.gd
@@ -1,4 +1,4 @@
-extends "res://scripts/clothing/baseClothing.gd"
+extends "res://scripts/clothing/clothing_base.gd"
func _on_bottoms_pressed():
character.bottom = texture_normal
diff --git a/scripts/clothing/baseClothing.gd b/scripts/clothing/clothing_base.gd
similarity index 100%
rename from scripts/clothing/baseClothing.gd
rename to scripts/clothing/clothing_base.gd
diff --git a/scripts/clothing/topsBase.gd b/scripts/clothing/tops_base.gd
similarity index 59%
rename from scripts/clothing/topsBase.gd
rename to scripts/clothing/tops_base.gd
index 3500f76..88bcff2 100644
--- a/scripts/clothing/topsBase.gd
+++ b/scripts/clothing/tops_base.gd
@@ -1,4 +1,4 @@
-extends "res://scripts/clothing/baseClothing.gd"
+extends "res://scripts/clothing/clothing_base.gd"
func _on_tops_pressed():
character.top = texture_normal
diff --git a/scripts/clothing/undiesBase.gd b/scripts/clothing/undies_base.gd
similarity index 62%
rename from scripts/clothing/undiesBase.gd
rename to scripts/clothing/undies_base.gd
index 66a174e..4f96176 100644
--- a/scripts/clothing/undiesBase.gd
+++ b/scripts/clothing/undies_base.gd
@@ -1,4 +1,4 @@
-extends "res://scripts/clothing/baseClothing.gd"
+extends "res://scripts/clothing/clothing_base.gd"
func _on_undies_pressed():
character.underwear = texture_normal
diff --git a/scripts/game_info.gd b/scripts/game_info.gd
new file mode 100644
index 0000000..1eccaec
--- /dev/null
+++ b/scripts/game_info.gd
@@ -0,0 +1,16 @@
+extends Node
+
+
+# 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/ui.gd b/scripts/ui.gd
index f9d17e1..5867720 100644
--- a/scripts/ui.gd
+++ b/scripts/ui.gd
@@ -1,12 +1,18 @@
-tool
extends Control
+export var version: String = "1.0.0"
+
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")
+onready var blank_accessory = preload("res://sprites/clothes/blank_top.png")
+onready var base_top = preload("res://sprites/character_base_top.svg")
+onready var base_bottom = preload("res://sprites/character_base_legs.svg")
+
+func _ready():
+ var verLabel = $versionLbl
+ verLabel.text = "v" + version
func _on_clearBtn_pressed():
$clear.play()
- character.accessory = blank_top
- character.bottom = blank_bottom
- character.top = blank_top
+ character.accessory = blank_accessory
+ character.bottom = base_bottom
+ character.top = base_top
diff --git a/scripts/wardrobe.gd b/scripts/wardrobe.gd
index 4741a96..3e2d94a 100644
--- a/scripts/wardrobe.gd
+++ b/scripts/wardrobe.gd
@@ -1,12 +1,13 @@
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")
+onready var blank_accessory = preload("res://sprites/clothes/blank_top.png")
+onready var base_top = preload("res://sprites/character_base_top.svg")
+onready var base_bottom = preload("res://sprites/character_base_legs.svg")
onready var pants_grid = $Pants/PantsScroll/PantsGrid
onready var shirts_grid = $Shirts/ShirtsScroll/ShirtsGrid
-onready var undies_grid = $Underwear/UndiesScroll/UndiesGrid
+#onready var undies_grid = $Underwear/UndiesScroll/UndiesGrid
onready var accs_grid = $Accessoires/AccsScroll/AccsGrid
func list_files_in_directory(path):
@@ -44,10 +45,8 @@ func check_for_dlc(dlc_pack):
# Lists the files in each of their respective directories
var shirts_dir = "res://scenes/dlc/shirts/"
var pants_dir = "res://scenes/dlc/pants/"
- var undies_dir = "res://scenes/dlc/undies/"
var dlc_shirts = list_files_in_directory(shirts_dir)
var dlc_pants = list_files_in_directory(pants_dir)
- var dlc_undies = list_files_in_directory(undies_dir)
# Make sure each file actually exist, instance them
# and add them to their respective tabs
@@ -62,22 +61,16 @@ func check_for_dlc(dlc_pack):
var init = load(pants_dir + pants).instance()
shirts_grid.add_child(init)
print_debug("Initialized: " + pants_dir + pants)
-
- for undies in dlc_undies:
- if dir.file_exists(undies_dir + undies):
- var init = load(undies_dir + undies).instance()
- shirts_grid.add_child(init)
- print_debug("Initialized: " + undies_dir + undies)
func _ready():
-# check_for_dlc("testdlc.pck")
+ check_for_dlc("emojidlc.pck")
pass
func _on_removeAccessory_pressed():
- character.accessory = blank_top
+ character.accessory = blank_accessory
func _on_removePants_pressed():
- character.bottom = blank_bottom
+ character.bottom = base_bottom
func _on_removeShirt_pressed():
- character.top = blank_top
+ character.top = base_top
diff --git a/sprites/character_base.svg b/sprites/character_base.svg
index 925e51f..8de1b63 100644
--- a/sprites/character_base.svg
+++ b/sprites/character_base.svg
@@ -1,6 +1,4 @@
-
-
diff --git a/sprites/character_base_head.svg b/sprites/character_base_head.svg
new file mode 100644
index 0000000..9908a7c
--- /dev/null
+++ b/sprites/character_base_head.svg
@@ -0,0 +1,163 @@
+
+
diff --git a/sprites/character_base_head.svg.import b/sprites/character_base_head.svg.import
new file mode 100644
index 0000000..77dc463
--- /dev/null
+++ b/sprites/character_base_head.svg.import
@@ -0,0 +1,37 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path.s3tc="res://.import/character_base_head.svg-676d46367d94a199498d7bd1637f2751.s3tc.stex"
+path.etc2="res://.import/character_base_head.svg-676d46367d94a199498d7bd1637f2751.etc2.stex"
+path.etc="res://.import/character_base_head.svg-676d46367d94a199498d7bd1637f2751.etc.stex"
+metadata={
+"imported_formats": [ "s3tc", "etc2", "etc" ],
+"vram_texture": true
+}
+
+[deps]
+
+source_file="res://sprites/character_base_head.svg"
+dest_files=[ "res://.import/character_base_head.svg-676d46367d94a199498d7bd1637f2751.s3tc.stex", "res://.import/character_base_head.svg-676d46367d94a199498d7bd1637f2751.etc2.stex", "res://.import/character_base_head.svg-676d46367d94a199498d7bd1637f2751.etc.stex" ]
+
+[params]
+
+compress/mode=2
+compress/lossy_quality=0.7
+compress/hdr_mode=0
+compress/bptc_ldr=0
+compress/normal_map=0
+flags/repeat=true
+flags/filter=true
+flags/mipmaps=true
+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/character_base_legs.svg b/sprites/character_base_legs.svg
new file mode 100644
index 0000000..dc7080c
--- /dev/null
+++ b/sprites/character_base_legs.svg
@@ -0,0 +1,94 @@
+
+
diff --git a/sprites/character_base_legs.svg.import b/sprites/character_base_legs.svg.import
new file mode 100644
index 0000000..bd1dfd2
--- /dev/null
+++ b/sprites/character_base_legs.svg.import
@@ -0,0 +1,37 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path.s3tc="res://.import/character_base_legs.svg-4cf4e66a310067e682001fe7afdf827b.s3tc.stex"
+path.etc2="res://.import/character_base_legs.svg-4cf4e66a310067e682001fe7afdf827b.etc2.stex"
+path.etc="res://.import/character_base_legs.svg-4cf4e66a310067e682001fe7afdf827b.etc.stex"
+metadata={
+"imported_formats": [ "s3tc", "etc2", "etc" ],
+"vram_texture": true
+}
+
+[deps]
+
+source_file="res://sprites/character_base_legs.svg"
+dest_files=[ "res://.import/character_base_legs.svg-4cf4e66a310067e682001fe7afdf827b.s3tc.stex", "res://.import/character_base_legs.svg-4cf4e66a310067e682001fe7afdf827b.etc2.stex", "res://.import/character_base_legs.svg-4cf4e66a310067e682001fe7afdf827b.etc.stex" ]
+
+[params]
+
+compress/mode=2
+compress/lossy_quality=0.7
+compress/hdr_mode=0
+compress/bptc_ldr=0
+compress/normal_map=0
+flags/repeat=true
+flags/filter=true
+flags/mipmaps=true
+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/character_base_top.svg b/sprites/character_base_top.svg
new file mode 100644
index 0000000..cfc662f
--- /dev/null
+++ b/sprites/character_base_top.svg
@@ -0,0 +1,128 @@
+
+
diff --git a/sprites/character_base_top.svg.import b/sprites/character_base_top.svg.import
new file mode 100644
index 0000000..5360e10
--- /dev/null
+++ b/sprites/character_base_top.svg.import
@@ -0,0 +1,37 @@
+[remap]
+
+importer="texture"
+type="StreamTexture"
+path.s3tc="res://.import/character_base_top.svg-9f8e94d783c70eb7b043560add3bb9e3.s3tc.stex"
+path.etc2="res://.import/character_base_top.svg-9f8e94d783c70eb7b043560add3bb9e3.etc2.stex"
+path.etc="res://.import/character_base_top.svg-9f8e94d783c70eb7b043560add3bb9e3.etc.stex"
+metadata={
+"imported_formats": [ "s3tc", "etc2", "etc" ],
+"vram_texture": true
+}
+
+[deps]
+
+source_file="res://sprites/character_base_top.svg"
+dest_files=[ "res://.import/character_base_top.svg-9f8e94d783c70eb7b043560add3bb9e3.s3tc.stex", "res://.import/character_base_top.svg-9f8e94d783c70eb7b043560add3bb9e3.etc2.stex", "res://.import/character_base_top.svg-9f8e94d783c70eb7b043560add3bb9e3.etc.stex" ]
+
+[params]
+
+compress/mode=2
+compress/lossy_quality=0.7
+compress/hdr_mode=0
+compress/bptc_ldr=0
+compress/normal_map=0
+flags/repeat=true
+flags/filter=true
+flags/mipmaps=true
+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/atomic_shirt.png b/sprites/clothes/atomic_shirt.png
deleted file mode 100644
index 97f66c5..0000000
Binary files a/sprites/clothes/atomic_shirt.png and /dev/null differ
diff --git a/sprites/clothes/atomic_shirt.svg b/sprites/clothes/atomic_shirt.svg
index 1c218f6..17d0688 100644
--- a/sprites/clothes/atomic_shirt.svg
+++ b/sprites/clothes/atomic_shirt.svg
@@ -1,6 +1,4 @@
-
-
diff --git a/sprites/clothes/beat_up_jeans.png b/sprites/clothes/beat_up_jeans.png
deleted file mode 100644
index 050a638..0000000
Binary files a/sprites/clothes/beat_up_jeans.png and /dev/null differ
diff --git a/sprites/clothes/beat_up_jeans.svg b/sprites/clothes/beat_up_jeans.svg
index 88d4402..11d9ae3 100644
--- a/sprites/clothes/beat_up_jeans.svg
+++ b/sprites/clothes/beat_up_jeans.svg
@@ -1,6 +1,4 @@
-
-