mirror of
https://github.com/tonytins/godotstarter.git
synced 2025-03-22 09:22:24 +00:00
- Added local translations - Added functionality to the title and game screens - Fixed a few overlooked things
108 lines
2.4 KiB
Text
108 lines
2.4 KiB
Text
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://src/TitleScn.gd" type="Script" id=1]
|
|
[ext_resource path="res://scn/WinDialogs.tscn" type="PackedScene" id=2]
|
|
|
|
[node name="TitleScn" type="Node" index="0"]
|
|
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="TitleVBox" type="VBoxContainer" parent="." index="0"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 428.0
|
|
margin_top = 244.0
|
|
margin_right = 575.0
|
|
margin_bottom = 380.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="PlayBtn" type="Button" parent="TitleVBox" index="0"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_right = 147.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 = "KPLY"
|
|
flat = false
|
|
align = 1
|
|
_sections_unfolded = [ "Rect" ]
|
|
|
|
[node name="CreditsBtn" type="Button" parent="TitleVBox" 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 = "KCRE"
|
|
flat = false
|
|
align = 1
|
|
|
|
[node name="LicenseBtn" type="Button" parent="TitleVBox" index="2"]
|
|
|
|
anchor_left = 0.0
|
|
anchor_top = 0.0
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_top = 48.0
|
|
margin_right = 147.0
|
|
margin_bottom = 68.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="WinDialogs" parent="." index="1" instance=ExtResource( 2 )]
|
|
|
|
[connection signal="pressed" from="TitleVBox/PlayBtn" to="." method="_on_PlayBtn_pressed"]
|
|
|
|
[connection signal="pressed" from="TitleVBox/CreditsBtn" to="." method="_on_CreditsBtn_pressed"]
|
|
|
|
[connection signal="pressed" from="TitleVBox/LicenseBtn" to="." method="_on_LicenseBtn_pressed"]
|
|
|
|
|