mirror of
https://github.com/tonytins/dressupzack
synced 2025-05-07 22:04:49 -04:00
- Detatched LicenseWin node from PauseScn so it could be instanced by TitleScn and in other parts of the game.
56 lines
1.7 KiB
Text
56 lines
1.7 KiB
Text
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://src/TitleScn.cs" type="Script" id=1]
|
|
[ext_resource path="res://styles/DressUpTheme.res" type="Theme" id=2]
|
|
[ext_resource path="res://sprites/title.svg" type="Texture" id=3]
|
|
[ext_resource path="res://scn/LicenseWin.tscn" type="PackedScene" id=4]
|
|
|
|
[node name="Start" type="Node"]
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="MenuRf" type="ReferenceRect" parent="."]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -209.5
|
|
margin_top = -225.5
|
|
margin_right = 209.5
|
|
margin_bottom = 225.5
|
|
theme = ExtResource( 2 )
|
|
|
|
[node name="Title" type="Sprite" parent="MenuRf"]
|
|
position = Vector2( 210.755, 77.8556 )
|
|
texture = ExtResource( 3 )
|
|
|
|
[node name="StartVbox" type="VBoxContainer" parent="MenuRf"]
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -67.5
|
|
margin_top = -42.5
|
|
margin_right = 68.5
|
|
margin_bottom = 61.5
|
|
|
|
[node name="PlayBtn" type="Button" parent="MenuRf/StartVbox"]
|
|
margin_right = 136.0
|
|
margin_bottom = 21.0
|
|
text = "KPLY"
|
|
|
|
[node name="CreditsBtn" type="Button" parent="MenuRf/StartVbox"]
|
|
margin_top = 25.0
|
|
margin_right = 136.0
|
|
margin_bottom = 46.0
|
|
text = "KCRE"
|
|
|
|
[node name="LicenseBtn" type="Button" parent="MenuRf/StartVbox"]
|
|
margin_top = 50.0
|
|
margin_right = 136.0
|
|
margin_bottom = 71.0
|
|
text = "KLIC"
|
|
|
|
[node name="LicenseWin" parent="." instance=ExtResource( 4 )]
|
|
[connection signal="pressed" from="MenuRf/StartVbox/PlayBtn" to="." method="_on_PlayBtn_pressed"]
|
|
[connection signal="pressed" from="MenuRf/StartVbox/CreditsBtn" to="." method="_on_CreditsBtn_pressed"]
|
|
[connection signal="pressed" from="MenuRf/StartVbox/LicenseBtn" to="." method="_on_LicenseBtn_pressed"]
|