148 lines
3.6 KiB
Plaintext
148 lines
3.6 KiB
Plaintext
[gd_scene load_steps=6 format=2]
|
|
|
|
[ext_resource path="res://assets/taqin_theme.tres" type="Theme" id=1]
|
|
[ext_resource path="res://src/difficulty_buttongroup.tres" type="ButtonGroup" id=2]
|
|
[ext_resource path="res://src/NewGamePanel.gd" type="Script" id=3]
|
|
[ext_resource path="res://src/DepthButton.tscn" type="PackedScene" id=4]
|
|
|
|
[sub_resource type="StyleBoxFlat" id=1]
|
|
bg_color = Color( 1, 0.831373, 0.639216, 1 )
|
|
corner_radius_top_left = 20
|
|
corner_radius_top_right = 20
|
|
corner_radius_bottom_right = 20
|
|
corner_radius_bottom_left = 20
|
|
|
|
[node name="NewGamePanel" type="PopupPanel"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
theme = ExtResource( 1 )
|
|
popup_exclusive = true
|
|
script = ExtResource( 3 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Panel" type="Panel" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 4.0
|
|
margin_top = 4.0
|
|
margin_right = -4.0
|
|
margin_bottom = -4.0
|
|
custom_styles/panel = SubResource( 1 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="Panel"]
|
|
visible = false
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
margin_left = -304.0
|
|
margin_top = 30.0
|
|
margin_right = 304.0
|
|
margin_bottom = 70.0
|
|
rect_min_size = Vector2( 0, 70 )
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Easy" type="Button" parent="Panel/HBoxContainer"]
|
|
margin_right = 200.0
|
|
margin_bottom = 70.0
|
|
rect_min_size = Vector2( 200, 70 )
|
|
toggle_mode = true
|
|
group = ExtResource( 2 )
|
|
text = "Easy"
|
|
|
|
[node name="Normal" type="Button" parent="Panel/HBoxContainer"]
|
|
margin_left = 208.0
|
|
margin_right = 408.0
|
|
margin_bottom = 70.0
|
|
rect_min_size = Vector2( 200, 70 )
|
|
toggle_mode = true
|
|
group = ExtResource( 2 )
|
|
text = "Normal"
|
|
|
|
[node name="Hard" type="Button" parent="Panel/HBoxContainer"]
|
|
margin_left = 416.0
|
|
margin_right = 616.0
|
|
margin_bottom = 70.0
|
|
rect_min_size = Vector2( 200, 70 )
|
|
toggle_mode = true
|
|
group = ExtResource( 2 )
|
|
text = "Hard"
|
|
|
|
[node name="Difficulty" type="HBoxContainer" parent="Panel"]
|
|
anchor_right = 1.0
|
|
margin_top = 20.0
|
|
rect_min_size = Vector2( 0, 70 )
|
|
alignment = 1
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Easy" parent="Panel/Difficulty" instance=ExtResource( 4 )]
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 200.0
|
|
margin_right = 400.0
|
|
margin_bottom = 80.0
|
|
rect_min_size = Vector2( 200, 80 )
|
|
text = "Easy"
|
|
corner_type = 1
|
|
toggle_mode = true
|
|
group = ExtResource( 2 )
|
|
|
|
[node name="Normal" parent="Panel/Difficulty" instance=ExtResource( 4 )]
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 408.0
|
|
margin_right = 608.0
|
|
margin_bottom = 80.0
|
|
rect_min_size = Vector2( 200, 80 )
|
|
text = "Normal"
|
|
corner_type = 2
|
|
toggle_mode = true
|
|
group = ExtResource( 2 )
|
|
|
|
[node name="Hard" parent="Panel/Difficulty" instance=ExtResource( 4 )]
|
|
anchor_right = 0.0
|
|
anchor_bottom = 0.0
|
|
margin_left = 616.0
|
|
margin_right = 816.0
|
|
margin_bottom = 80.0
|
|
rect_min_size = Vector2( 200, 80 )
|
|
text = "Hard"
|
|
corner_type = 3
|
|
toggle_mode = true
|
|
group = ExtResource( 2 )
|
|
|
|
[node name="Start" parent="Panel" instance=ExtResource( 4 )]
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
margin_left = -235.0
|
|
margin_top = -138.0
|
|
margin_right = -20.0
|
|
margin_bottom = -20.0
|
|
text = "Start"
|
|
|
|
[node name="Cancel" type="Button" parent="Panel"]
|
|
anchor_top = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 20.0
|
|
margin_top = -90.0
|
|
margin_right = 220.0
|
|
margin_bottom = -20.0
|
|
rect_min_size = Vector2( 200, 70 )
|
|
text = "Cancel"
|
|
flat = true
|
|
__meta__ = {
|
|
"_edit_use_anchors_": false
|
|
}
|
|
|
|
[node name="Tween" type="Tween" parent="."]
|
|
[connection signal="about_to_show" from="." to="." method="_on_NewGamePanel_about_to_show"]
|
|
[connection signal="pressed" from="Panel/Start" to="." method="_on_Start_pressed"]
|
|
[connection signal="pressed" from="Panel/Cancel" to="." method="_on_Cancel_pressed"]
|