diff --git a/project/ClassicClothes.tscn b/project/ClassicClothes.tscn new file mode 100644 index 0000000..54b53af --- /dev/null +++ b/project/ClassicClothes.tscn @@ -0,0 +1,506 @@ +[gd_scene load_steps=18 format=2] + +[ext_resource path="res://assets/briefs_classic.png" type="Texture" id=1] +[ext_resource path="res://src/ItemDrag.gd" type="Script" id=2] +[ext_resource path="res://assets/zbriefs_classic.png" type="Texture" id=3] +[ext_resource path="res://assets/jeans.png" type="Texture" id=4] +[ext_resource path="res://assets/dj_shorts.png" type="Texture" id=5] +[ext_resource path="res://assets/sweat_pants.png" type="Texture" id=6] +[ext_resource path="res://assets/blue_camo_jeans.png" type="Texture" id=7] +[ext_resource path="res://assets/beat_up_jeans.png" type="Texture" id=8] +[ext_resource path="res://assets/old_sweatshirt.png" type="Texture" id=9] +[ext_resource path="res://assets/raw_shirt.png" type="Texture" id=10] +[ext_resource path="res://assets/atomic_shirt.png" type="Texture" id=11] +[ext_resource path="res://assets/z_shirt.png" type="Texture" id=12] +[ext_resource path="res://assets/biker_jacket.png" type="Texture" id=13] +[ext_resource path="res://assets/whatsnew_shirt.png" type="Texture" id=14] +[ext_resource path="res://assets/train_hoodie.png" type="Texture" id=15] +[ext_resource path="res://assets/camera.png" type="Texture" id=16] +[ext_resource path="res://assets/owo_censor_classic.png" type="Texture" id=17] + +[node name="Clothes" type="Node"] + +[node name="Wordrobe" type="ReferenceRect" parent="." index="0"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 193.0 +margin_top = 17.0 +margin_right = 775.0 +margin_bottom = 527.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 + +[node name="Underwear" type="Node" parent="Wordrobe" index="0"] + +[node name="Briefs" type="TextureButton" parent="Wordrobe/Underwear" index="0"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 517.0 +margin_top = 462.0 +margin_right = 585.0 +margin_bottom = 496.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +texture_normal = ExtResource( 1 ) +script = ExtResource( 2 ) + +[node name="ZBriefs" type="TextureButton" parent="Wordrobe/Underwear" index="1"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 403.0 +margin_top = 463.0 +margin_right = 471.0 +margin_bottom = 497.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +texture_normal = ExtResource( 3 ) +script = ExtResource( 2 ) +_sections_unfolded = [ "Textures" ] + +[node name="Bottoms" type="Node" parent="Wordrobe" index="1"] + +[node name="Jeans" type="TextureButton" parent="Wordrobe/Bottoms" index="0"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 610.0 +margin_top = 298.0 +margin_right = 716.0 +margin_bottom = 410.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +texture_normal = ExtResource( 4 ) +script = ExtResource( 2 ) +_sections_unfolded = [ "Textures" ] + +[node name="DJ Shorts" type="TextureButton" parent="Wordrobe/Bottoms" index="1"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 624.0 +margin_top = 421.0 +margin_right = 720.0 +margin_bottom = 514.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +texture_normal = ExtResource( 5 ) +script = ExtResource( 2 ) +_sections_unfolded = [ "Anchor", "Textures" ] + +[node name="Sweats" type="TextureButton" parent="Wordrobe/Bottoms" index="2"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 480.0 +margin_top = 324.0 +margin_right = 586.0 +margin_bottom = 436.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +texture_normal = ExtResource( 6 ) +script = ExtResource( 2 ) +_sections_unfolded = [ "Textures" ] + +[node name="Blue Camo Jeans" type="TextureButton" parent="Wordrobe/Bottoms" index="3"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 230.0 +margin_top = 406.0 +margin_right = 336.0 +margin_bottom = 518.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +texture_normal = ExtResource( 7 ) +script = ExtResource( 2 ) +_sections_unfolded = [ "Textures" ] + +[node name="Beat Up Jeans" type="TextureButton" parent="Wordrobe/Bottoms" index="4"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 362.0 +margin_top = 322.0 +margin_right = 468.0 +margin_bottom = 434.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +texture_normal = ExtResource( 8 ) +script = ExtResource( 2 ) +_sections_unfolded = [ "Textures" ] + +[node name="Tops" type="Node" parent="Wordrobe" index="2"] + +[node name="Sweatshirt" type="TextureButton" parent="Wordrobe/Tops" index="0"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 639.0 +margin_top = 40.0 +margin_right = 724.0 +margin_bottom = 150.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +texture_normal = ExtResource( 9 ) +script = ExtResource( 2 ) +_sections_unfolded = [ "Textures" ] + +[node name="DJ Shirt" type="TextureButton" parent="Wordrobe/Tops" index="1"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 640.0 +margin_top = 162.0 +margin_right = 725.0 +margin_bottom = 272.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +texture_normal = ExtResource( 9 ) +script = ExtResource( 2 ) +_sections_unfolded = [ "Textures" ] + +[node name="Raw" type="TextureButton" parent="Wordrobe/Tops" index="2"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 243.0 +margin_top = 31.0 +margin_right = 324.0 +margin_bottom = 144.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +texture_normal = ExtResource( 10 ) +script = ExtResource( 2 ) +_sections_unfolded = [ "Textures" ] + +[node name="Atomic Shirt" type="TextureButton" parent="Wordrobe/Tops" index="3"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 514.0 +margin_top = 39.0 +margin_right = 595.0 +margin_bottom = 154.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +texture_normal = ExtResource( 11 ) +script = ExtResource( 2 ) +_sections_unfolded = [ "Textures" ] + +[node name="Z Shirt" type="TextureButton" parent="Wordrobe/Tops" index="4"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 381.0 +margin_top = 184.0 +margin_right = 462.0 +margin_bottom = 299.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +texture_normal = ExtResource( 12 ) +script = ExtResource( 2 ) +_sections_unfolded = [ "Textures" ] + +[node name="Biker Jacket" type="TextureButton" parent="Wordrobe/Tops" index="5"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 249.0 +margin_top = 281.0 +margin_right = 334.0 +margin_bottom = 396.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +texture_normal = ExtResource( 13 ) +script = ExtResource( 2 ) +_sections_unfolded = [ "Textures" ] + +[node name="What's New" type="TextureButton" parent="Wordrobe/Tops" index="6"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 245.0 +margin_top = 156.0 +margin_right = 330.0 +margin_bottom = 271.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +texture_normal = ExtResource( 14 ) +script = ExtResource( 2 ) +_sections_unfolded = [ "Textures" ] + +[node name="Train Shirt" type="TextureButton" parent="Wordrobe/Tops" index="7"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 508.0 +margin_top = 182.0 +margin_right = 593.0 +margin_bottom = 297.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +texture_normal = ExtResource( 15 ) +script = ExtResource( 2 ) +_sections_unfolded = [ "Textures" ] + +[node name="Accessories" type="Node" parent="Wordrobe" index="3"] + +[node name="Camera" type="TextureButton" parent="Wordrobe/Accessories" index="0"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 394.0 +margin_top = 100.0 +margin_right = 443.0 +margin_bottom = 162.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +texture_normal = ExtResource( 16 ) +script = ExtResource( 2 ) +_sections_unfolded = [ "Textures" ] + +[node name="OwO Censor" type="TextureButton" parent="Wordrobe/Accessories" index="1"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 367.0 +margin_top = 43.0 +margin_right = 472.0 +margin_bottom = 83.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +texture_normal = ExtResource( 17 ) +script = ExtResource( 2 ) +_sections_unfolded = [ "Textures" ] + +[connection signal="gui_input" from="Wordrobe/Underwear/Briefs" to="Wordrobe/Underwear/Briefs" method="_on_outfit_gui_input"] + +[connection signal="gui_input" from="Wordrobe/Underwear/ZBriefs" to="Wordrobe/Underwear/ZBriefs" method="_on_outfit_gui_input"] + +[connection signal="gui_input" from="Wordrobe/Bottoms/Jeans" to="Wordrobe/Bottoms/Jeans" method="_on_outfit_gui_input"] + +[connection signal="gui_input" from="Wordrobe/Bottoms/DJ Shorts" to="Wordrobe/Bottoms/DJ Shorts" method="_on_outfit_gui_input"] + +[connection signal="gui_input" from="Wordrobe/Bottoms/Sweats" to="Wordrobe/Bottoms/Sweats" method="_on_outfit_gui_input"] + +[connection signal="gui_input" from="Wordrobe/Bottoms/Blue Camo Jeans" to="Wordrobe/Bottoms/Blue Camo Jeans" method="_on_outfit_gui_input"] + +[connection signal="gui_input" from="Wordrobe/Bottoms/Beat Up Jeans" to="Wordrobe/Bottoms/Beat Up Jeans" method="_on_outfit_gui_input"] + +[connection signal="gui_input" from="Wordrobe/Tops/Sweatshirt" to="Wordrobe/Tops/Sweatshirt" method="_on_outfit_gui_input"] + +[connection signal="gui_input" from="Wordrobe/Tops/DJ Shirt" to="Wordrobe/Tops/DJ Shirt" method="_on_outfit_gui_input"] + +[connection signal="gui_input" from="Wordrobe/Tops/Raw" to="Wordrobe/Tops/Raw" method="_on_outfit_gui_input"] + +[connection signal="gui_input" from="Wordrobe/Tops/Atomic Shirt" to="Wordrobe/Tops/Atomic Shirt" method="_on_outfit_gui_input"] + +[connection signal="gui_input" from="Wordrobe/Tops/Z Shirt" to="Wordrobe/Tops/Z Shirt" method="_on_outfit_gui_input"] + +[connection signal="gui_input" from="Wordrobe/Tops/Biker Jacket" to="Wordrobe/Tops/Biker Jacket" method="_on_outfit_gui_input"] + +[connection signal="gui_input" from="Wordrobe/Tops/What's New" to="Wordrobe/Tops/What's New" method="_on_outfit_gui_input"] + +[connection signal="gui_input" from="Wordrobe/Tops/Train Shirt" to="Wordrobe/Tops/Train Shirt" method="_on_outfit_gui_input"] + +[connection signal="gui_input" from="Wordrobe/Accessories/Camera" to="Wordrobe/Accessories/Camera" method="_on_outfit_gui_input"] + +[connection signal="gui_input" from="Wordrobe/Accessories/OwO Censor" to="Wordrobe/Accessories/OwO Censor" method="_on_outfit_gui_input"] + + diff --git a/project/ClassicInterface.tscn b/project/ClassicInterface.tscn new file mode 100644 index 0000000..1f193ab --- /dev/null +++ b/project/ClassicInterface.tscn @@ -0,0 +1,152 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://src/Interface.gd" type="Script" id=1] +[ext_resource path="res://music/song.ogg" type="AudioStream" id=2] +[ext_resource path="res://WinDialogs.tscn" type="PackedScene" id=3] + +[node name="Interface" type="Control"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_top = -7.0 +margin_right = 40.0 +margin_bottom = 33.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +script = ExtResource( 1 ) + +[node name="Music" type="AudioStreamPlayer" parent="." index="0"] + +stream = ExtResource( 2 ) +volume_db = 0.0 +pitch_scale = 1.0 +autoplay = false +mix_target = 0 +bus = "Master" + +[node name="RefRect" type="ReferenceRect" parent="." index="1"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 11.0 +margin_top = 16.0 +margin_right = 165.0 +margin_bottom = 128.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 + +[node name="VertContainer" type="VBoxContainer" parent="RefRect" index="0"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = 4.0 +margin_top = 3.0 +margin_right = -3.0 +margin_bottom = -111.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +mouse_filter = 1 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +alignment = 0 + +[node name="MusicBtn" type="CheckBox" parent="RefRect/VertContainer" index="0"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_right = 147.0 +margin_bottom = 24.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +custom_colors/font_color = Color( 0, 0, 0, 1 ) +custom_colors/font_color_hover = Color( 0, 0, 0, 1 ) +custom_colors/font_color_pressed = Color( 0, 0, 0, 1 ) +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +group = null +text = "KMUS" +flat = false +align = 1 +_sections_unfolded = [ "custom_colors" ] + +[node name="ModernBtn" type="Button" parent="RefRect/VertContainer" index="1"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_top = 28.0 +margin_right = 147.0 +margin_bottom = 48.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +text = "Modern" +flat = false +align = 1 + +[node name="AboutBtn" type="Button" parent="RefRect/VertContainer" index="2"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_top = 52.0 +margin_right = 147.0 +margin_bottom = 72.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +text = "KABO" +flat = false +align = 1 +_sections_unfolded = [ "Margin" ] + +[node name="WinDialogs" parent="." index="2" instance=ExtResource( 3 )] + +[connection signal="toggled" from="RefRect/VertContainer/MusicBtn" to="." method="_on_MusicBtn_toggled"] + +[connection signal="pressed" from="RefRect/VertContainer/ModernBtn" to="." method="_on_ModernBtn_pressed"] + +[connection signal="pressed" from="RefRect/VertContainer/AboutBtn" to="." method="_on_AboutBtn_pressed"] + + diff --git a/project/ClassicScreen.tscn b/project/ClassicScreen.tscn new file mode 100644 index 0000000..ca6bb23 --- /dev/null +++ b/project/ClassicScreen.tscn @@ -0,0 +1,37 @@ +[gd_scene load_steps=7 format=2] + +[ext_resource path="res://src/GameScreen.gd" type="Script" id=1] +[ext_resource path="res://assets/dress_up_bg.png" type="Texture" id=2] +[ext_resource path="res://assets/lights.png" type="Texture" id=3] +[ext_resource path="res://Zack.tscn" type="PackedScene" id=4] +[ext_resource path="res://ClassicClothes.tscn" type="PackedScene" id=5] +[ext_resource path="res://ClassicInterface.tscn" type="PackedScene" id=6] + +[node name="GameScreen" type="Node"] + +script = ExtResource( 1 ) + +[node name="Background" type="Sprite" parent="." index="0"] + +position = Vector2( 400, 277 ) +texture = ExtResource( 2 ) +__meta__ = { +"_edit_lock_": true +} + +[node name="Lights" type="Sprite" parent="." index="1"] + +position = Vector2( 477.823, 100.811 ) +texture = ExtResource( 3 ) +_sections_unfolded = [ "Z Index" ] +__meta__ = { +"_edit_lock_": true +} + +[node name="Zack" parent="." index="2" instance=ExtResource( 4 )] + +[node name="Clothes" parent="." index="3" instance=ExtResource( 5 )] + +[node name="Interface" parent="." index="4" instance=ExtResource( 6 )] + + diff --git a/project/Interface.tscn b/project/Interface.tscn index f6ee3ef..c89b015 100644 --- a/project/Interface.tscn +++ b/project/Interface.tscn @@ -1,9 +1,10 @@ -[gd_scene load_steps=3 format=2] +[gd_scene load_steps=4 format=2] [ext_resource path="res://src/Interface.gd" type="Script" id=1] [ext_resource path="res://music/song.ogg" type="AudioStream" id=2] +[ext_resource path="res://WinDialogs.tscn" type="PackedScene" id=3] -[node name="Interface" type="Control"] +[node name="Interface" type="Control" index="0"] anchor_left = 0.0 anchor_top = 0.0 @@ -31,7 +32,6 @@ bus = "Master" [node name="GMRefRect" type="ReferenceRect" parent="." index="1"] -editor/display_folded = true anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 @@ -54,9 +54,8 @@ anchor_left = 0.0 anchor_top = 0.0 anchor_right = 1.0 anchor_bottom = 1.0 -margin_left = 10.0 -margin_top = 6.0 -margin_right = -10.0 +margin_right = -20.0 +margin_bottom = -6.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false mouse_filter = 1 @@ -94,14 +93,43 @@ flat = true align = 1 _sections_unfolded = [ "custom_colors" ] -[node name="AboutBtn" type="Button" parent="GMRefRect/GMenuHbox" index="1"] +[node name="ClassicBtn" type="Button" parent="GMRefRect/GMenuHbox" index="1"] anchor_left = 0.0 anchor_top = 0.0 anchor_right = 0.0 anchor_bottom = 0.0 margin_left = 45.0 -margin_right = 94.0 +margin_right = 87.0 +margin_bottom = 22.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +custom_colors/font_color_disabled = Color( 0, 0, 0, 1 ) +custom_colors/font_color = Color( 0, 0, 0, 1 ) +custom_colors/font_color_hover = Color( 0, 0, 0, 1 ) +custom_colors/font_color_pressed = Color( 0, 0, 0, 1 ) +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +text = "KCLS" +flat = true +align = 1 +_sections_unfolded = [ "custom_colors", "custom_constants" ] + +[node name="AboutBtn" type="Button" parent="GMRefRect/GMenuHbox" index="2"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 91.0 +margin_right = 140.0 margin_bottom = 22.0 rect_pivot_offset = Vector2( 0, 0 ) rect_clip_content = false @@ -123,419 +151,12 @@ flat = true align = 1 _sections_unfolded = [ "Margin", "custom_colors" ] -[node name="AboutWin" type="WindowDialog" parent="." index="2"] - -editor/display_folded = true -visible = false -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_left = 199.0 -margin_top = 229.0 -margin_right = 620.0 -margin_bottom = 301.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -popup_exclusive = false -window_title = "KABO" -resizable = false -_sections_unfolded = [ "Dialog", "Rect" ] - -[node name="AboutRefRect" type="ReferenceRect" parent="AboutWin" index="1"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 1.0 -anchor_bottom = 1.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 - -[node name="AboutTxt" type="RichTextLabel" parent="AboutWin/AboutRefRect" index="0"] - -anchor_left = 1.0 -anchor_top = 1.0 -anchor_right = 1.0 -anchor_bottom = 1.0 -margin_left = -415.0 -margin_top = -68.0 -margin_right = -5.0 -margin_bottom = -34.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = true -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -bbcode_enabled = false -bbcode_text = "" -visible_characters = -1 -percent_visible = 1.0 -meta_underlined = true -tab_size = 4 -text = "Zack's Dress Up is a dress up game created by Anthony Wilcox." -scroll_active = false -scroll_following = false -selection_enabled = false -override_selected_font_color = false -_sections_unfolded = [ "Anchor", "Margin", "Rect" ] - -[node name="AboutBtnHBox" type="HBoxContainer" parent="AboutWin/AboutRefRect" index="1"] - -anchor_left = 0.0 -anchor_top = 1.0 -anchor_right = 1.0 -anchor_bottom = 1.0 -margin_top = -28.0 -margin_bottom = -8.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 1 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -alignment = 1 -_sections_unfolded = [ "Margin", "Rect" ] - -[node name="LicenseBtn" type="Button" parent="AboutWin/AboutRefRect/AboutBtnHBox" index="0"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_left = 150.0 -margin_right = 190.0 -margin_bottom = 20.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null -text = "KLIC" -flat = false -align = 1 - -[node name="CreditsBtn" type="Button" parent="AboutWin/AboutRefRect/AboutBtnHBox" index="1"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_left = 194.0 -margin_right = 237.0 -margin_bottom = 20.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null -text = "KCRE" -flat = false -align = 1 - -[node name="CloseAbtBtn" type="Button" parent="AboutWin/AboutRefRect/AboutBtnHBox" index="2"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_left = 241.0 -margin_right = 271.0 -margin_bottom = 20.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -enabled_focus_mode = 2 -shortcut = null -group = null -text = "Ok" -flat = false -align = 1 - -[node name="CreditsWin" type="AcceptDialog" parent="." index="3"] - -editor/display_folded = true -visible = false -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_left = 260.0 -margin_top = 132.0 -margin_right = 608.0 -margin_bottom = 399.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -popup_exclusive = false -window_title = "KCRE" -resizable = false -dialog_hide_on_ok = true - -[node name="CreditsTxt" type="RichTextLabel" parent="CreditsWin" index="3"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_left = 8.0 -margin_top = 8.0 -margin_right = 340.0 -margin_bottom = 231.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = true -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -bbcode_enabled = true -bbcode_text = "[center]Created by -Anthony Wilcox - -Music by -Augmentality - -Clothing inspired by -Megawolf77 -Canon Rhode - -[img]assets/sixam_logo_200px.png[/img] -SixAM is a brand by Anthony Wilcox. -[/center]" -visible_characters = -1 -percent_visible = 1.0 -meta_underlined = true -tab_size = 4 -text = "Created by -Anthony Wilcox - -Music by -Augmentality - -Clothing inspired by -Megawolf77 -Canon Rhode - - -SixAM is a brand by Anthony Wilcox. -" -scroll_active = true -scroll_following = false -selection_enabled = true -override_selected_font_color = false -_sections_unfolded = [ "BBCode" ] - -[node name="SettingsWin" type="AcceptDialog" parent="." index="4"] - -visible = false -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_left = 320.0 -margin_top = 211.0 -margin_right = 472.0 -margin_bottom = 279.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -popup_exclusive = false -window_title = "KSET" -resizable = false -dialog_hide_on_ok = true -_sections_unfolded = [ "Dialog" ] - -[node name="Grid" type="GridContainer" parent="SettingsWin" index="3"] - -anchor_left = 0.5 -anchor_top = 0.5 -anchor_right = 0.5 -anchor_bottom = 0.5 -margin_left = -68.0 -margin_top = -26.0 -margin_right = 68.0 -margin_bottom = -2.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 1 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -columns = 3 - -[node name="Languages" type="MenuButton" parent="SettingsWin/Grid" index="0"] - -pause_mode = 1 -visible = false -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_right = 56.0 -margin_bottom = 24.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = false -action_mode = 0 -enabled_focus_mode = 0 -shortcut = null -group = null -text = "KLANG" -flat = false -align = 1 -items = [ "KENG", null, 0, true, false, -1, 0, null, "", false, "KSWD", null, 0, false, false, -1, 0, null, "", false ] -_sections_unfolded = [ "Pause" ] - -[node name="MusicBtn" type="CheckBox" parent="SettingsWin/Grid" index="1"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_right = 65.0 -margin_bottom = 24.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -focus_mode = 2 -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -toggle_mode = true -enabled_focus_mode = 2 -shortcut = null -group = null -text = "KMUS" -flat = false -align = 1 - -[node name="LicenseWin" type="AcceptDialog" parent="." index="5"] - -editor/display_folded = true -visible = false -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_left = 209.0 -margin_top = 129.0 -margin_right = 613.0 -margin_bottom = 404.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -popup_exclusive = false -window_title = "KLIC" -resizable = false -dialog_hide_on_ok = true -_sections_unfolded = [ "Dialog" ] - -[node name="LicenseTxt" type="RichTextLabel" parent="LicenseWin" index="3"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_left = 8.0 -margin_top = 8.0 -margin_right = 396.0 -margin_bottom = 239.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = true -mouse_filter = 0 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 1 -bbcode_enabled = true -bbcode_text = "Zack's Dress Up is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - -Zack's Dress Up is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public License along with Zack's Dress Up. If not, see: https://www.gnu.org/licenses/ - -[center]##########################[/center] - -Zack's Dress Up (c) by Anthony Wilcox - -Zack'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 ." -visible_characters = -1 -percent_visible = 1.0 -meta_underlined = true -tab_size = 4 -text = "Zack's Dress Up is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. - -Zack's Dress Up is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - -You should have received a copy of the GNU General Public License along with Zack's Dress Up. If not, see: https://www.gnu.org/licenses/ - -########################## - -Zack's Dress Up (c) by Anthony Wilcox - -Zack'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 ." -scroll_active = true -scroll_following = false -selection_enabled = false -override_selected_font_color = false -_sections_unfolded = [ "BBCode" ] +[node name="WinDialogs" parent="." index="2" instance=ExtResource( 3 )] [connection signal="pressed" from="GMRefRect/GMenuHbox/SettingsBtn" to="." method="_on_SettingsBtn_pressed"] +[connection signal="pressed" from="GMRefRect/GMenuHbox/ClassicBtn" to="." method="_on_ClassicBtn_pressed"] + [connection signal="pressed" from="GMRefRect/GMenuHbox/AboutBtn" to="." method="_on_AboutBtn_pressed"] -[connection signal="pressed" from="AboutWin/AboutRefRect/AboutBtnHBox/LicenseBtn" to="." method="_on_LicenseBtn_pressed"] - -[connection signal="pressed" from="AboutWin/AboutRefRect/AboutBtnHBox/CreditsBtn" to="." method="_on_CreditsBtn_pressed"] - -[connection signal="pressed" from="AboutWin/AboutRefRect/AboutBtnHBox/CloseAbtBtn" to="." method="_on_CloseAbtBtn_pressed"] - -[connection signal="toggled" from="SettingsWin/Grid/MusicBtn" to="." method="_on_MusicBtn_toggled"] - diff --git a/project/WinDialogs.tscn b/project/WinDialogs.tscn new file mode 100644 index 0000000..070c872 --- /dev/null +++ b/project/WinDialogs.tscn @@ -0,0 +1,428 @@ +[gd_scene load_steps=2 format=2] + +[ext_resource path="res://src/WinDialogs.gd" type="Script" id=1] + +[node name="WinDialogs" type="Control"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +script = ExtResource( 1 ) + +[node name="AboutWin" type="WindowDialog" parent="." index="0"] + +visible = false +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 199.0 +margin_top = 229.0 +margin_right = 620.0 +margin_bottom = 301.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +popup_exclusive = false +window_title = "KABO" +resizable = false +_sections_unfolded = [ "Dialog", "Rect" ] + +[node name="AboutRefRect" type="ReferenceRect" parent="AboutWin" index="1"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 + +[node name="AboutTxt" type="RichTextLabel" parent="AboutWin/AboutRefRect" index="0"] + +anchor_left = 1.0 +anchor_top = 1.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = -415.0 +margin_top = -68.0 +margin_right = -5.0 +margin_bottom = -34.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = true +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +bbcode_enabled = false +bbcode_text = "" +visible_characters = -1 +percent_visible = 1.0 +meta_underlined = true +tab_size = 4 +text = "Zack's Dress Up is a dress up game created by Anthony Wilcox." +scroll_active = false +scroll_following = false +selection_enabled = false +override_selected_font_color = false +_sections_unfolded = [ "Anchor", "Margin", "Rect" ] + +[node name="AboutBtnHBox" type="HBoxContainer" parent="AboutWin/AboutRefRect" index="1"] + +anchor_left = 0.0 +anchor_top = 1.0 +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_top = -28.0 +margin_bottom = -8.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +mouse_filter = 1 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +alignment = 1 +_sections_unfolded = [ "Margin", "Rect" ] + +[node name="LicenseBtn" type="Button" parent="AboutWin/AboutRefRect/AboutBtnHBox" index="0"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 150.0 +margin_right = 190.0 +margin_bottom = 20.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +text = "KLIC" +flat = false +align = 1 + +[node name="CreditsBtn" type="Button" parent="AboutWin/AboutRefRect/AboutBtnHBox" index="1"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 194.0 +margin_right = 237.0 +margin_bottom = 20.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +text = "KCRE" +flat = false +align = 1 + +[node name="CloseAbtBtn" type="Button" parent="AboutWin/AboutRefRect/AboutBtnHBox" index="2"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 241.0 +margin_right = 271.0 +margin_bottom = 20.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +toggle_mode = false +enabled_focus_mode = 2 +shortcut = null +group = null +text = "Ok" +flat = false +align = 1 + +[node name="CreditsWin" type="AcceptDialog" parent="." index="1"] + +editor/display_folded = true +visible = false +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 260.0 +margin_top = 132.0 +margin_right = 608.0 +margin_bottom = 399.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +popup_exclusive = false +window_title = "KCRE" +resizable = false +dialog_hide_on_ok = true + +[node name="CreditsTxt" type="RichTextLabel" parent="CreditsWin" index="3"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 8.0 +margin_top = 8.0 +margin_right = 340.0 +margin_bottom = 231.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = true +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +bbcode_enabled = true +bbcode_text = "[center]Created by +Anthony Wilcox + +Music by +Augmentality + +Clothing inspired by +Megawolf77 +Canon Rhode + +[img]assets/sixam_logo_200px.png[/img] +SixAM is a brand by Anthony Wilcox. +[/center]" +visible_characters = -1 +percent_visible = 1.0 +meta_underlined = true +tab_size = 4 +text = "Created by +Anthony Wilcox + +Music by +Augmentality + +Clothing inspired by +Megawolf77 +Canon Rhode + + +SixAM is a brand by Anthony Wilcox. +" +scroll_active = true +scroll_following = false +selection_enabled = true +override_selected_font_color = false +_sections_unfolded = [ "BBCode" ] + +[node name="SettingsWin" type="AcceptDialog" parent="." index="2"] + +editor/display_folded = true +visible = false +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 320.0 +margin_top = 211.0 +margin_right = 472.0 +margin_bottom = 279.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +popup_exclusive = false +window_title = "KSET" +resizable = false +dialog_hide_on_ok = true +_sections_unfolded = [ "Dialog" ] + +[node name="Grid" type="GridContainer" parent="SettingsWin" index="3"] + +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -68.0 +margin_top = -26.0 +margin_right = 68.0 +margin_bottom = -2.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +mouse_filter = 1 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +columns = 3 + +[node name="Languages" type="MenuButton" parent="SettingsWin/Grid" index="0"] + +pause_mode = 1 +visible = false +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_right = 56.0 +margin_bottom = 24.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +toggle_mode = false +action_mode = 0 +enabled_focus_mode = 0 +shortcut = null +group = null +text = "KLANG" +flat = false +align = 1 +items = [ "KENG", null, 0, true, false, -1, 0, null, "", false, "KSWD", null, 0, false, false, -1, 0, null, "", false ] +_sections_unfolded = [ "Pause" ] + +[node name="MusicBtn" type="CheckBox" parent="SettingsWin/Grid" index="1"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_right = 65.0 +margin_bottom = 24.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +focus_mode = 2 +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +toggle_mode = true +enabled_focus_mode = 2 +shortcut = null +group = null +text = "KMUS" +flat = false +align = 1 + +[node name="LicenseWin" type="AcceptDialog" parent="." index="3"] + +editor/display_folded = true +visible = false +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 209.0 +margin_top = 129.0 +margin_right = 613.0 +margin_bottom = 404.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = false +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +popup_exclusive = false +window_title = "KLIC" +resizable = false +dialog_hide_on_ok = true +_sections_unfolded = [ "Dialog" ] + +[node name="LicenseTxt" type="RichTextLabel" parent="LicenseWin" index="3"] + +anchor_left = 0.0 +anchor_top = 0.0 +anchor_right = 0.0 +anchor_bottom = 0.0 +margin_left = 8.0 +margin_top = 8.0 +margin_right = 396.0 +margin_bottom = 239.0 +rect_pivot_offset = Vector2( 0, 0 ) +rect_clip_content = true +mouse_filter = 0 +mouse_default_cursor_shape = 0 +size_flags_horizontal = 1 +size_flags_vertical = 1 +bbcode_enabled = true +bbcode_text = "Zack's Dress Up is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. + +Zack's Dress Up is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with Zack's Dress Up. If not, see: https://www.gnu.org/licenses/ + +[center]##########################[/center] + +Zack's Dress Up (c) by Anthony Wilcox + +Zack'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 ." +visible_characters = -1 +percent_visible = 1.0 +meta_underlined = true +tab_size = 4 +text = "Zack's Dress Up is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. + +Zack's Dress Up is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + +You should have received a copy of the GNU General Public License along with Zack's Dress Up. If not, see: https://www.gnu.org/licenses/ + +########################## + +Zack's Dress Up (c) by Anthony Wilcox + +Zack'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 ." +scroll_active = true +scroll_following = false +selection_enabled = false +override_selected_font_color = false +_sections_unfolded = [ "BBCode" ] + +[connection signal="pressed" from="AboutWin/AboutRefRect/AboutBtnHBox/LicenseBtn" to="." method="_on_LicenseBtn_pressed"] + +[connection signal="pressed" from="AboutWin/AboutRefRect/AboutBtnHBox/CreditsBtn" to="." method="_on_CreditsBtn_pressed"] + +[connection signal="pressed" from="AboutWin/AboutRefRect/AboutBtnHBox/CloseAbtBtn" to="." method="_on_CloseAbtBtn_pressed"] + + diff --git a/project/assets/briefs_classic.png b/project/assets/briefs_classic.png new file mode 100644 index 0000000..9536ca1 Binary files /dev/null and b/project/assets/briefs_classic.png differ diff --git a/project/assets/briefs_classic.png.import b/project/assets/briefs_classic.png.import new file mode 100644 index 0000000..450844f --- /dev/null +++ b/project/assets/briefs_classic.png.import @@ -0,0 +1,29 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/briefs_classic.png-24bd0b0972f2d8988c31dd608024e714.stex" + +[deps] + +source_file="res://assets/briefs_classic.png" +dest_files=[ "res://.import/briefs_classic.png-24bd0b0972f2d8988c31dd608024e714.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/project/assets/camera.png b/project/assets/camera.png new file mode 100644 index 0000000..9c38c7f Binary files /dev/null and b/project/assets/camera.png differ diff --git a/project/assets/camera.png.import b/project/assets/camera.png.import new file mode 100644 index 0000000..3f6c585 --- /dev/null +++ b/project/assets/camera.png.import @@ -0,0 +1,29 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/camera.png-817ece2b3822eb2be7786670b43f8a42.stex" + +[deps] + +source_file="res://assets/camera.png" +dest_files=[ "res://.import/camera.png-817ece2b3822eb2be7786670b43f8a42.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/project/assets/owo_censor_classic.png b/project/assets/owo_censor_classic.png new file mode 100644 index 0000000..532644a Binary files /dev/null and b/project/assets/owo_censor_classic.png differ diff --git a/project/assets/owo_censor_classic.png.import b/project/assets/owo_censor_classic.png.import new file mode 100644 index 0000000..67c4da8 --- /dev/null +++ b/project/assets/owo_censor_classic.png.import @@ -0,0 +1,29 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/owo_censor_classic.png-accfb640096736f1f4fdb643b79a5ab6.stex" + +[deps] + +source_file="res://assets/owo_censor_classic.png" +dest_files=[ "res://.import/owo_censor_classic.png-accfb640096736f1f4fdb643b79a5ab6.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/project/assets/zbriefs_classic.png b/project/assets/zbriefs_classic.png new file mode 100644 index 0000000..404a411 Binary files /dev/null and b/project/assets/zbriefs_classic.png differ diff --git a/project/assets/zbriefs_classic.png.import b/project/assets/zbriefs_classic.png.import new file mode 100644 index 0000000..f8f224a --- /dev/null +++ b/project/assets/zbriefs_classic.png.import @@ -0,0 +1,29 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/zbriefs_classic.png-b65972aac07d113b8851bf9970c417fe.stex" + +[deps] + +source_file="res://assets/zbriefs_classic.png" +dest_files=[ "res://.import/zbriefs_classic.png-b65972aac07d113b8851bf9970c417fe.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/project/lang/local.csv b/project/lang/local.csv index 4c81c0e..e4638ee 100644 --- a/project/lang/local.csv +++ b/project/lang/local.csv @@ -5,6 +5,7 @@ KBOT,Pants,Byxor KTOP,Shirts,Skjorta KRTP,Remove Shirt,Ta av skjortan KRBT,Remove Pants,Ta bort byxor +KCLS,Classic,Klassisk KUND,Underwear,Underkläder KCLR,Clear,Klar KMUS,Music,Musik diff --git a/project/lang/local.en.translation b/project/lang/local.en.translation index e282998..e7e66f1 100644 Binary files a/project/lang/local.en.translation and b/project/lang/local.en.translation differ diff --git a/project/lang/local.sv.translation b/project/lang/local.sv.translation index eac680e..b98b04f 100644 Binary files a/project/lang/local.sv.translation and b/project/lang/local.sv.translation differ diff --git a/project/src/Interface.gd b/project/src/Interface.gd index cc1ceb4..ccc521d 100644 --- a/project/src/Interface.gd +++ b/project/src/Interface.gd @@ -3,22 +3,26 @@ extends Control func _on_AboutBtn_pressed(): - $AboutWin.show() - -func _on_CreditsBtn_pressed(): - $CreditsWin.show() + $WinDialogs/AboutWin.show() func _on_SettingsBtn_pressed(): - $SettingsWin.show() - -func _on_LicenseBtn_pressed(): - $LicenseWin.show() - -func _on_CloseAbtBtn_pressed(): - $AboutWin.hide() + $WinDialogs/SettingsWin.show() func _on_MusicBtn_toggled(button_pressed): if button_pressed == true: $Music.playing = true else: - $Music.playing = false \ No newline at end of file + $Music.playing = false + +func _on_ClassicBtn_pressed(): + if $Music.playing == true: + $Music.playing = false + + get_tree().change_scene("res://ClassicScreen.tscn") + + +func _on_ModernBtn_pressed(): + if $Music.playing == true: + $Music.playing = false + + get_tree().change_scene("res://GameScreen.tscn") diff --git a/project/src/WinDialogs.gd b/project/src/WinDialogs.gd new file mode 100644 index 0000000..a5d8fa1 --- /dev/null +++ b/project/src/WinDialogs.gd @@ -0,0 +1,12 @@ +# Anthony Wilcox licenses this file to you under the GPL license. +# See the LICENSE file in the project root for more information. +extends Control + +func _on_CreditsBtn_pressed(): + $CreditsWin.show() + +func _on_LicenseBtn_pressed(): + $SettingsWin.show() + +func _on_CloseAbtBtn_pressed(): + $AboutWin.hide() \ No newline at end of file diff --git a/project/src/WindowControl.gd b/project/src/WindowControl.gd deleted file mode 100644 index a257da6..0000000 --- a/project/src/WindowControl.gd +++ /dev/null @@ -1,43 +0,0 @@ -# Anthony Wilcox licenses this file to you under the GPL license. -# See the LICENSE file in the project root for more information. -tool -extends Control - -const DEFUALT_CONTENT_HEIGHT = 217 -const DEFUALT_PANEL_SIZE = Vector2(351, 217) - -export var toolbar_title = "" -export var content_text = "" -export var content_height = DEFUALT_CONTENT_HEIGHT - -var drag_pos = null - -func _ready(): - if toolbar_title and content_text != "": - $WindowFrame/TitleBarFrame/TitleBar/TitleLbl.text = toolbar_title - $WindowFrame/ContentFrame/ContentTxt.bbcode_text = content_text - - if $WindowFrame/ContentFrame/ContentPanel.rect_size <= DEFUALT_PANEL_SIZE: - $WindowFrame/ContentFrame/ContentPanel.rect_size = Vector2(351, content_height) - $WindowFrame.rect_size = Vector2(351, 33 + content_height) - else: - $WindowFrame/ContentFrame/ContentPanel.rect_size = DEFUALT_PANEL_SIZE - - update() - - -func _on_TitleBar_gui_input(ev): - if ev is InputEventMouseButton: - if ev.button_index == BUTTON_LEFT: - if ev.pressed: - drag_pos = get_global_mouse_position() - rect_global_position - else: - drag_pos = null - - - if ev is InputEventMouseMotion and drag_pos != null: - rect_global_position = get_global_mouse_position() - drag_pos - -func _on_CloseBtn_pressed(): - hide() - queue_free()