2025-08-27 20:47:04 +08:00
|
|
|
[gd_scene load_steps=6 format=3 uid="uid://d1ulrvupa76ap"]
|
2025-08-26 09:24:09 +08:00
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scripts/Statemachine/ColorBar.gd" id="1_a106p"]
|
|
|
|
|
|
2025-08-27 20:27:01 +08:00
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_kf2fc"]
|
|
|
|
|
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
|
|
|
|
|
|
2025-08-27 20:47:04 +08:00
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_sh754"]
|
2025-08-27 20:27:01 +08:00
|
|
|
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
|
|
|
|
|
|
2025-08-27 20:47:04 +08:00
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8n8i8"]
|
|
|
|
|
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
|
|
|
|
|
|
2025-08-27 20:27:01 +08:00
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_x7p33"]
|
|
|
|
|
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
|
|
|
|
|
|
2025-08-26 09:24:09 +08:00
|
|
|
[node name="ColorBar" type="Control"]
|
|
|
|
|
layout_mode = 3
|
|
|
|
|
anchors_preset = 0
|
|
|
|
|
offset_right = 100.0
|
|
|
|
|
offset_bottom = 10.0
|
|
|
|
|
script = ExtResource("1_a106p")
|
2025-08-28 08:22:13 +08:00
|
|
|
currentValue = 100.0
|
2025-08-27 20:27:01 +08:00
|
|
|
backBox = SubResource("StyleBoxFlat_kf2fc")
|
2025-08-27 20:47:04 +08:00
|
|
|
middleBox1 = SubResource("StyleBoxFlat_sh754")
|
|
|
|
|
middleBox2 = SubResource("StyleBoxFlat_8n8i8")
|
2025-08-27 20:27:01 +08:00
|
|
|
frontBox = SubResource("StyleBoxFlat_x7p33")
|
|
|
|
|
speed1 = 0.9
|
2025-08-26 09:24:09 +08:00
|
|
|
speed2 = 0.05
|