godot-psd-training/UI/JJTC/jjlc.tscn

98 lines
4.3 KiB
Plaintext
Raw Normal View History

2024-05-15 13:44:54 +08:00
[gd_scene load_steps=12 format=3 uid="uid://gjmtus0cnppi"]
2024-04-23 18:06:31 +08:00
2024-04-28 11:21:59 +08:00
[ext_resource type="Script" path="res://sceen/platform/JJTC_Box.gd" id="1_sa7p7"]
[ext_resource type="Script" path="res://UI/JJTC/jjlc.gd" id="1_ymor0"]
2024-04-26 17:42:44 +08:00
[ext_resource type="Texture2D" uid="uid://conkf5pl66e10" path="res://Assets/jjtc/jjtc_lockArea.png" id="3_0sd1y"]
2024-04-28 11:21:59 +08:00
[ext_resource type="Texture2D" uid="uid://cpmlwpev7rvbp" path="res://Assets/打开钥匙面板钥匙.png" id="3_3sobd"]
2024-04-23 18:06:31 +08:00
[ext_resource type="Texture2D" uid="uid://dwo21aihhep0w" path="res://Assets/jjtc/jjtc_ky.png" id="3_cilkf"]
2024-04-28 11:21:59 +08:00
[ext_resource type="Texture2D" uid="uid://350x85ekm0vo" path="res://Assets/jjtc/jjtc_button.png" id="3_t5xss"]
2024-04-23 18:06:31 +08:00
[ext_resource type="Texture2D" uid="uid://b7j3msd4bw0im" path="res://Assets/LCB_Arrow.svg" id="4_xrw3n"]
2024-04-28 11:21:59 +08:00
[ext_resource type="AudioStream" uid="uid://c0j0dmes382ax" path="res://Assets/music/JJTC_Box_Voice.mp3" id="7_khtfn"]
2024-04-29 11:22:44 +08:00
[ext_resource type="Script" path="res://UI/JJTC/JJTC_Right_Rotate.gd" id="8_3qs6d"]
[ext_resource type="Script" path="res://UI/JJTC/JJTC_Left_Rotate.gd" id="9_c03t7"]
2024-05-15 13:44:54 +08:00
[ext_resource type="AudioStream" uid="uid://dai33tg2h3ml3" path="res://Assets/music/点击.MP3" id="11_by1qq"]
2024-04-23 18:06:31 +08:00
2024-04-28 11:21:59 +08:00
[node name="jjtc" type="Window"]
2024-04-23 18:06:31 +08:00
position = Vector2i(0, 36)
2024-04-26 15:14:40 +08:00
size = Vector2i(570, 512)
2024-04-28 11:21:59 +08:00
script = ExtResource("1_ymor0")
2024-04-23 18:06:31 +08:00
[node name="PanelContainer" type="PanelContainer" parent="."]
2024-04-26 15:14:40 +08:00
anchors_preset = -1
anchor_right = 1.00351
anchor_bottom = 1.0
grow_vertical = 2
metadata/_edit_use_anchors_ = true
2024-04-23 18:06:31 +08:00
[node name="VBoxContainer" type="VBoxContainer" parent="PanelContainer"]
layout_mode = 2
2024-04-26 15:14:40 +08:00
[node name="MarginContainer" type="MarginContainer" parent="PanelContainer/VBoxContainer"]
layout_mode = 2
theme_override_constants/margin_left = 60
2024-04-28 11:21:59 +08:00
[node name="JJTC_Box" type="TextureRect" parent="PanelContainer/VBoxContainer/MarginContainer"]
2024-04-23 18:06:31 +08:00
layout_mode = 2
2024-04-28 11:21:59 +08:00
script = ExtResource("1_sa7p7")
[node name="JJTC_Button" type="TextureRect" parent="."]
2024-05-30 16:45:00 +08:00
visible = false
2024-04-28 11:21:59 +08:00
offset_left = 230.0
offset_top = 202.0
offset_right = 320.0
offset_bottom = 288.0
texture = ExtResource("3_t5xss")
2024-04-23 18:06:31 +08:00
2024-04-26 17:42:44 +08:00
[node name="Close_Click_Area" type="TextureRect" parent="."]
offset_left = 390.0
offset_top = 55.0
offset_right = 470.0
offset_bottom = 530.0
texture = ExtResource("3_0sd1y")
2024-04-28 11:21:59 +08:00
[node name="StationKeys" type="TextureRect" parent="."]
offset_left = 525.0
offset_top = 100.0
offset_right = 593.0
offset_bottom = 250.0
scale = Vector2(0.5, 0.5)
texture = ExtResource("3_3sobd")
[node name="JJTC_Key" type="TextureRect" parent="."]
2024-04-26 15:14:40 +08:00
offset_left = 146.0
offset_top = 234.0
offset_right = 210.0
offset_bottom = 254.0
2024-04-23 18:06:31 +08:00
texture = ExtResource("3_cilkf")
2024-04-28 11:21:59 +08:00
[node name="JJTC_Right_Rotate" type="Sprite2D" parent="."]
2024-04-26 15:14:40 +08:00
position = Vector2(224, 210)
2024-04-23 18:06:31 +08:00
rotation = 0.912807
scale = Vector2(0.25, 0.25)
texture = ExtResource("4_xrw3n")
2024-04-29 11:22:44 +08:00
script = ExtResource("8_3qs6d")
2024-04-23 18:06:31 +08:00
2024-04-28 11:21:59 +08:00
[node name="JJTC_Left_Rotate" type="Sprite2D" parent="."]
2024-04-26 15:14:40 +08:00
position = Vector2(132, 210)
2024-04-23 18:06:31 +08:00
rotation = -0.912807
scale = Vector2(0.25, 0.25)
texture = ExtResource("4_xrw3n")
flip_h = true
2024-04-29 11:22:44 +08:00
script = ExtResource("9_c03t7")
2024-04-23 18:06:31 +08:00
2024-04-28 11:21:59 +08:00
[node name="JJTC_Box_Voice" type="AudioStreamPlayer" parent="."]
stream = ExtResource("7_khtfn")
2024-05-15 13:44:54 +08:00
[node name="JJTC_Button_Click" type="AudioStreamPlayer" parent="."]
stream = ExtResource("11_by1qq")
2024-04-28 11:21:59 +08:00
[connection signal="gui_input" from="JJTC_Button" to="." method="_on_jjtc_button_gui_input"]
[connection signal="mouse_entered" from="JJTC_Button" to="." method="_on_jjtc_button_mouse_entered"]
[connection signal="mouse_exited" from="JJTC_Button" to="." method="_on_jjtc_button_mouse_exited"]
[connection signal="gui_input" from="Close_Click_Area" to="PanelContainer/VBoxContainer/MarginContainer/JJTC_Box" method="_on_close_click_area_gui_input"]
[connection signal="mouse_entered" from="Close_Click_Area" to="PanelContainer/VBoxContainer/MarginContainer/JJTC_Box" method="_on_close_click_area_mouse_entered"]
[connection signal="mouse_exited" from="Close_Click_Area" to="PanelContainer/VBoxContainer/MarginContainer/JJTC_Box" method="_on_close_click_area_mouse_exited"]
[connection signal="gui_input" from="StationKeys" to="." method="_on_station_keys_gui_input"]
[connection signal="mouse_entered" from="StationKeys" to="PanelContainer/VBoxContainer/MarginContainer/JJTC_Box" method="_on_station_keys_mouse_entered"]
[connection signal="mouse_exited" from="StationKeys" to="PanelContainer/VBoxContainer/MarginContainer/JJTC_Box" method="_on_station_keys_mouse_exited"]