godot-psd-training/trainings/stepTip/stepTip.tscn

115 lines
4.3 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=9 format=3 uid="uid://yhr1n6e2m2b6"]
2024-05-17 15:08:24 +08:00
2024-05-17 17:37:41 +08:00
[ext_resource type="Script" path="res://trainings/stepTip/stepTip.gd" id="1_wxsfb"]
[ext_resource type="Theme" uid="uid://bycedcl2nwwlu" path="res://ui_theme.tres" id="2_k8n1n"]
2024-05-22 15:03:03 +08:00
[ext_resource type="Texture2D" uid="uid://x4cnaa1ay6so" path="res://Assets/重来重新开始_浅.png" id="3_6wod8"]
[ext_resource type="Texture2D" uid="uid://0txfneuxl2yq" path="res://Assets/重来重新开始_深.png" id="4_hqt7b"]
[ext_resource type="Texture2D" uid="uid://bxkkaio01iru0" path="res://Assets/向下_浅.jpg" id="5_fuenb"]
[ext_resource type="Texture2D" uid="uid://bqj3a71poyo4j" path="res://Assets/向下_深.jpg" id="6_qgpmc"]
2024-05-22 15:03:03 +08:00
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_l2bt2"]
bg_color = Color(0.189249, 0.649753, 0.849873, 1)
border_width_left = 4
border_width_top = 4
border_width_right = 4
border_width_bottom = 4
border_color = Color(0.00784314, 0.466667, 0.835294, 1)
[sub_resource type="Theme" id="Theme_xlivw"]
Button/styles/normal = SubResource("StyleBoxFlat_l2bt2")
2024-05-17 15:08:24 +08:00
2024-05-17 17:37:41 +08:00
[node name="StepTip" type="Node2D"]
script = ExtResource("1_wxsfb")
2024-05-17 15:08:24 +08:00
[node name="PanelContainer" type="PanelContainer" parent="."]
offset_right = 300.0
2024-05-22 15:03:03 +08:00
offset_bottom = 240.0
theme = ExtResource("2_k8n1n")
2024-05-17 15:08:24 +08:00
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
layout_mode = 2
[node name="Control" type="Control" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
[node name="ColorRect" type="ColorRect" parent="PanelContainer/VBoxContainer/Control"]
layout_mode = 0
offset_right = 300.0
offset_bottom = 30.0
color = Color(0.0509804, 0.388235, 0.752941, 1)
[node name="Label" type="Label" parent="PanelContainer/VBoxContainer/Control"]
layout_mode = 2
offset_right = 300.0
offset_bottom = 30.0
text = "操作提示"
horizontal_alignment = 1
vertical_alignment = 1
2024-05-20 14:47:34 +08:00
autowrap_mode = 1
2024-05-17 15:08:24 +08:00
2024-06-04 10:46:55 +08:00
[node name="Control2" type="Control" parent="PanelContainer/VBoxContainer"]
2024-05-17 15:08:24 +08:00
layout_mode = 2
size_flags_vertical = 3
2024-05-21 11:09:24 +08:00
size_flags_stretch_ratio = 6.0
2024-05-17 15:08:24 +08:00
2024-06-04 10:46:55 +08:00
[node name="ColorRect" type="ColorRect" parent="PanelContainer/VBoxContainer/Control2"]
2024-05-17 15:08:24 +08:00
layout_mode = 0
offset_right = 300.0
2024-05-21 11:09:24 +08:00
offset_bottom = 180.0
2024-05-17 15:08:24 +08:00
color = Color(0.0509804, 0.388235, 0.752941, 0.447059)
2024-06-04 10:46:55 +08:00
[node name="ScrollContainer" type="ScrollContainer" parent="PanelContainer/VBoxContainer/Control2"]
2024-05-17 15:08:24 +08:00
layout_mode = 0
2024-06-04 10:46:55 +08:00
offset_left = 11.0
offset_top = 6.0
offset_right = 291.0
offset_bottom = 181.0
[node name="Label" type="Label" parent="PanelContainer/VBoxContainer/Control2/ScrollContainer"]
clip_contents = true
custom_minimum_size = Vector2(280, 0)
layout_mode = 2
2024-05-20 14:47:34 +08:00
autowrap_mode = 1
2024-05-22 15:03:03 +08:00
[node name="Control3" type="Control" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
[node name="ColorRect" type="ColorRect" parent="PanelContainer/VBoxContainer/Control3"]
layout_mode = 0
offset_right = 300.0
offset_bottom = 30.0
color = Color(0.0509804, 0.388235, 0.752941, 1)
[node name="Restart" type="TextureButton" parent="PanelContainer/VBoxContainer/Control3"]
2024-06-04 09:55:17 +08:00
layout_mode = 0
2024-05-22 15:03:03 +08:00
offset_left = 5.0
offset_top = 2.0
offset_right = 57.0
offset_bottom = 54.0
scale = Vector2(0.5, 0.5)
size_flags_horizontal = 0
size_flags_vertical = 0
theme = SubResource("Theme_xlivw")
texture_normal = ExtResource("3_6wod8")
texture_hover = ExtResource("4_hqt7b")
stretch_mode = 5
[node name="NextStep" type="TextureButton" parent="PanelContainer/VBoxContainer/Control3"]
layout_mode = 0
offset_left = 75.0
offset_top = 1.0
offset_right = 275.0
offset_bottom = 201.0
scale = Vector2(0.13, 0.13)
texture_normal = ExtResource("5_fuenb")
texture_hover = ExtResource("6_qgpmc")
2024-05-22 15:03:03 +08:00
[connection signal="button_down" from="PanelContainer/VBoxContainer/Control3/Restart" to="." method="_on_restart_button_down"]
[connection signal="mouse_entered" from="PanelContainer/VBoxContainer/Control3/Restart" to="." method="_on_restart_mouse_entered"]
[connection signal="mouse_exited" from="PanelContainer/VBoxContainer/Control3/Restart" to="." method="_on_restart_mouse_exited"]
[connection signal="button_down" from="PanelContainer/VBoxContainer/Control3/NextStep" to="." method="_on_texture_button_button_down"]
[connection signal="mouse_entered" from="PanelContainer/VBoxContainer/Control3/NextStep" to="." method="_on_next_step_mouse_entered"]
[connection signal="mouse_exited" from="PanelContainer/VBoxContainer/Control3/NextStep" to="." method="_on_next_step_mouse_exited"]