ld53/resources/NewLevel.tscn

193 lines
6.3 KiB
Plaintext
Raw Permalink Normal View History

2023-05-01 00:23:43 +00:00
[gd_scene load_steps=4 format=2]
[ext_resource path="res://resources/UI Theme.tres" type="Theme" id=1]
[ext_resource path="res://resources/NewLevel.gd" type="Script" id=2]
[ext_resource path="res://resources/ParameterTweaker.tscn" type="PackedScene" id=3]
[node name="PopupPanel" type="PopupPanel"]
margin_right = 538.0
margin_bottom = 426.0
theme = ExtResource( 1 )
script = ExtResource( 2 )
[node name="VBoxContainer" type="VBoxContainer" parent="."]
margin_left = 4.0
margin_top = 4.0
margin_right = 534.0
margin_bottom = 422.0
theme = ExtResource( 1 )
[node name="TabContainer" type="TabContainer" parent="VBoxContainer"]
margin_right = 530.0
margin_bottom = 380.0
grow_horizontal = 2
grow_vertical = 2
rect_min_size = Vector2( 0, 380 )
theme = ExtResource( 1 )
tab_align = 0
[node name="Select Difficulty" type="Tabs" parent="VBoxContainer/TabContainer"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 33.0
margin_right = -4.0
margin_bottom = -4.0
theme = ExtResource( 1 )
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer/TabContainer/Select Difficulty"]
margin_right = 522.0
margin_bottom = 340.0
theme = ExtResource( 1 )
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer/TabContainer/Select Difficulty/VBoxContainer"]
margin_right = 522.0
margin_bottom = 21.0
theme = ExtResource( 1 )
[node name="Easy" type="Button" parent="VBoxContainer/TabContainer/Select Difficulty/VBoxContainer/HBoxContainer"]
margin_right = 127.0
margin_bottom = 21.0
size_flags_horizontal = 3
theme = ExtResource( 1 )
toggle_mode = true
text = "Short"
[node name="Medium" type="Button" parent="VBoxContainer/TabContainer/Select Difficulty/VBoxContainer/HBoxContainer"]
margin_left = 131.0
margin_right = 259.0
margin_bottom = 21.0
size_flags_horizontal = 3
theme = ExtResource( 1 )
toggle_mode = true
pressed = true
text = "Medium"
[node name="Hard" type="Button" parent="VBoxContainer/TabContainer/Select Difficulty/VBoxContainer/HBoxContainer"]
margin_left = 263.0
margin_right = 390.0
margin_bottom = 21.0
size_flags_horizontal = 3
theme = ExtResource( 1 )
toggle_mode = true
text = "Long"
[node name="Custom" type="Button" parent="VBoxContainer/TabContainer/Select Difficulty/VBoxContainer/HBoxContainer"]
margin_left = 394.0
margin_right = 522.0
margin_bottom = 21.0
size_flags_horizontal = 3
theme = ExtResource( 1 )
toggle_mode = true
text = "Custom"
[node name="HSeparator" type="HSeparator" parent="VBoxContainer/TabContainer/Select Difficulty/VBoxContainer"]
margin_top = 25.0
margin_right = 522.0
margin_bottom = 29.0
theme = ExtResource( 1 )
[node name="ParameterTweaker" parent="VBoxContainer/TabContainer/Select Difficulty/VBoxContainer" instance=ExtResource( 3 )]
anchor_right = 0.0
anchor_bottom = 0.0
margin_top = 33.0
margin_right = 522.0
margin_bottom = 233.0
rect_min_size = Vector2( 200, 200 )
[node name="HSeparator2" type="HSeparator" parent="VBoxContainer/TabContainer/Select Difficulty/VBoxContainer"]
margin_top = 237.0
margin_right = 522.0
margin_bottom = 241.0
theme = ExtResource( 1 )
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Select Difficulty/VBoxContainer"]
margin_top = 245.0
margin_right = 522.0
margin_bottom = 260.0
theme = ExtResource( 1 )
text = "Level Code - Copy to share with others"
align = 1
[node name="GeneratedLevelCode" type="TextEdit" parent="VBoxContainer/TabContainer/Select Difficulty/VBoxContainer"]
margin_top = 264.0
margin_right = 522.0
margin_bottom = 344.0
rect_min_size = Vector2( 0, 80 )
theme = ExtResource( 1 )
readonly = true
wrap_enabled = true
[node name="Import Level" type="Tabs" parent="VBoxContainer/TabContainer"]
visible = false
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = 4.0
margin_top = 33.0
margin_right = -4.0
margin_bottom = -4.0
theme = ExtResource( 1 )
[node name="LevelCode" type="TextEdit" parent="VBoxContainer/TabContainer/Import Level"]
margin_left = 2.0
margin_top = 20.0
margin_right = 518.0
margin_bottom = 112.0
hint_tooltip = "Enter the level code"
theme = ExtResource( 1 )
wrap_enabled = true
[node name="Valid" type="Label" parent="VBoxContainer/TabContainer/Import Level"]
margin_left = 13.0
margin_top = 123.0
margin_right = 55.0
margin_bottom = 138.0
theme = ExtResource( 1 )
text = "Valid level code"
[node name="Label" type="Label" parent="VBoxContainer/TabContainer/Import Level"]
margin_left = 7.0
margin_top = -3.0
margin_right = 516.0
margin_bottom = 12.0
theme = ExtResource( 1 )
text = "Level Code"
align = 1
[node name="Reset" type="Button" parent="VBoxContainer/TabContainer/Import Level"]
margin_left = 135.0
margin_top = 121.0
margin_right = 294.0
margin_bottom = 142.0
theme = ExtResource( 1 )
text = "Reset from level code"
[node name="ParameterTweaker" parent="VBoxContainer/TabContainer/Import Level" instance=ExtResource( 3 )]
margin_left = 9.0
margin_top = 149.0
margin_right = 421.0
margin_bottom = -6.0
[node name="HSeparator" type="HSeparator" parent="VBoxContainer"]
margin_top = 384.0
margin_right = 530.0
margin_bottom = 388.0
theme = ExtResource( 1 )
[node name="Start" type="Button" parent="VBoxContainer"]
margin_top = 392.0
margin_right = 530.0
margin_bottom = 413.0
theme = ExtResource( 1 )
text = "Start"
[connection signal="toggled" from="VBoxContainer/TabContainer/Select Difficulty/VBoxContainer/HBoxContainer/Easy" to="." method="_on_Easy_toggled"]
[connection signal="toggled" from="VBoxContainer/TabContainer/Select Difficulty/VBoxContainer/HBoxContainer/Medium" to="." method="_on_Medium_toggled"]
[connection signal="toggled" from="VBoxContainer/TabContainer/Select Difficulty/VBoxContainer/HBoxContainer/Hard" to="." method="_on_Hard_toggled"]
[connection signal="toggled" from="VBoxContainer/TabContainer/Select Difficulty/VBoxContainer/HBoxContainer/Custom" to="." method="_on_Custom_toggled"]
[connection signal="changed" from="VBoxContainer/TabContainer/Select Difficulty/VBoxContainer/ParameterTweaker" to="." method="_on_ParameterTweaker_changed"]
[connection signal="reset" from="VBoxContainer/TabContainer/Select Difficulty/VBoxContainer/ParameterTweaker" to="." method="_on_ParameterTweaker_reset"]
[connection signal="text_changed" from="VBoxContainer/TabContainer/Import Level/LevelCode" to="." method="_on_LevelCode_text_changed"]
[connection signal="pressed" from="VBoxContainer/TabContainer/Import Level/Reset" to="." method="_on_Reset_pressed"]
[connection signal="pressed" from="VBoxContainer/Start" to="." method="_on_Start_pressed"]