challenge-editor/scene/config.tscn

244 lines
9.0 KiB
Plaintext

[gd_scene load_steps=18 format=3 uid="uid://bp04hbeued2uo"]
[ext_resource type="Script" path="res://scene/config.gd" id="1_56x8p"]
[ext_resource type="Texture2D" uid="uid://bh88xd3lon1u8" path="res://res/ui/ui_032_config/tuceng2.png" id="1_nt8m8"]
[ext_resource type="Texture2D" uid="uid://by2e6nigywyqk" path="res://res/ui/ui_032_config/juxing1.png" id="2_eru1r"]
[ext_resource type="Texture2D" uid="uid://das3bb65stovo" path="res://res/ui/ui_032_config/tuceng224.png" id="3_5qmfo"]
[ext_resource type="Texture2D" uid="uid://f84p0bedyunr" path="res://res/ui/ui_032_config/juxing10.png" id="3_sby74"]
[ext_resource type="Texture2D" uid="uid://bdauhvr6hkkh3" path="res://res/ui/ui_032_config/yinyueshezhi.png" id="4_4yr4v"]
[ext_resource type="PackedScene" uid="uid://bdlo2wn4qnygv" path="res://scene/tool/tool_button.tscn" id="4_47pkd"]
[ext_resource type="Texture2D" uid="uid://dkkuwlm4hkptf" path="res://res/ui/ui_032_config/juxing13_1.png" id="6_idxm5"]
[ext_resource type="Texture2D" uid="uid://do21b46okydwi" path="res://res/ui/ui_032_config/juxing11.png" id="6_tb3vp"]
[ext_resource type="Texture2D" uid="uid://djsbkisal4x7u" path="res://res/ui/ui_032_config/yinxiaoshezhi.png" id="8_uluv4"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_ilajt"]
texture = ExtResource("2_eru1r")
texture_margin_left = 62.0046
texture_margin_top = 60.2331
texture_margin_right = 60.2331
texture_margin_bottom = 58.4615
region_rect = Rect2(0, 0, 1780, 960)
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_7hm7c"]
texture = ExtResource("6_tb3vp")
texture_margin_left = 32.2454
texture_margin_top = 39.2553
texture_margin_right = 31.194
texture_margin_bottom = 41.3583
[sub_resource type="Gradient" id="Gradient_7evfr"]
offsets = PackedFloat32Array(0, 0.626087, 0.669565)
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_2yvwx"]
gradient = SubResource("Gradient_7evfr")
width = 128
height = 128
fill = 1
fill_from = Vector2(0.5, 0.5)
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_xqvab"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_daqh4"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_pl3ie"]
[node name="Config" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_56x8p")
[node name="back" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("1_nt8m8")
expand_mode = 1
[node name="MarginContainer" type="MarginContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 70
theme_override_constants/margin_top = 60
theme_override_constants/margin_right = 70
theme_override_constants/margin_bottom = 60
[node name="Panel" type="Panel" parent="MarginContainer"]
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxTexture_ilajt")
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/Panel"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/margin_left = 62
theme_override_constants/margin_top = 65
theme_override_constants/margin_right = 62
theme_override_constants/margin_bottom = 65
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/Panel/MarginContainer"]
layout_mode = 2
theme_override_constants/separation = 80
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/Panel/MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 78
[node name="TextureRect" type="TextureRect" parent="MarginContainer/Panel/MarginContainer/VBoxContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 0
texture = ExtResource("3_sby74")
[node name="TextureRect" type="TextureRect" parent="MarginContainer/Panel/MarginContainer/VBoxContainer/VBoxContainer/TextureRect"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.0759494
anchor_top = 0.183099
anchor_right = 0.68038
anchor_bottom = 0.873239
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("4_4yr4v")
metadata/_edit_use_anchors_ = true
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/Panel/MarginContainer/VBoxContainer/VBoxContainer"]
layout_mode = 2
[node name="Panel" type="Panel" parent="MarginContainer/Panel/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer"]
custom_minimum_size = Vector2(0, 80)
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/panel = SubResource("StyleBoxTexture_7hm7c")
[node name="BGM_bar" type="TextureProgressBar" parent="MarginContainer/Panel/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer/Panel"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 60)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
max_value = 1.0
step = 0.01
nine_patch_stretch = true
texture_progress = ExtResource("6_idxm5")
[node name="BGM_slider" type="HSlider" parent="MarginContainer/Panel/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer/Panel"]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_left = -0.0175121
anchor_top = -0.3
anchor_right = 1.01027
anchor_bottom = 1.3
grow_horizontal = 2
grow_vertical = 2
theme_override_icons/grabber = SubResource("GradientTexture2D_2yvwx")
theme_override_icons/grabber_highlight = SubResource("GradientTexture2D_2yvwx")
theme_override_icons/grabber_disabled = SubResource("GradientTexture2D_2yvwx")
theme_override_styles/slider = SubResource("StyleBoxEmpty_xqvab")
theme_override_styles/grabber_area = SubResource("StyleBoxEmpty_daqh4")
theme_override_styles/grabber_area_highlight = SubResource("StyleBoxEmpty_pl3ie")
max_value = 1.0
step = 0.01
ticks_on_borders = true
[node name="VBoxContainer2" type="VBoxContainer" parent="MarginContainer/Panel/MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 78
[node name="TextureRect" type="TextureRect" parent="MarginContainer/Panel/MarginContainer/VBoxContainer/VBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 0
texture = ExtResource("3_sby74")
[node name="TextureRect" type="TextureRect" parent="MarginContainer/Panel/MarginContainer/VBoxContainer/VBoxContainer2/TextureRect"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.0759494
anchor_top = 0.183099
anchor_right = 0.68038
anchor_bottom = 0.873239
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_uluv4")
metadata/_edit_use_anchors_ = true
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/Panel/MarginContainer/VBoxContainer/VBoxContainer2"]
layout_mode = 2
[node name="Panel" type="Panel" parent="MarginContainer/Panel/MarginContainer/VBoxContainer/VBoxContainer2/HBoxContainer"]
custom_minimum_size = Vector2(0, 80)
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/panel = SubResource("StyleBoxTexture_7hm7c")
[node name="effect_bar" type="TextureProgressBar" parent="MarginContainer/Panel/MarginContainer/VBoxContainer/VBoxContainer2/HBoxContainer/Panel"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 60)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
max_value = 1.0
step = 0.01
nine_patch_stretch = true
texture_progress = ExtResource("6_idxm5")
[node name="effect_slider" type="HSlider" parent="MarginContainer/Panel/MarginContainer/VBoxContainer/VBoxContainer2/HBoxContainer/Panel"]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = -1
anchor_left = -0.0175121
anchor_top = -0.3
anchor_right = 1.01027
anchor_bottom = 1.3
grow_horizontal = 2
grow_vertical = 2
theme_override_icons/grabber = SubResource("GradientTexture2D_2yvwx")
theme_override_icons/grabber_highlight = SubResource("GradientTexture2D_2yvwx")
theme_override_icons/grabber_disabled = SubResource("GradientTexture2D_2yvwx")
theme_override_styles/slider = SubResource("StyleBoxEmpty_xqvab")
theme_override_styles/grabber_area = SubResource("StyleBoxEmpty_daqh4")
theme_override_styles/grabber_area_highlight = SubResource("StyleBoxEmpty_pl3ie")
max_value = 1.0
step = 0.01
ticks_on_borders = true
metadata/_edit_use_anchors_ = true
[node name="TextureRect" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -40.0
offset_bottom = 40.0
grow_horizontal = 0
texture = ExtResource("3_5qmfo")
[node name="back" parent="TextureRect" instance=ExtResource("4_47pkd")]
layout_mode = 1
[connection signal="value_changed" from="MarginContainer/Panel/MarginContainer/VBoxContainer/VBoxContainer/HBoxContainer/Panel/BGM_slider" to="." method="_on_bgm_slider_value_changed"]
[connection signal="value_changed" from="MarginContainer/Panel/MarginContainer/VBoxContainer/VBoxContainer2/HBoxContainer/Panel/effect_slider" to="." method="_on_effect_slider_value_changed"]
[connection signal="pressed" from="TextureRect/back" to="." method="_on_back_pressed"]