1
0
Fork 0
mirror of https://github.com/tonytins/dressupzack synced 2025-12-19 13:14:43 -05:00

Fixed some oversights between Classic & Modern

This commit is contained in:
Anthony Wilcox 2019-01-04 19:16:59 -05:00
parent f5b0b0ec06
commit e85265d1af
7 changed files with 103 additions and 126 deletions

View file

@ -1,8 +1,7 @@
[gd_scene load_steps=4 format=2]
[gd_scene load_steps=3 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]
[ext_resource path="res://WinDialogs.tscn" type="PackedScene" id=2]
[node name="Interface" type="Control"]
@ -21,16 +20,7 @@ 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"]
[node name="RefRect" type="ReferenceRect" parent="." index="0"]
anchor_left = 0.0
anchor_top = 0.0
@ -65,42 +55,14 @@ size_flags_horizontal = 1
size_flags_vertical = 1
alignment = 0
[node name="MusicBtn" type="CheckBox" parent="RefRect/VertContainer" index="0"]
[node name="ModernBtn" type="Button" 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
margin_bottom = 20.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
@ -116,15 +78,39 @@ text = "Modern"
flat = false
align = 1
[node name="SettingsBtn" 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 = 24.0
margin_right = 147.0
margin_bottom = 44.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="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_top = 48.0
margin_right = 147.0
margin_bottom = 72.0
margin_bottom = 68.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
focus_mode = 2
@ -141,12 +127,12 @@ 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"]
[node name="WinDialogs" parent="." index="1" instance=ExtResource( 2 )]
[connection signal="pressed" from="RefRect/VertContainer/ModernBtn" to="." method="_on_ModernBtn_pressed"]
[connection signal="pressed" from="RefRect/VertContainer/SettingsBtn" to="." method="_on_SettingsBtn_pressed"]
[connection signal="pressed" from="RefRect/VertContainer/AboutBtn" to="." method="_on_AboutBtn_pressed"]