mirror of
https://github.com/tonytins/dressupzack
synced 2025-12-17 12:34:43 -05:00
Start screen
- Created a start screen with the game title in order to switch between Modern and Classic modes. I moved the credits and license buttons out of the About window and into this screen. The About window itself is gona now since it kinda redundant, anyway.
This commit is contained in:
parent
268ea21dab
commit
b85ee22101
26 changed files with 591 additions and 253 deletions
123
project/GUI.tscn
Normal file
123
project/GUI.tscn
Normal file
|
|
@ -0,0 +1,123 @@
|
|||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://src/Interface.gd" type="Script" id=1]
|
||||
[ext_resource path="res://WinDialogs.tscn" type="PackedScene" id=2]
|
||||
|
||||
[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="GMRefRect" type="ReferenceRect" parent="." index="0"]
|
||||
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_top = 8.0
|
||||
margin_right = 800.0
|
||||
margin_bottom = 36.0
|
||||
rect_min_size = Vector2( 800, 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
|
||||
_sections_unfolded = [ "Anchor", "Grow Direction", "Margin", "Rect" ]
|
||||
|
||||
[node name="GMenuHbox" type="HBoxContainer" parent="GMRefRect" index="0"]
|
||||
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
margin_left = 10.0
|
||||
margin_top = 2.0
|
||||
margin_right = -10.0
|
||||
margin_bottom = -6.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="ExitBtn" type="Button" parent="GMRefRect/GMenuHbox" index="0"]
|
||||
|
||||
anchor_left = 0.0
|
||||
anchor_top = 0.0
|
||||
anchor_right = 0.0
|
||||
anchor_bottom = 0.0
|
||||
margin_right = 42.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
|
||||
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 = "KEXT"
|
||||
flat = true
|
||||
align = 1
|
||||
_sections_unfolded = [ "custom_colors", "custom_constants" ]
|
||||
|
||||
[node name="SettingsBtn" 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 = 46.0
|
||||
margin_right = 87.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
|
||||
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 = "KSET"
|
||||
flat = true
|
||||
align = 1
|
||||
_sections_unfolded = [ "custom_colors" ]
|
||||
|
||||
[node name="WinDialogs" parent="." index="1" instance=ExtResource( 2 )]
|
||||
|
||||
[connection signal="pressed" from="GMRefRect/GMenuHbox/ExitBtn" to="." method="_on_ExitBtn_pressed"]
|
||||
|
||||
[connection signal="pressed" from="GMRefRect/GMenuHbox/SettingsBtn" to="." method="_on_SettingsBtn_pressed"]
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue