LargeScreen/main.tscn

283 lines
12 KiB
Plaintext
Raw Normal View History

2025-01-13 14:39:58 +08:00
[gd_scene load_steps=28 format=3 uid="uid://dwv63mpx0y857"]
2024-12-17 18:21:12 +08:00
2024-12-18 19:45:53 +08:00
[ext_resource type="Script" path="res://main.gd" id="1_7mntx"]
2024-12-17 18:21:12 +08:00
[ext_resource type="Texture2D" uid="uid://ctqyt5yh6uy78" path="res://res/bg/bg_dropdown_menu_active.png" id="1_rrn5x"]
2025-01-13 14:39:58 +08:00
[ext_resource type="PackedScene" uid="uid://dorp701mkxf6r" path="res://res3D/road_surface_mesh.tscn" id="2_827jm"]
2024-12-17 18:21:12 +08:00
[ext_resource type="Texture2D" uid="uid://bkau0qkht0c8j" path="res://res/icon/icon_more_option_default.png" id="2_kb1k2"]
2025-01-02 02:25:42 +08:00
[ext_resource type="PackedScene" uid="uid://bo8w4npgct57n" path="res://res3D/ego_vehicle.tscn" id="2_may5t"]
2024-12-17 18:21:12 +08:00
[ext_resource type="Texture2D" uid="uid://bjhn4gko31i06" path="res://res/icon/icon_language_setting_default.png" id="2_nfbe6"]
[ext_resource type="Texture2D" uid="uid://bnl4wc12yukw0" path="res://res/icon/icon_terminal_default.png" id="3_2tet8"]
[ext_resource type="Script" path="res://Modules/ButtonItem.gd" id="3_8cofn"]
[ext_resource type="Texture2D" uid="uid://bmv5quilkypgr" path="res://res/preview/chinese.png" id="3_kegs1"]
[ext_resource type="Texture2D" uid="uid://cblh0mxrlrw3s" path="res://res/icon/icon_hide_video_default.png" id="4_dco67"]
[ext_resource type="Texture2D" uid="uid://d31dauellifod" path="res://res/icon/icon_language_setting_hover.png" id="4_ew1by"]
2024-12-18 19:45:53 +08:00
[ext_resource type="Texture2D" uid="uid://cvv784xu4xhoe" path="res://res/icon/icon_terminal_hover.png" id="6_vioyi"]
2024-12-17 18:21:12 +08:00
[ext_resource type="Texture2D" uid="uid://c4jhgcdnltalm" path="res://res/icon/icon_more_option_hover.png" id="8_5t1lf"]
2024-12-18 19:45:53 +08:00
[ext_resource type="Texture2D" uid="uid://uaj4hq8l4sfr" path="res://res/icon/icon_hide_video_hover.png" id="8_ahwag"]
2024-12-19 19:13:12 +08:00
[ext_resource type="Script" path="res://Modules/StateChangeButtonItem.gd" id="8_xyn63"]
[ext_resource type="Texture2D" uid="uid://sbsycy5byl8k" path="res://res/icon/icon_show_video_default.png" id="11_nx1mp"]
[ext_resource type="Texture2D" uid="uid://0fslq0o4y3cl" path="res://res/icon/icon_show_video_hover.png" id="12_py6bo"]
2024-12-18 19:45:53 +08:00
[ext_resource type="PackedScene" uid="uid://bk6628qw2j15m" path="res://Modules/language_panel_vertical.tscn" id="13_ec1yh"]
2024-12-19 19:13:12 +08:00
[ext_resource type="PackedScene" uid="uid://dh23at8cqmfe8" path="res://Modules/station_view_new.tscn" id="15_nyjwy"]
2025-01-03 14:02:17 +08:00
[ext_resource type="PackedScene" uid="uid://425pbmb8drum" path="res://main_perspectiveinfo.tscn" id="17_01nvm"]
2024-12-19 19:13:12 +08:00
[ext_resource type="PackedScene" uid="uid://dwjj0vio2iyaf" path="res://Modules/tunnel_panel.tscn" id="17_6c7jw"]
2025-01-13 14:39:58 +08:00
[ext_resource type="Shader" path="res://common/shader/round.gdshader" id="18_fjpgu"]
[ext_resource type="Texture2D" uid="uid://bvwmes0b84x05" path="res://res/icon-39.png" id="19_430ey"]
[ext_resource type="Texture2D" uid="uid://odtdv6uuxul6" path="res://res/mask/overlay_ad_mask_semi_transparent.png" id="19_ibu8o"]
2025-01-02 02:25:42 +08:00
[ext_resource type="Environment" uid="uid://c5ksuke04sr07" path="res://res3D/mainEnvironment.tres" id="25_vr8se"]
2024-12-17 18:21:12 +08:00
2025-01-13 14:39:58 +08:00
[sub_resource type="ShaderMaterial" id="ShaderMaterial_q0fys"]
shader = ExtResource("18_fjpgu")
shader_parameter/size = Vector2(1426, 809)
shader_parameter/round_all = 40.0
shader_parameter/left_top = 0.0
shader_parameter/right_top = 0.0
shader_parameter/left_bottom = 0.0
shader_parameter/right_botom = 0.0
shader_parameter/border_color = null
shader_parameter/Background_color = null
shader_parameter/Background_color_a = 0.0
shader_parameter/border_width = 0.0
shader_parameter/isColor = false
shader_parameter/isBackground_color = false
2025-01-03 14:02:17 +08:00
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_itxs2"]
2024-12-17 18:21:12 +08:00
[node name="Control" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
2024-12-18 19:45:53 +08:00
script = ExtResource("1_7mntx")
2024-12-17 18:21:12 +08:00
2025-01-13 14:39:58 +08:00
[node name="RoadSurfaceMesh" parent="." instance=ExtResource("2_827jm")]
2025-01-02 02:25:42 +08:00
[node name="EgoVehicle" parent="." instance=ExtResource("2_may5t")]
2024-12-17 18:21:12 +08:00
[node name="Background" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.0431373, 0.101961, 0.164706, 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 = 87
theme_override_constants/margin_top = 25
theme_override_constants/margin_right = 88
theme_override_constants/margin_bottom = 124
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
layout_mode = 2
theme_override_constants/separation = 31
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 27
2024-12-18 19:45:53 +08:00
[node name="MoreOptionPanel" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
2024-12-17 18:21:12 +08:00
layout_mode = 2
size_flags_horizontal = 10
texture = ExtResource("1_rrn5x")
2024-12-18 19:45:53 +08:00
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer/HBoxContainer/MoreOptionPanel"]
2024-12-17 18:21:12 +08:00
layout_mode = 1
anchors_preset = -1
anchor_left = 0.030303
anchor_right = 0.933884
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
metadata/_edit_use_anchors_ = true
2024-12-18 19:45:53 +08:00
[node name="Language" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer/MoreOptionPanel/HBoxContainer"]
2024-12-17 18:21:12 +08:00
layout_mode = 2
size_flags_horizontal = 3
flat = true
script = ExtResource("3_8cofn")
TextureNormal = ExtResource("2_nfbe6")
TextureSelected = ExtResource("4_ew1by")
2024-12-18 19:45:53 +08:00
[node name="TextureRect" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer/MoreOptionPanel/HBoxContainer/Language"]
2024-12-17 18:21:12 +08:00
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -29.0
offset_top = -29.0
offset_right = 29.0
offset_bottom = 29.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_nfbe6")
2024-12-18 19:45:53 +08:00
[node name="Tunnel" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer/MoreOptionPanel/HBoxContainer"]
2024-12-17 18:21:12 +08:00
layout_mode = 2
size_flags_horizontal = 3
2024-12-18 19:45:53 +08:00
flat = true
script = ExtResource("3_8cofn")
TextureNormal = ExtResource("3_2tet8")
TextureSelected = ExtResource("6_vioyi")
[node name="TextureRect" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer/MoreOptionPanel/HBoxContainer/Tunnel"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -20.0
offset_top = -20.0
offset_right = 20.0
offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2
2024-12-17 18:21:12 +08:00
texture = ExtResource("3_2tet8")
2024-12-18 19:45:53 +08:00
[node name="ADView" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer/MoreOptionPanel/HBoxContainer"]
2024-12-19 19:13:12 +08:00
unique_name_in_owner = true
2024-12-17 18:21:12 +08:00
layout_mode = 2
size_flags_horizontal = 3
2024-12-18 19:45:53 +08:00
flat = true
2024-12-19 19:13:12 +08:00
script = ExtResource("8_xyn63")
2024-12-18 19:45:53 +08:00
TextureNormal = ExtResource("4_dco67")
2024-12-19 19:13:12 +08:00
TextureNormalHigh = ExtResource("8_ahwag")
TextureSelected = ExtResource("11_nx1mp")
TextureSelectedHigh = ExtResource("12_py6bo")
2024-12-18 19:45:53 +08:00
[node name="TextureRect" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer/MoreOptionPanel/HBoxContainer/ADView"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -20.0
offset_top = -20.0
offset_right = 20.0
offset_bottom = 20.0
grow_horizontal = 2
grow_vertical = 2
2024-12-17 18:21:12 +08:00
texture = ExtResource("4_dco67")
[node name="MoreOption" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer"]
2024-12-18 19:45:53 +08:00
unique_name_in_owner = true
2024-12-17 18:21:12 +08:00
custom_minimum_size = Vector2(39, 0)
layout_mode = 2
size_flags_horizontal = 4
flat = true
script = ExtResource("3_8cofn")
TextureNormal = ExtResource("2_kb1k2")
TextureSelected = ExtResource("8_5t1lf")
[node name="TextureRect" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer/MoreOption"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_kb1k2")
stretch_mode = 5
[node name="HBoxContainer2" type="HBoxContainer" parent="MarginContainer/VBoxContainer"]
layout_mode = 2
size_flags_vertical = 3
theme_override_constants/separation = 68
2024-12-19 19:13:12 +08:00
[node name="StationView" parent="MarginContainer/VBoxContainer/HBoxContainer2" instance=ExtResource("15_nyjwy")]
unique_name_in_owner = true
2024-12-17 18:21:12 +08:00
layout_mode = 2
2025-01-03 14:02:17 +08:00
[node name="MainPerspectiveinfo" parent="MarginContainer/VBoxContainer/HBoxContainer2" instance=ExtResource("17_01nvm")]
2024-12-19 19:13:12 +08:00
layout_mode = 2
2024-12-18 19:45:53 +08:00
2025-01-03 14:02:17 +08:00
[node name="ADPanel" type="MarginContainer" parent="MarginContainer/VBoxContainer/HBoxContainer2"]
2024-12-19 19:13:12 +08:00
unique_name_in_owner = true
2024-12-18 19:45:53 +08:00
custom_minimum_size = Vector2(1426, 0)
layout_mode = 2
2025-01-13 14:39:58 +08:00
[node name="TextureRect" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer2/ADPanel"]
layout_mode = 2
texture = ExtResource("19_430ey")
expand_mode = 1
stretch_mode = 5
[node name="AdpanelTextureRect" type="TextureRect" parent="MarginContainer/VBoxContainer/HBoxContainer2/ADPanel"]
unique_name_in_owner = true
material = SubResource("ShaderMaterial_q0fys")
layout_mode = 2
texture = ExtResource("19_ibu8o")
expand_mode = 1
[node name="AdpanelVideoStreamPlayer" type="VideoStreamPlayer" parent="MarginContainer/VBoxContainer/HBoxContainer2/ADPanel/AdpanelTextureRect"]
unique_name_in_owner = true
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
autoplay = true
expand = true
2024-12-19 19:13:12 +08:00
[node name="ADTab" type="TabContainer" parent="MarginContainer/VBoxContainer/HBoxContainer2/ADPanel"]
unique_name_in_owner = true
2025-01-13 14:39:58 +08:00
visible = false
2025-01-03 14:02:17 +08:00
layout_mode = 2
theme_override_styles/panel = SubResource("StyleBoxEmpty_itxs2")
current_tab = 1
2024-12-19 19:13:12 +08:00
tabs_visible = false
[node name="LanguageVertical" parent="MarginContainer/VBoxContainer/HBoxContainer2/ADPanel/ADTab" instance=ExtResource("13_ec1yh")]
unique_name_in_owner = true
2025-01-03 14:02:17 +08:00
visible = false
2024-12-19 19:13:12 +08:00
layout_mode = 2
metadata/_tab_index = 0
[node name="TunnelPanel" parent="MarginContainer/VBoxContainer/HBoxContainer2/ADPanel/ADTab" instance=ExtResource("17_6c7jw")]
layout_mode = 2
metadata/_tab_index = 1
2024-12-17 18:21:12 +08:00
[node name="TextureRect" type="TextureRect" parent="."]
visible = false
modulate = Color(1, 1, 1, 0.345098)
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("3_kegs1")
2024-12-18 19:45:53 +08:00
2025-01-02 02:25:42 +08:00
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = ExtResource("25_vr8se")
2025-01-13 14:39:58 +08:00
[node name="HTTPRequest" type="HTTPRequest" parent="."]
use_threads = true
2024-12-19 19:13:12 +08:00
[connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer/MoreOptionPanel/HBoxContainer/Language" to="." method="_on_language_pressed"]
[connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer/MoreOptionPanel/HBoxContainer/Tunnel" to="." method="_on_tunnel_pressed"]
[connection signal="self_click" from="MarginContainer/VBoxContainer/HBoxContainer/MoreOptionPanel/HBoxContainer/ADView" to="." method="_on_ad_view_self_click"]
2024-12-18 19:45:53 +08:00
[connection signal="pressed" from="MarginContainer/VBoxContainer/HBoxContainer/MoreOption" to="." method="_on_more_option_pressed"]
2025-01-13 14:39:58 +08:00
[connection signal="finished" from="MarginContainer/VBoxContainer/HBoxContainer2/ADPanel/AdpanelTextureRect/AdpanelVideoStreamPlayer" to="." method="_on_adpanel_video_stream_player_finished"]
2024-12-19 19:13:12 +08:00
[connection signal="click" from="MarginContainer/VBoxContainer/HBoxContainer2/ADPanel/ADTab/LanguageVertical" to="." method="_on_language_vertical_click"]
[connection signal="close_requeset" from="MarginContainer/VBoxContainer/HBoxContainer2/ADPanel/ADTab/LanguageVertical" to="." method="_on_language_close_requeset"]
[connection signal="request_hide" from="MarginContainer/VBoxContainer/HBoxContainer2/ADPanel/ADTab/TunnelPanel" to="." method="_on_tunnel_panel_request_hide"]
[connection signal="search_click" from="MarginContainer/VBoxContainer/HBoxContainer2/ADPanel/ADTab/TunnelPanel" to="." method="_on_tunnel_panel_search_click"]
2025-01-13 14:39:58 +08:00
[connection signal="request_completed" from="HTTPRequest" to="." method="_on_http_request_request_completed"]