mirror of
https://github.com/Rundll86/Dog-Lynx-And-HCN.git
synced 2026-05-30 16:01:53 +08:00
feat(UI): 重构能量条为垂直样式并调整UI布局
refactor: 修改能量恢复随机范围从0.01-0.15调整为0.01-0.1 style: 更新着色器进度范围提示从0.0-2.0改为-0.0-2.0 feat: 新增垂直颜色条组件和样式资源 chore: 恢复测试波次为普通模式
This commit is contained in:
@@ -0,0 +1,41 @@
|
||||
[gd_scene load_steps=7 format=3 uid="uid://b07gqo6df0r5y"]
|
||||
|
||||
[ext_resource type="PackedScene" uid="uid://d1ulrvupa76ap" path="res://components/UI/ColorBar.tscn" id="1_345g7"]
|
||||
[ext_resource type="Script" path="res://scripts/Statemachine/Variants/VerticalColorBar.gd" id="2_25su1"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_b46aq"]
|
||||
bg_color = Color(0, 0, 0, 0.5)
|
||||
corner_radius_top_left = 5
|
||||
corner_radius_top_right = 5
|
||||
corner_radius_bottom_right = 5
|
||||
corner_radius_bottom_left = 5
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_jm5oe"]
|
||||
bg_color = Color(1, 0, 0, 0.5)
|
||||
corner_radius_top_left = 5
|
||||
corner_radius_top_right = 5
|
||||
corner_radius_bottom_right = 5
|
||||
corner_radius_bottom_left = 5
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_w7upt"]
|
||||
bg_color = Color(0, 1, 0, 0.5)
|
||||
corner_radius_top_left = 5
|
||||
corner_radius_top_right = 5
|
||||
corner_radius_bottom_right = 5
|
||||
corner_radius_bottom_left = 5
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_l12vy"]
|
||||
bg_color = Color(1, 1, 1, 1)
|
||||
corner_radius_top_left = 5
|
||||
corner_radius_top_right = 5
|
||||
corner_radius_bottom_right = 5
|
||||
corner_radius_bottom_left = 5
|
||||
|
||||
[node name="VerticalColorBar" instance=ExtResource("1_345g7")]
|
||||
offset_right = 10.0
|
||||
offset_bottom = 100.0
|
||||
script = ExtResource("2_25su1")
|
||||
backBox = SubResource("StyleBoxFlat_b46aq")
|
||||
middleBox1 = SubResource("StyleBoxFlat_jm5oe")
|
||||
middleBox2 = SubResource("StyleBoxFlat_w7upt")
|
||||
frontBox = SubResource("StyleBoxFlat_l12vy")
|
||||
Reference in New Issue
Block a user