This commit is contained in:
shurongsen 2024-12-20 15:15:52 +08:00
parent fde9a7cc38
commit 210b92f83c
9 changed files with 178 additions and 7 deletions

View File

@ -1,4 +1,4 @@
[gd_scene load_steps=16 format=3 uid="uid://ccp1epic52e7k"]
[gd_scene load_steps=18 format=3 uid="uid://ccp1epic52e7k"]
[ext_resource type="Script" path="res://Modules/SpeedGearAdjustment.gd" id="1_8ml6x"]
[ext_resource type="Texture2D" uid="uid://pomyaut6jtnm" path="res://yuan.png" id="2_5b01c"]
@ -10,6 +10,8 @@
[ext_resource type="Script" path="res://common/base/base_control.gd" id="7_smylr"]
[ext_resource type="Texture2D" uid="uid://py3v278ho7vt" path="res://pad_hmi_ui/home/plus_btn.png" id="8_kef14"]
[ext_resource type="Script" path="res://code/path_follow_2d_por.gd" id="9_34b06"]
[ext_resource type="Texture2D" uid="uid://bsbptxpt17lo5" path="res://pad_hmi_ui/home/6C56D304-B9D8-409E-B5A4-D15F18A0E87A.png" id="11_o3pr5"]
[ext_resource type="Texture2D" uid="uid://xbugddj2xpru" path="res://pad_hmi_ui/home/25A288F6-B440-4F4F-9E3C-F2BE6F3575E0.png" id="12_drn41"]
[sub_resource type="Shader" id="Shader_f57hx"]
code = "shader_type canvas_item;
@ -210,35 +212,68 @@ script = ExtResource("9_34b06")
textureProgressBar = NodePath("../..")
node = NodePath("../../GearTextureRect")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
[node name="VBoxContainer2" type="VBoxContainer" parent="."]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
theme_override_constants/separation = 31
[node name="VBoxContainer" type="VBoxContainer" parent="VBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
theme_override_constants/separation = -17
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer2/VBoxContainer"]
layout_mode = 2
theme_override_constants/separation = 18
[node name="ThrottlePositionLabel" type="Label" parent="VBoxContainer/HBoxContainer"]
[node name="ThrottlePositionLabel" type="Label" parent="VBoxContainer2/VBoxContainer/HBoxContainer"]
unique_name_in_owner = true
layout_mode = 2
theme_override_font_sizes/font_size = 65
text = "14"
script = ExtResource("7_smylr")
[node name="Label2" type="Label" parent="VBoxContainer/HBoxContainer"]
[node name="Label2" type="Label" parent="VBoxContainer2/VBoxContainer/HBoxContainer"]
modulate = Color(0.403922, 0.403922, 0.403922, 1)
layout_mode = 2
theme_override_font_sizes/font_size = 34
text = "/"
[node name="Label3" type="Label" parent="VBoxContainer/HBoxContainer"]
[node name="Label3" type="Label" parent="VBoxContainer2/VBoxContainer/HBoxContainer"]
modulate = Color(0.403922, 0.403922, 0.403922, 1)
layout_mode = 2
theme_override_font_sizes/font_size = 34
text = "50"
[node name="Label" type="Label" parent="VBoxContainer"]
[node name="Label" type="Label" parent="VBoxContainer2/VBoxContainer"]
modulate = Color(0.403922, 0.403922, 0.403922, 1)
layout_mode = 2
size_flags_horizontal = 4
theme_override_font_sizes/font_size = 34
text = "speed"
[node name="MarginContainer" type="MarginContainer" parent="VBoxContainer2"]
layout_mode = 2
script = ExtResource("7_smylr")
is_Scale = true
[node name="TextureRect" type="TextureRect" parent="VBoxContainer2/MarginContainer"]
layout_mode = 2
texture = ExtResource("11_o3pr5")
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer2/MarginContainer"]
layout_mode = 2
size_flags_horizontal = 4
size_flags_vertical = 4
theme_override_constants/separation = 18
[node name="TextureRect" type="TextureRect" parent="VBoxContainer2/MarginContainer/HBoxContainer"]
layout_mode = 2
texture = ExtResource("12_drn41")
[node name="Label" type="Label" parent="VBoxContainer2/MarginContainer/HBoxContainer"]
layout_mode = 2
theme_override_font_sizes/font_size = 25
text = "临时停车"

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://xbugddj2xpru"
path="res://.godot/imported/25A288F6-B440-4F4F-9E3C-F2BE6F3575E0.png-c6021801bdd2c8d60bd7738f7ff2504d.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://pad_hmi_ui/home/25A288F6-B440-4F4F-9E3C-F2BE6F3575E0.png"
dest_files=["res://.godot/imported/25A288F6-B440-4F4F-9E3C-F2BE6F3575E0.png-c6021801bdd2c8d60bd7738f7ff2504d.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://bsbptxpt17lo5"
path="res://.godot/imported/6C56D304-B9D8-409E-B5A4-D15F18A0E87A.png-c620d58f7d0acf628ca2bcb5bf910a9b.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://pad_hmi_ui/home/6C56D304-B9D8-409E-B5A4-D15F18A0E87A.png"
dest_files=["res://.godot/imported/6C56D304-B9D8-409E-B5A4-D15F18A0E87A.png-c620d58f7d0acf628ca2bcb5bf910a9b.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://cr2soplwkuh5f"
path="res://.godot/imported/8B0FA651-D630-410E-B714-0D4AF0C9EF1E.png-cb9ef8c0a297f2bb9756d3c9c0d35739.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://pad_hmi_ui/home/8B0FA651-D630-410E-B714-0D4AF0C9EF1E.png"
dest_files=["res://.godot/imported/8B0FA651-D630-410E-B714-0D4AF0C9EF1E.png-cb9ef8c0a297f2bb9756d3c9c0d35739.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@ -0,0 +1,34 @@
[remap]
importer="texture"
type="CompressedTexture2D"
uid="uid://clsgg754i7awu"
path="res://.godot/imported/93144D41-5C47-4DB5-9002-62791245B124.png-874ece031478a6a7711b0dbc0910617e.ctex"
metadata={
"vram_texture": false
}
[deps]
source_file="res://pad_hmi_ui/home/93144D41-5C47-4DB5-9002-62791245B124.png"
dest_files=["res://.godot/imported/93144D41-5C47-4DB5-9002-62791245B124.png-874ece031478a6a7711b0dbc0910617e.ctex"]
[params]
compress/mode=0
compress/high_quality=false
compress/lossy_quality=0.7
compress/hdr_compression=1
compress/normal_map=0
compress/channel_pack=0
mipmaps/generate=false
mipmaps/limit=-1
roughness/mode=0
roughness/src_normal=""
process/fix_alpha_border=true
process/premult_alpha=false
process/normal_map_invert_y=false
process/hdr_as_srgb=false
process/hdr_clamp_exposure=false
process/size_limit=0
detect_3d/compress_to=1