challenge-editor/scene/banner.tscn
2024-09-19 17:56:05 +08:00

362 lines
12 KiB
Plaintext

[gd_scene load_steps=20 format=3 uid="uid://batc5tlfgbqm5"]
[ext_resource type="Script" path="res://scene/banner.gd" id="1_5ak3s"]
[ext_resource type="Texture2D" uid="uid://s07n63marhbe" path="res://res/ui/ui_014_banner/tuceng1.png" id="1_pitv7"]
[ext_resource type="Texture2D" uid="uid://ntcjrafc73k2" path="res://res/ui/ui_014_banner/back.png" id="2_33u7c"]
[ext_resource type="Texture2D" uid="uid://bny3npt67jewn" path="res://res/ui/ui_014_banner/tuceng2.png" id="3_w0102"]
[ext_resource type="PackedScene" uid="uid://d23n8itdwv8yi" path="res://scene/banner_side_card.tscn" id="4_j5tr8"]
[ext_resource type="Texture2D" uid="uid://g07piua8lbk2" path="res://res/ui/ui_014_banner/tuceng228.png" id="4_jrsee"]
[ext_resource type="Texture2D" uid="uid://b668nt7r606tj" path="res://res/ui/ui_014_banner/juxing13.png" id="5_avux8"]
[ext_resource type="PackedScene" uid="uid://bdlo2wn4qnygv" path="res://scene/tool/tool_button.tscn" id="6_k3cic"]
[ext_resource type="Texture2D" uid="uid://d3cb3tw2n665y" path="res://res/ui/ui_014_banner/tuceng226.png" id="6_kopnu"]
[ext_resource type="Texture2D" uid="uid://dkxroynyoljgp" path="res://res/ui/ui_014_banner/juxing12.png" id="7_esxip"]
[ext_resource type="Texture2D" uid="uid://by5wwqutmq8ga" path="res://res/ui/ui_002_main/dinglan1.png" id="8_522oi"]
[ext_resource type="Texture2D" uid="uid://drot7aaqilnqi" path="res://res/ui/ui_002_main/jifen.png" id="9_5ee63"]
[ext_resource type="Texture2D" uid="uid://ceiuf8ik4bayc" path="res://res/ui/ui_002_main/dinglan2.png" id="10_ckks4"]
[ext_resource type="Texture2D" uid="uid://dyo5mbihty3kj" path="res://res/ui/ui_002_main/jinqian.png" id="11_010ci"]
[ext_resource type="Texture2D" uid="uid://dhami8jqvorqr" path="res://res/ui/ui_002_main/dinglan3.png" id="12_gbyss"]
[ext_resource type="Texture2D" uid="uid://c81mesvvsvfnp" path="res://res/ui/ui_002_main/zuanshi.png" id="13_dqs0f"]
[ext_resource type="Texture2D" uid="uid://dcoj37l5nq6xy" path="res://res/ui/ui_002_main/dinglan4.png" id="14_u5qya"]
[ext_resource type="Texture2D" uid="uid://bq6v0t5bov8ck" path="res://res/ui/ui_002_main/physical.png" id="15_qt6ra"]
[ext_resource type="PackedScene" uid="uid://cn3s171ioei4v" path="res://scene/banner_detail.tscn" id="19_mb4ei"]
[node name="banner" 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_5ak3s")
[node name="TextureRect" 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_pitv7")
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 = 13
theme_override_constants/margin_right = 16
theme_override_constants/margin_bottom = 22
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer"]
layout_mode = 2
theme_override_constants/separation = 18
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer"]
custom_minimum_size = Vector2(291, 0)
layout_mode = 2
theme_override_constants/separation = 15
[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/VBoxContainer"]
layout_mode = 2
size_flags_horizontal = 0
texture = ExtResource("2_33u7c")
[node name="back" parent="MarginContainer/HBoxContainer/VBoxContainer/TextureRect" instance=ExtResource("6_k3cic")]
layout_mode = 1
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer/HBoxContainer/VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 36
[node name="banner_side_card" parent="MarginContainer/HBoxContainer/VBoxContainer/VBoxContainer" instance=ExtResource("4_j5tr8")]
layout_mode = 2
[node name="banner_side_card2" parent="MarginContainer/HBoxContainer/VBoxContainer/VBoxContainer" instance=ExtResource("4_j5tr8")]
layout_mode = 2
[node name="banner_side_card3" parent="MarginContainer/HBoxContainer/VBoxContainer/VBoxContainer" instance=ExtResource("4_j5tr8")]
layout_mode = 2
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/margin_top = 23
[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer"]
layout_mode = 2
texture = ExtResource("3_w0102")
expand_mode = 1
stretch_mode = 6
[node name="mask" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/TextureRect"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("4_jrsee")
expand_mode = 1
[node name="vbox" type="VBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/TextureRect"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.187105
anchor_top = 0.0560386
anchor_right = 0.532238
anchor_bottom = 1.0
offset_right = 6.10352e-05
metadata/_edit_use_anchors_ = true
[node name="character" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/TextureRect/vbox"]
layout_mode = 2
size_flags_vertical = 10
expand_mode = 5
stretch_mode = 5
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/HBoxContainer/MarginContainer/TextureRect"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.0335019
anchor_top = 0.859903
anchor_right = 0.958913
anchor_bottom = 0.960386
metadata/_edit_use_anchors_ = true
[node name="TextureRect" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/TextureRect/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
texture = ExtResource("5_avux8")
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/TextureRect/HBoxContainer/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 = 30
text = "查看详情"
horizontal_alignment = 1
vertical_alignment = 1
[node name="ToolButton" parent="MarginContainer/HBoxContainer/MarginContainer/TextureRect/HBoxContainer/TextureRect" instance=ExtResource("6_k3cic")]
layout_mode = 1
[node name="TextureRect2" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/TextureRect/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 10
size_flags_vertical = 4
texture = ExtResource("6_kopnu")
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/TextureRect/HBoxContainer/TextureRect2"]
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 = 30
text = "抽一次"
horizontal_alignment = 1
vertical_alignment = 1
[node name="ToolButton" parent="MarginContainer/HBoxContainer/MarginContainer/TextureRect/HBoxContainer/TextureRect2" instance=ExtResource("6_k3cic")]
layout_mode = 1
[node name="TextureRect3" type="TextureRect" parent="MarginContainer/HBoxContainer/MarginContainer/TextureRect/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 8
size_flags_vertical = 4
texture = ExtResource("7_esxip")
[node name="Label" type="Label" parent="MarginContainer/HBoxContainer/MarginContainer/TextureRect/HBoxContainer/TextureRect3"]
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 = 30
text = "十连抽"
horizontal_alignment = 1
vertical_alignment = 1
[node name="ToolButton" parent="MarginContainer/HBoxContainer/MarginContainer/TextureRect/HBoxContainer/TextureRect3" instance=ExtResource("6_k3cic")]
layout_mode = 1
[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -1094.0
offset_bottom = 81.0
theme_override_constants/separation = -30
metadata/_edit_use_anchors_ = true
[node name="Control" type="Control" parent="HBoxContainer"]
custom_minimum_size = Vector2(296, 64)
layout_mode = 2
size_flags_horizontal = 10
[node name="TextureRect" type="TextureRect" parent="HBoxContainer/Control"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("8_522oi")
stretch_mode = 5
[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/Control"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.0878378
anchor_right = 0.864865
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 26
[node name="TextureRect" type="TextureRect" parent="HBoxContainer/Control/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 0
texture = ExtResource("9_5ee63")
expand_mode = 3
stretch_mode = 5
[node name="Label" type="Label" parent="HBoxContainer/Control/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 2
theme_override_font_sizes/font_size = 34
text = "9999"
[node name="Control2" type="Control" parent="HBoxContainer"]
custom_minimum_size = Vector2(296, 64)
layout_mode = 2
size_flags_horizontal = 10
[node name="TextureRect" type="TextureRect" parent="HBoxContainer/Control2"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("10_ckks4")
stretch_mode = 5
[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/Control2"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.0912162
anchor_right = 0.847973
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 26
metadata/_edit_use_anchors_ = true
[node name="TextureRect" type="TextureRect" parent="HBoxContainer/Control2/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 0
texture = ExtResource("11_010ci")
expand_mode = 3
stretch_mode = 5
[node name="Label" type="Label" parent="HBoxContainer/Control2/HBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 34
text = "9999"
[node name="Control3" type="Control" parent="HBoxContainer"]
custom_minimum_size = Vector2(296, 64)
layout_mode = 2
size_flags_horizontal = 10
[node name="TextureRect" type="TextureRect" parent="HBoxContainer/Control3"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("12_gbyss")
[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/Control3"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.155
anchor_right = 0.855
anchor_bottom = 1.0
offset_left = 0.119999
offset_right = -0.0800018
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 26
[node name="TextureRect" type="TextureRect" parent="HBoxContainer/Control3/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 0
texture = ExtResource("13_dqs0f")
expand_mode = 3
stretch_mode = 5
[node name="Label" type="Label" parent="HBoxContainer/Control3/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 0
theme_override_font_sizes/font_size = 34
text = "9999"
[node name="Control4" type="Control" parent="HBoxContainer"]
custom_minimum_size = Vector2(296, 64)
layout_mode = 2
size_flags_horizontal = 10
[node name="TextureRect" type="TextureRect" parent="HBoxContainer/Control4"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("14_u5qya")
[node name="HBoxContainer" type="HBoxContainer" parent="HBoxContainer/Control4"]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.162162
anchor_right = 0.915541
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 26
metadata/_edit_use_anchors_ = true
[node name="TextureRect" type="TextureRect" parent="HBoxContainer/Control4/HBoxContainer"]
layout_mode = 2
texture = ExtResource("15_qt6ra")
expand_mode = 3
stretch_mode = 5
[node name="Label" type="Label" parent="HBoxContainer/Control4/HBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 34
text = "9999"
[node name="banner_detail" parent="." instance=ExtResource("19_mb4ei")]
visible = false
layout_mode = 1
[connection signal="pressed" from="MarginContainer/HBoxContainer/VBoxContainer/TextureRect/back" to="." method="_on_back_pressed"]