diff --git a/project/ModernScn.tscn b/project/ModernScn.tscn deleted file mode 100644 index 560a052..0000000 --- a/project/ModernScn.tscn +++ /dev/null @@ -1,36 +0,0 @@ -[gd_scene load_steps=7 format=2] - -[ext_resource path="res://src/GameScn.gd" type="Script" id=1] -[ext_resource path="res://assets/modern_dress_up_bg.png" type="Texture" id=2] -[ext_resource path="res://assets/icrazy_frame.png" type="Texture" id=3] -[ext_resource path="res://Character.tscn" type="PackedScene" id=4] -[ext_resource path="res://Clothes.tscn" type="PackedScene" id=5] -[ext_resource path="res://WinDialogs.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="PicFrame" type="Sprite" parent="." index="1"] - -position = Vector2( 93.9417, 98.396 ) -texture = ExtResource( 3 ) -__meta__ = { -"_edit_lock_": true -} - -[node name="Nathan" parent="." index="2" instance=ExtResource( 4 )] - -[node name="Clothes" parent="." index="3" instance=ExtResource( 5 )] - -[node name="WinDialogs" parent="." index="4" instance=ExtResource( 6 )] - - diff --git a/project/WinDialogs.tscn b/project/WinDialogs.tscn deleted file mode 100644 index faa05b5..0000000 --- a/project/WinDialogs.tscn +++ /dev/null @@ -1,424 +0,0 @@ -[gd_scene load_steps=3 format=2] - -[ext_resource path="res://src/WinDialogs.gd" type="Script" id=1] -[ext_resource path="res://music/song.ogg" type="AudioStream" id=2] - -[node name="WinDialogs" type="Control" index="0"] - -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="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="PauseWin" type="PopupDialog" parent="." index="1"] - -pause_mode = 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 = 318.0 -margin_top = 227.0 -margin_right = 494.0 -margin_bottom = 341.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 -_sections_unfolded = [ "Pause" ] - -[node name="PauseVbox" type="VBoxContainer" parent="PauseWin" index="0"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 1.0 -anchor_bottom = 1.0 -margin_left = 10.0 -margin_top = 10.0 -margin_right = -10.0 -margin_bottom = -10.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 -_sections_unfolded = [ "Margin" ] - -[node name="PauseLbl" type="Label" parent="PauseWin/PauseVbox" index="0"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_right = 156.0 -margin_bottom = 14.0 -rect_pivot_offset = Vector2( 0, 0 ) -rect_clip_content = false -mouse_filter = 2 -mouse_default_cursor_shape = 0 -size_flags_horizontal = 1 -size_flags_vertical = 4 -text = "KPUS" -align = 1 -percent_visible = 1.0 -lines_skipped = 0 -max_lines_visible = -1 - -[node name="SettingsBtn" type="Button" parent="PauseWin/PauseVbox" index="1"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_top = 18.0 -margin_right = 156.0 -margin_bottom = 38.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 = "KSET" -flat = false -align = 1 - -[node name="ResumeBtn" type="Button" parent="PauseWin/PauseVbox" index="2"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_top = 42.0 -margin_right = 156.0 -margin_bottom = 62.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 = "KRUS" -flat = false -align = 1 - -[node name="ExitBtn" type="Button" parent="PauseWin/PauseVbox" index="3"] - -anchor_left = 0.0 -anchor_top = 0.0 -anchor_right = 0.0 -anchor_bottom = 0.0 -margin_top = 66.0 -margin_right = 156.0 -margin_bottom = 86.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 = "KEXT" -flat = false -align = 1 - -[node name="CreditsWin" type="AcceptDialog" parent="." index="2"] - -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 -_sections_unfolded = [ "Pause" ] - -[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 -Raier - -[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 -Raier - - -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="3"] - -pause_mode = 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", "Pause" ] - -[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"] - -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_left = 60.0 -margin_right = 125.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 -_sections_unfolded = [ "Pause" ] - -[node name="LicenseWin" type="AcceptDialog" parent="." index="4"] - -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", "Pause" ] - -[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 = "Nathan'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. - -Nathan'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 Nathan's Dress Up. If not, see: https://www.gnu.org/licenses/ - -[center]##########################[/center] - -Nathan's Dress Up (c) by Anthony Wilcox - -Nathan'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 = "Nathan'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. - -Nathan'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 Nathan's Dress Up. If not, see: https://www.gnu.org/licenses/ - -########################## - -Nathan's Dress Up (c) by Anthony Wilcox - -Nathan'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="PauseWin/PauseVbox/SettingsBtn" to="." method="_on_SettingsBtn_pressed"] - -[connection signal="pressed" from="PauseWin/PauseVbox/ResumeBtn" to="." method="_on_ResumeBtn_pressed"] - -[connection signal="pressed" from="PauseWin/PauseVbox/ExitBtn" to="." method="_on_ExitBtn_pressed"] - -[connection signal="toggled" from="SettingsWin/Grid/MusicBtn" to="." method="_on_MusicBtn_toggled"] - - diff --git a/project/assets/sixam_logo_200px.png b/project/assets/sixam_logo_200px.png deleted file mode 100644 index 8a38642..0000000 Binary files a/project/assets/sixam_logo_200px.png and /dev/null differ diff --git a/project/assets/sixam_wordmark.png b/project/assets/sixam_wordmark.png new file mode 100644 index 0000000..3f36f06 Binary files /dev/null and b/project/assets/sixam_wordmark.png differ diff --git a/project/assets/sixam_logo_200px.png.import b/project/assets/sixam_wordmark.png.import similarity index 68% rename from project/assets/sixam_logo_200px.png.import rename to project/assets/sixam_wordmark.png.import index 708fbe4..43a08f2 100644 --- a/project/assets/sixam_logo_200px.png.import +++ b/project/assets/sixam_wordmark.png.import @@ -2,15 +2,15 @@ importer="texture" type="StreamTexture" -path="res://.import/sixam_logo_200px.png-baa71e7a3367dd5a8ed2240f1a4217e3.stex" +path="res://.import/sixam_wordmark.png-07d6e789d5c5152b7670734902754f18.stex" metadata={ "vram_texture": false } [deps] -source_file="res://assets/sixam_logo_200px.png" -dest_files=[ "res://.import/sixam_logo_200px.png-baa71e7a3367dd5a8ed2240f1a4217e3.stex" ] +source_file="res://assets/sixam_wordmark.png" +dest_files=[ "res://.import/sixam_wordmark.png-07d6e789d5c5152b7670734902754f18.stex" ] [params] diff --git a/project/assets/title.svg b/project/assets/title.svg new file mode 100644 index 0000000..93c277b --- /dev/null +++ b/project/assets/title.svg @@ -0,0 +1,73 @@ + + + + + + + + + + image/svg+xml + + + + + + + Nathan's Dress Up + + diff --git a/project/assets/title.svg.import b/project/assets/title.svg.import new file mode 100644 index 0000000..e867324 --- /dev/null +++ b/project/assets/title.svg.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="StreamTexture" +path="res://.import/title.svg-a6c0d9bd2a5c881820cf1ac927572d1b.stex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://assets/title.svg" +dest_files=[ "res://.import/title.svg-a6c0d9bd2a5c881820cf1ac927572d1b.stex" ] + +[params] + +compress/mode=0 +compress/lossy_quality=0.7 +compress/hdr_mode=0 +compress/bptc_ldr=0 +compress/normal_map=0 +flags/repeat=0 +flags/filter=true +flags/mipmaps=false +flags/anisotropic=false +flags/srgb=2 +process/fix_alpha_border=true +process/premult_alpha=false +process/HDR_as_SRGB=false +process/invert_color=false +stream=false +size_limit=0 +detect_3d=true +svg/scale=1.0 diff --git a/project/project.godot b/project/project.godot index 5005ada..a6f5c3f 100644 --- a/project/project.godot +++ b/project/project.godot @@ -16,7 +16,7 @@ _global_script_class_icons={ [application] config/name="Nathan's Dress Up" -run/main_scene="res://TitleScn.tscn" +run/main_scene="res://scn/TitleScn.tscn" config/use_custom_user_dir=true boot_splash/image="res://boot_splash.png" boot_splash/bg_color=Color( 0.8, 0.8, 0.4, 1 ) @@ -26,7 +26,7 @@ name_sv="Nathans klä upp" [autoload] GameKit="*res://src/GameKit.gd" -WinDialogs="*res://WinDialogs.tscn" +WinDialogs="*res://scn/WinDialogs.tscn" [display] @@ -50,6 +50,7 @@ translations=PoolStringArray( "res://lang/local.en.translation", "res://lang/loc [rendering] +quality/driver/driver_name="GLES2" quality/intended_usage/framebuffer_allocation=0 quality/intended_usage/framebuffer_allocation.mobile=0 quality/2d/use_pixel_snap=true diff --git a/project/Character.tscn b/project/scn/Character.tscn similarity index 90% rename from project/Character.tscn rename to project/scn/Character.tscn index 05c1f6b..7213c9e 100644 --- a/project/Character.tscn +++ b/project/scn/Character.tscn @@ -24,7 +24,6 @@ [ext_resource path="res://assets/mouth/mouth12.png" type="Texture" id=22] [sub_resource type="SpriteFrames" id=1] - animations = [ { "frames": [ ExtResource( 1 ), ExtResource( 1 ), ExtResource( 1 ), ExtResource( 2 ), ExtResource( 2 ), ExtResource( 2 ), ExtResource( 3 ), ExtResource( 3 ), ExtResource( 3 ) ], "loop": true, @@ -33,7 +32,6 @@ animations = [ { } ] [sub_resource type="SpriteFrames" id=2] - animations = [ { "frames": [ ExtResource( 5 ), ExtResource( 5 ), ExtResource( 5 ), ExtResource( 5 ), ExtResource( 6 ), ExtResource( 6 ), ExtResource( 7 ), ExtResource( 7 ), ExtResource( 8 ), ExtResource( 8 ), ExtResource( 8 ), ExtResource( 8 ), ExtResource( 8 ), ExtResource( 9 ), ExtResource( 9 ), ExtResource( 10 ), ExtResource( 10 ), ExtResource( 11 ), ExtResource( 11 ) ], "loop": true, @@ -42,7 +40,6 @@ animations = [ { } ] [sub_resource type="SpriteFrames" id=3] - animations = [ { "frames": [ ExtResource( 12 ), ExtResource( 12 ), ExtResource( 13 ), ExtResource( 13 ), ExtResource( 14 ), ExtResource( 14 ), ExtResource( 15 ), ExtResource( 15 ), ExtResource( 16 ), ExtResource( 16 ), ExtResource( 17 ), ExtResource( 17 ), ExtResource( 18 ), ExtResource( 18 ), ExtResource( 18 ), ExtResource( 19 ), ExtResource( 19 ), ExtResource( 19 ), ExtResource( 19 ), ExtResource( 20 ), ExtResource( 20 ), ExtResource( 20 ), ExtResource( 20 ), ExtResource( 21 ), ExtResource( 21 ), ExtResource( 22 ), ExtResource( 22 ) ], "loop": true, @@ -52,45 +49,37 @@ animations = [ { [node name="Nathane" type="Node2D"] -[node name="Tail" type="AnimatedSprite" parent="." index="0"] - +[node name="Tail" type="AnimatedSprite" parent="."] position = Vector2( 49.6951, 374.417 ) frames = SubResource( 1 ) -animation = "default" -frame = 1 +frame = 7 playing = true __meta__ = { "_edit_lock_": true } -[node name="Base" type="Sprite" parent="." index="1"] - +[node name="Base" type="Sprite" parent="."] position = Vector2( 91.6446, 354.064 ) texture = ExtResource( 4 ) __meta__ = { "_edit_lock_": true } -[node name="Eyes" type="AnimatedSprite" parent="." index="2"] - +[node name="Eyes" type="AnimatedSprite" parent="."] position = Vector2( 109.519, 253.9 ) frames = SubResource( 2 ) -animation = "default" -frame = 5 +frame = 7 playing = true __meta__ = { "_edit_lock_": true } -[node name="Mouth" type="AnimatedSprite" parent="." index="3"] - +[node name="Mouth" type="AnimatedSprite" parent="."] position = Vector2( 126.316, 257.474 ) frames = SubResource( 3 ) -animation = "default" -frame = 23 +frame = 26 playing = true __meta__ = { "_edit_lock_": true } - diff --git a/project/ClassicClothes.tscn b/project/scn/ClassicClothes.tscn similarity index 100% rename from project/ClassicClothes.tscn rename to project/scn/ClassicClothes.tscn diff --git a/project/ClassicScn.tscn b/project/scn/ClassicScn.tscn similarity index 79% rename from project/ClassicScn.tscn rename to project/scn/ClassicScn.tscn index 53291fd..9b75c96 100644 --- a/project/ClassicScn.tscn +++ b/project/scn/ClassicScn.tscn @@ -3,9 +3,10 @@ [ext_resource path="res://src/GameScn.gd" type="Script" id=1] [ext_resource path="res://assets/classic_dress_up_bg.png" type="Texture" id=2] [ext_resource path="res://assets/lights.png" type="Texture" id=3] -[ext_resource path="res://Character.tscn" type="PackedScene" id=4] -[ext_resource path="res://ClassicClothes.tscn" type="PackedScene" id=5] -[ext_resource path="res://WinDialogs.tscn" type="PackedScene" id=6] +[ext_resource path="res://scn/Character.tscn" type="PackedScene" id=4] +[ext_resource path="res://scn/ClassicClothes.tscn" type="PackedScene" id=5] +[ext_resource path="res://scn/WinDialogs.tscn" type="PackedScene" id=6] + [node name="GameScreen" type="Node" index="0"] diff --git a/project/Clothes.tscn b/project/scn/Clothes.tscn similarity index 100% rename from project/Clothes.tscn rename to project/scn/Clothes.tscn diff --git a/project/scn/ModernScn.tscn b/project/scn/ModernScn.tscn new file mode 100644 index 0000000..6c2897b --- /dev/null +++ b/project/scn/ModernScn.tscn @@ -0,0 +1,32 @@ +[gd_scene load_steps=7 format=2] + +[ext_resource path="res://src/GameScn.gd" type="Script" id=1] +[ext_resource path="res://assets/modern_dress_up_bg.png" type="Texture" id=2] +[ext_resource path="res://assets/icrazy_frame.png" type="Texture" id=3] +[ext_resource path="res://scn/Character.tscn" type="PackedScene" id=4] +[ext_resource path="res://scn/Clothes.tscn" type="PackedScene" id=5] +[ext_resource path="res://scn/WinDialogs.tscn" type="PackedScene" id=6] + +[node name="GameScreen" type="Node"] +script = ExtResource( 1 ) + +[node name="Background" type="Sprite" parent="."] +position = Vector2( 400, 277 ) +texture = ExtResource( 2 ) +__meta__ = { +"_edit_lock_": true +} + +[node name="PicFrame" type="Sprite" parent="."] +position = Vector2( 93.9417, 98.396 ) +texture = ExtResource( 3 ) +__meta__ = { +"_edit_lock_": true +} + +[node name="Nathan" parent="." instance=ExtResource( 4 )] + +[node name="Clothes" parent="." instance=ExtResource( 5 )] + +[node name="WinDialogs" parent="." instance=ExtResource( 6 )] + diff --git a/project/TitleScn.tscn b/project/scn/TitleScn.tscn similarity index 89% rename from project/TitleScn.tscn rename to project/scn/TitleScn.tscn index 1bf01cf..2a5369a 100644 --- a/project/TitleScn.tscn +++ b/project/scn/TitleScn.tscn @@ -4,7 +4,7 @@ [ext_resource path="res://assets/modern_dress_up_blurred_bg.png" type="Texture" id=2] [ext_resource path="res://assets/dressup_blurred_wardrobe.png" type="Texture" id=3] [ext_resource path="res://assets/classic_dress_up_blurred_bg.png" type="Texture" id=4] -[ext_resource path="res://WinDialogs.tscn" type="PackedScene" id=5] +[ext_resource path="res://scn/WinDialogs.tscn" type="PackedScene" id=5] [node name="Start" type="Node"] script = ExtResource( 1 ) @@ -40,10 +40,14 @@ margin_right = 762.0 margin_bottom = 395.0 [node name="StartVbox" type="VBoxContainer" parent="MenuRf"] -margin_left = 14.0 -margin_top = 14.0 -margin_right = 150.0 -margin_bottom = 99.0 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -68.0 +margin_top = -42.5 +margin_right = 68.0 +margin_bottom = 42.5 [node name="PlayBtn" type="Button" parent="MenuRf/StartVbox"] margin_right = 136.0 @@ -65,10 +69,14 @@ text = "KLIC" [node name="ModePanel" type="Panel" parent="MenuRf"] visible = false -margin_left = 168.0 -margin_top = 14.0 -margin_right = 314.0 -margin_bottom = 106.0 +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = 80.0 +margin_top = -46.0 +margin_right = 226.0 +margin_bottom = 46.0 [node name="PlayVbox" type="VBoxContainer" parent="MenuRf/ModePanel"] anchor_right = 1.0 diff --git a/project/scn/WinDialogs.tscn b/project/scn/WinDialogs.tscn new file mode 100644 index 0000000..b839364 --- /dev/null +++ b/project/scn/WinDialogs.tscn @@ -0,0 +1,198 @@ +[gd_scene load_steps=3 format=2] + +[ext_resource path="res://src/WinDialogs.gd" type="Script" id=1] +[ext_resource path="res://music/song.ogg" type="AudioStream" id=2] + +[node name="WinDialogs" type="Control"] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +script = ExtResource( 1 ) + +[node name="Music" type="AudioStreamPlayer" parent="."] +stream = ExtResource( 2 ) + +[node name="PauseWin" type="PopupDialog" parent="."] +pause_mode = 2 +editor/display_folded = true +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -88.0 +margin_top = -57.0 +margin_right = 88.0 +margin_bottom = 57.0 + +[node name="PauseVbox" type="VBoxContainer" parent="PauseWin"] +anchor_right = 1.0 +anchor_bottom = 1.0 +margin_left = 10.0 +margin_top = 10.0 +margin_right = -10.0 +margin_bottom = -10.0 + +[node name="PauseLbl" type="Label" parent="PauseWin/PauseVbox"] +margin_right = 156.0 +margin_bottom = 14.0 +text = "KPUS" +align = 1 + +[node name="SettingsBtn" type="Button" parent="PauseWin/PauseVbox"] +margin_top = 18.0 +margin_right = 156.0 +margin_bottom = 38.0 +text = "KSET" + +[node name="ResumeBtn" type="Button" parent="PauseWin/PauseVbox"] +margin_top = 42.0 +margin_right = 156.0 +margin_bottom = 62.0 +text = "KRUS" + +[node name="ExitBtn" type="Button" parent="PauseWin/PauseVbox"] +margin_top = 66.0 +margin_right = 156.0 +margin_bottom = 86.0 +text = "KEXT" + +[node name="CreditsWin" type="AcceptDialog" parent="."] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -174.0 +margin_top = -133.5 +margin_right = 174.0 +margin_bottom = 133.5 +window_title = "KCRE" + +[node name="CreditsTxt" type="RichTextLabel" parent="CreditsWin"] +margin_left = 8.0 +margin_top = 8.0 +margin_right = 340.0 +margin_bottom = 231.0 +focus_mode = 2 +bbcode_enabled = true +bbcode_text = "[center]Created by +Anthony Wilcox + +Music by +Augmentality + +Clothing inspired by +Megawolf77 +Canon Rhode +Raier + +[img]assets/sixam_wordmark.png[/img] +sixam.xyz +[/center]" +text = "Created by +Anthony Wilcox + +Music by +Augmentality + +Clothing inspired by +Megawolf77 +Canon Rhode +Raier + + +sixam.xyz +" +selection_enabled = true + +[node name="SettingsWin" type="AcceptDialog" parent="."] +pause_mode = 2 +editor/display_folded = true +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -76.0 +margin_top = -34.0 +margin_right = 76.0 +margin_bottom = 34.0 +window_title = "KSET" + +[node name="Grid" type="GridContainer" parent="SettingsWin"] +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -68.0 +margin_top = -26.0 +margin_right = 68.0 +margin_bottom = -2.0 +columns = 3 + +[node name="Languages" type="MenuButton" parent="SettingsWin/Grid"] +visible = false +margin_right = 56.0 +margin_bottom = 24.0 +text = "KLANG" +flat = false +items = [ "KENG", null, 0, true, false, -1, 0, null, "", false, "KSWD", null, 0, false, false, -1, 0, null, "", false ] + +[node name="MusicBtn" type="CheckBox" parent="SettingsWin/Grid"] +margin_right = 65.0 +margin_bottom = 24.0 +text = "KMUS" +align = 1 + +[node name="LicenseWin" type="AcceptDialog" parent="."] +editor/display_folded = true +anchor_left = 0.5 +anchor_top = 0.5 +anchor_right = 0.5 +anchor_bottom = 0.5 +margin_left = -202.0 +margin_top = -137.5 +margin_right = 202.0 +margin_bottom = 137.5 +window_title = "KLIC" + +[node name="LicenseTxt" type="RichTextLabel" parent="LicenseWin"] +margin_left = 8.0 +margin_top = 8.0 +margin_right = 396.0 +margin_bottom = 239.0 +bbcode_enabled = true +bbcode_text = "Nathan'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. + +Nathan'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 Nathan's Dress Up. If not, see: https://www.gnu.org/licenses/ + +[center]##########################[/center] + +Nathan's Dress Up (c) by Anthony Wilcox + +Nathan's Dress Up is licensed under a Creative Commons +Attribution-ShareAlike 4.0 International License. + +You should have received a copy of the license along with this work. +If not, see ." +text = "Nathan'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. + +Nathan'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 Nathan's Dress Up. If not, see: https://www.gnu.org/licenses/ + +########################## + +Nathan's Dress Up (c) by Anthony Wilcox + +Nathan's Dress Up is licensed under a Creative Commons +Attribution-ShareAlike 4.0 International License. + +You should have received a copy of the license along with this work. +If not, see ." + +[connection signal="pressed" from="PauseWin/PauseVbox/SettingsBtn" to="." method="_on_SettingsBtn_pressed"] +[connection signal="pressed" from="PauseWin/PauseVbox/ResumeBtn" to="." method="_on_ResumeBtn_pressed"] +[connection signal="pressed" from="PauseWin/PauseVbox/ExitBtn" to="." method="_on_ExitBtn_pressed"] +[connection signal="toggled" from="SettingsWin/Grid/MusicBtn" to="." method="_on_MusicBtn_toggled"] diff --git a/project/src/GameKit.gd b/project/src/GameKit.gd index 34392cb..0c7786b 100644 --- a/project/src/GameKit.gd +++ b/project/src/GameKit.gd @@ -10,8 +10,8 @@ func is_game_paused(is_paused): func switch_scenes(new_mode): if new_mode == "classic": - get_tree().change_scene("res://ClassicScn.tscn") + get_tree().change_scene("res://scn/ClassicScn.tscn") elif new_mode == "modern": - get_tree().change_scene("res://ModernScn.tscn") + get_tree().change_scene("res://scn/ModernScn.tscn") elif new_mode == "title": - get_tree().change_scene("res://TitleScn.tscn") \ No newline at end of file + get_tree().change_scene("res://scn/TitleScn.tscn") \ No newline at end of file