challenge-editor/scene/auction.tscn
2024-10-10 18:09:32 +08:00

464 lines
16 KiB
Plaintext

[gd_scene load_steps=36 format=3 uid="uid://cykq0nd4y57xe"]
[ext_resource type="Texture2D" uid="uid://uqdkgws2e3dt" path="res://res/ui/ui_029_multi_indetification/tuceng384.png" id="1_6ffgs"]
[ext_resource type="Script" path="res://scene/auction.gd" id="1_butyf"]
[ext_resource type="Texture2D" uid="uid://dxu1jj5xxy21e" path="res://res/ui/ui_031_auction/juxing1.png" id="2_5wobl"]
[ext_resource type="Texture2D" uid="uid://be3n1b7s2o4mm" path="res://icon.svg" id="2_ow75k"]
[ext_resource type="Texture2D" uid="uid://cq18f4k8fhpn" path="res://res/ui/ui_031_auction/juxing2.png" id="3_8sfr8"]
[ext_resource type="Texture2D" uid="uid://da4mwbefqkahf" path="res://test/texture/tsubaki_1.png" id="3_ehg1w"]
[ext_resource type="Texture2D" uid="uid://dltavh71w452u" path="res://test/texture/test_tower.jpg" id="4_3kwax"]
[ext_resource type="Texture2D" uid="uid://bv2ns53p6wrbk" path="res://res/ui/ui_031_auction/juxing10.png" id="4_wpjm4"]
[ext_resource type="Texture2D" uid="uid://bsw6sxyhckrp" path="res://res/ui/ui_031_auction/paimaihang.png" id="5_a1r23"]
[ext_resource type="Texture2D" uid="uid://cla7m1ytnm1hj" path="res://test/texture/test_texture.png" id="5_u4sbb"]
[ext_resource type="Texture2D" uid="uid://dnw2askasnnuh" path="res://res/ui/ui_031_auction/tuceng1.png" id="6_d87c1"]
[ext_resource type="Texture2D" uid="uid://bygnvkcpv0eox" path="res://res/ui/ui_031_auction/tuceng388.png" id="7_36vno"]
[ext_resource type="Texture2D" uid="uid://dhrjshw4swani" path="res://res/ui/ui_031_auction/tuceng389.png" id="8_cxqd0"]
[ext_resource type="Texture2D" uid="uid://csmtlvcvse651" path="res://res/ui/ui_031_auction/juxing4.png" id="9_s0hld"]
[ext_resource type="Texture2D" uid="uid://bsnud1rlpqme" path="res://res/ui/ui_031_auction/juxing5.png" id="10_a2tk0"]
[ext_resource type="PackedScene" uid="uid://bdlo2wn4qnygv" path="res://scene/tool/tool_button.tscn" id="11_yjciw"]
[ext_resource type="Texture2D" uid="uid://dujkfvxy78pu" path="res://res/ui/ui_031_auction/juxing5_2.png" id="12_5iejr"]
[ext_resource type="Texture2D" uid="uid://butvsyebc5fep" path="res://res/ui/ui_031_auction/juxing5_1.png" id="13_ubgv7"]
[ext_resource type="Script" path="res://scene/auction_center_mask.gd" id="14_8d3i1"]
[ext_resource type="Texture2D" uid="uid://c3nm3avrqj4pf" path="res://res/ui/ui_031_auction/tuceng385.png" id="14_bdkb3"]
[ext_resource type="PackedScene" uid="uid://g38jdt16mvek" path="res://scene/warehouse.tscn" id="21_olr8u"]
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_ycg8o"]
texture = ExtResource("2_5wobl")
texture_margin_left = 60.0
texture_margin_top = 51.0
texture_margin_right = 59.895
texture_margin_bottom = 51.0
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_r4lv2"]
texture = ExtResource("3_8sfr8")
texture_margin_left = 67.881
texture_margin_top = 69.212
texture_margin_right = 55.902
texture_margin_bottom = 61.226
[sub_resource type="Gradient" id="Gradient_brav2"]
colors = PackedColorArray(0.419608, 0.419608, 0.419608, 1, 1, 1, 1, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_cegkt"]
gradient = SubResource("Gradient_brav2")
fill_from = Vector2(0.5, 0)
fill_to = Vector2(0.5, 1)
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_ycvga"]
texture = ExtResource("7_36vno")
texture_margin_left = 35.1384
texture_margin_top = 216.687
texture_margin_right = 33.6743
texture_margin_bottom = 203.51
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_k2jnl"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_evaax"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_2nda4"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_8y2eq"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_ors3e"]
[sub_resource type="Theme" id="Theme_t6pgw"]
default_font_size = 59
LineEdit/colors/font_color = Color(0, 0, 0, 1)
LineEdit/styles/focus = SubResource("StyleBoxEmpty_k2jnl")
LineEdit/styles/normal = SubResource("StyleBoxEmpty_evaax")
LineEdit/styles/read_only = SubResource("StyleBoxEmpty_2nda4")
Panel/styles/panel = SubResource("StyleBoxEmpty_8y2eq")
PanelContainer/styles/panel = SubResource("StyleBoxEmpty_ors3e")
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_ioyj6"]
[sub_resource type="Gradient" id="Gradient_d48ll"]
offsets = PackedFloat32Array(0.102362, 0.267717, 0.724409, 0.913386)
colors = PackedColorArray(1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_1benm"]
gradient = SubResource("Gradient_d48ll")
width = 1080
use_hdr = true
[node name="auction" 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_butyf")
texture_arr = Array[Texture2D]([ExtResource("2_ow75k"), ExtResource("3_ehg1w"), ExtResource("4_3kwax"), ExtResource("5_u4sbb")])
[node name="bg" 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_6ffgs")
expand_mode = 1
stretch_mode = 6
[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 = 69
theme_override_constants/margin_top = 35
theme_override_constants/margin_right = 70
theme_override_constants/margin_bottom = 36
[node name="Panel" type="Panel" parent="MarginContainer"]
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxTexture_ycg8o")
[node name="Panel" type="Panel" parent="MarginContainer/Panel"]
z_index = 1
layout_mode = 1
anchors_preset = -1
anchor_left = 0.0471645
anchor_top = 0.086224
anchor_right = 0.300955
anchor_bottom = 0.920714
theme_override_styles/panel = SubResource("StyleBoxTexture_r4lv2")
metadata/_edit_use_anchors_ = true
[node name="TextureRect" type="TextureRect" parent="MarginContainer/Panel/Panel"]
layout_mode = 0
anchor_left = 0.0752212
anchor_top = 0.00712589
anchor_right = 0.924779
anchor_bottom = 0.0831354
texture = SubResource("GradientTexture2D_cegkt")
metadata/_edit_use_anchors_ = true
[node name="Label" type="Label" parent="MarginContainer/Panel/Panel/TextureRect"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_font_sizes/font_size = 36
text = "文字报价信息"
horizontal_alignment = 1
vertical_alignment = 1
[node name="ScrollContainer" type="ScrollContainer" parent="MarginContainer/Panel/Panel"]
layout_mode = 0
anchor_left = 0.0752212
anchor_top = 0.11639
anchor_right = 0.924779
anchor_bottom = 0.963183
horizontal_scroll_mode = 0
metadata/_edit_use_anchors_ = true
[node name="label_add_pos" type="VBoxContainer" parent="MarginContainer/Panel/Panel/ScrollContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 6
[node name="TextureRect" type="TextureRect" parent="MarginContainer/Panel"]
layout_mode = 0
anchor_left = 0.425604
anchor_top = 0.0336967
anchor_right = 0.596856
anchor_bottom = 0.141724
texture = ExtResource("4_wpjm4")
stretch_mode = 5
metadata/_edit_use_anchors_ = true
[node name="TextureRect" type="TextureRect" parent="MarginContainer/Panel/TextureRect"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("5_a1r23")
stretch_mode = 3
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/Panel"]
z_index = 1
layout_mode = 1
anchors_preset = -1
anchor_left = 0.368894
anchor_top = 0.187314
anchor_right = 0.655811
anchor_bottom = 0.699703
theme_override_constants/separation = 16
metadata/_edit_use_anchors_ = true
[node name="TextureRect" type="TextureRect" parent="MarginContainer/Panel/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 4
texture = ExtResource("6_d87c1")
[node name="left" parent="MarginContainer/Panel/HBoxContainer/TextureRect" instance=ExtResource("11_yjciw")]
layout_mode = 1
[node name="PanelContainer" type="Panel" parent="MarginContainer/Panel/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_styles/panel = SubResource("StyleBoxTexture_ycvga")
[node name="aspect" type="AspectRatioContainer" parent="MarginContainer/Panel/HBoxContainer/PanelContainer"]
layout_mode = 2
anchor_left = 0.111
anchor_top = 0.176
anchor_right = 0.892
anchor_bottom = 0.822
offset_left = -5.959
offset_top = -90.992
offset_right = 5.85199
offset_bottom = 92.026
ratio = 0.7
[node name="center_mask" type="Control" parent="MarginContainer/Panel/HBoxContainer/PanelContainer/aspect"]
unique_name_in_owner = true
layout_mode = 2
script = ExtResource("14_8d3i1")
[node name="TextureRect3" type="TextureRect" parent="MarginContainer/Panel/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 4
texture = ExtResource("8_cxqd0")
[node name="right" parent="MarginContainer/Panel/HBoxContainer/TextureRect3" instance=ExtResource("11_yjciw")]
layout_mode = 1
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/Panel"]
layout_mode = 0
anchor_left = 0.388546
anchor_top = 0.713578
anchor_right = 0.635036
anchor_bottom = 0.962339
offset_bottom = -211.0
theme_override_constants/separation = 32
metadata/_edit_use_anchors_ = true
[node name="TextureRect2" type="TextureRect" parent="MarginContainer/Panel/VBoxContainer"]
layout_mode = 2
texture = ExtResource("9_s0hld")
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/Panel/VBoxContainer/TextureRect2"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="Label" type="Label" parent="MarginContainer/Panel/VBoxContainer/TextureRect2/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
size_flags_vertical = 1
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_font_sizes/font_size = 49
text = "报价:"
horizontal_alignment = 2
vertical_alignment = 1
[node name="price_edit" type="SpinBox" parent="MarginContainer/Panel/VBoxContainer/TextureRect2/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
size_flags_horizontal = 3
theme = SubResource("Theme_t6pgw")
theme_override_icons/updown = SubResource("CompressedTexture2D_ioyj6")
max_value = 99999.0
value = 140.0
allow_greater = true
update_on_text_changed = true
[node name="TextureRect3" type="TextureRect" parent="MarginContainer/Panel/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture = ExtResource("10_a2tk0")
[node name="Label" type="Label" parent="MarginContainer/Panel/VBoxContainer/TextureRect3"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 48
text = "出价"
horizontal_alignment = 1
vertical_alignment = 1
[node name="out_price_btn" parent="MarginContainer/Panel/VBoxContainer/TextureRect3" instance=ExtResource("11_yjciw")]
unique_name_in_owner = true
layout_mode = 1
[node name="HBoxContainer2" type="HBoxContainer" parent="MarginContainer/Panel"]
layout_mode = 0
anchor_left = 0.672094
anchor_top = 0.870169
anchor_right = 0.997754
anchor_bottom = 0.962339
theme_override_constants/separation = 43
metadata/_edit_use_anchors_ = true
[node name="TextureRect" type="TextureRect" parent="MarginContainer/Panel/HBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 10
size_flags_vertical = 4
texture = ExtResource("12_5iejr")
[node name="Label" type="Label" parent="MarginContainer/Panel/HBoxContainer2/TextureRect"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.269565
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 48
text = "跳过"
horizontal_alignment = 1
vertical_alignment = 1
metadata/_edit_use_anchors_ = true
[node name="jump" parent="MarginContainer/Panel/HBoxContainer2/TextureRect" instance=ExtResource("11_yjciw")]
layout_mode = 1
[node name="TextureRect2" type="TextureRect" parent="MarginContainer/Panel/HBoxContainer2"]
layout_mode = 2
size_flags_vertical = 4
texture = ExtResource("13_ubgv7")
[node name="Label" type="Label" parent="MarginContainer/Panel/HBoxContainer2/TextureRect2"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.269565
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_font_sizes/font_size = 48
text = "背包"
horizontal_alignment = 1
vertical_alignment = 1
metadata/_edit_use_anchors_ = true
[node name="bag" parent="MarginContainer/Panel/HBoxContainer2/TextureRect2" instance=ExtResource("11_yjciw")]
layout_mode = 1
[node name="TextureRect2" type="TextureRect" parent="MarginContainer/Panel"]
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("14_bdkb3")
[node name="close" parent="MarginContainer/Panel/TextureRect2" instance=ExtResource("11_yjciw")]
layout_mode = 1
[node name="left_mark" type="Control" parent="."]
unique_name_in_owner = true
layout_mode = 1
anchor_left = 0.183854
anchor_top = 0.437963
anchor_right = 0.183854
anchor_bottom = 0.437963
metadata/_edit_use_anchors_ = true
[node name="left_out_mark" type="Control" parent="."]
unique_name_in_owner = true
layout_mode = 1
anchor_left = -0.203646
anchor_top = 0.437963
anchor_right = -0.203646
anchor_bottom = 0.437963
metadata/_edit_use_anchors_ = true
[node name="right_mark" type="Control" parent="."]
unique_name_in_owner = true
layout_mode = 1
anchor_left = 0.819271
anchor_top = 0.437963
anchor_right = 0.819271
anchor_bottom = 0.437963
metadata/_edit_use_anchors_ = true
[node name="right_out_mark" type="Control" parent="."]
unique_name_in_owner = true
layout_mode = 1
anchor_left = 1.18594
anchor_top = 0.437963
anchor_right = 1.18594
anchor_bottom = 0.437963
metadata/_edit_use_anchors_ = true
[node name="test" type="Button" parent="."]
layout_mode = 0
offset_right = 305.0
offset_bottom = 128.0
text = "测试"
[node name="card_add_pos" type="TextureRect" parent="."]
unique_name_in_owner = true
clip_children = 1
clip_contents = true
layout_mode = 1
anchors_preset = -1
anchor_left = 0.0359375
anchor_top = 0.0324074
anchor_right = 0.961458
anchor_bottom = 0.966667
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
texture = SubResource("GradientTexture1D_1benm")
metadata/_edit_use_anchors_ = true
[node name="Timer" type="Timer" parent="."]
wait_time = 30.0
one_shot = true
[node name="time" type="Label" parent="."]
unique_name_in_owner = true
layout_mode = 0
anchor_left = 0.625
anchor_top = 0.207407
anchor_right = 0.704687
anchor_bottom = 0.271296
offset_top = 1.52588e-05
theme_override_colors/font_color = Color(1, 0, 0, 1)
theme_override_font_sizes/font_size = 43
text = "10"
horizontal_alignment = 1
vertical_alignment = 1
metadata/_edit_use_anchors_ = true
[node name="warehouse" parent="." instance=ExtResource("21_olr8u")]
unique_name_in_owner = true
visible = false
z_index = 1
layout_mode = 1
[connection signal="pressed" from="MarginContainer/Panel/HBoxContainer/TextureRect/left" to="." method="left"]
[connection signal="pressed" from="MarginContainer/Panel/HBoxContainer/TextureRect3/right" to="." method="right"]
[connection signal="pressed" from="MarginContainer/Panel/VBoxContainer/TextureRect3/out_price_btn" to="." method="_on_out_price_btn_pressed"]
[connection signal="pressed" from="MarginContainer/Panel/HBoxContainer2/TextureRect/jump" to="." method="_on_jump_pressed"]
[connection signal="pressed" from="MarginContainer/Panel/HBoxContainer2/TextureRect2/bag" to="." method="_on_bag_pressed"]
[connection signal="pressed" from="MarginContainer/Panel/TextureRect2/close" to="." method="_on_close_pressed"]
[connection signal="pressed" from="test" to="." method="_on_test_pressed"]
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
[connection signal="close" from="warehouse" to="." method="_on_warehouse_close"]