Refactor rhythm action architecture
This commit is contained in:
75
scenes/ui/energy_bar.tscn
Normal file
75
scenes/ui/energy_bar.tscn
Normal file
@@ -0,0 +1,75 @@
|
||||
[gd_scene load_steps=2 format=3]
|
||||
|
||||
[ext_resource type="Script" path="res://scenes/ui/energy_bar.gd" id="1"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_segment"]
|
||||
bg_color = Color(0.18, 0.66, 0.95, 1)
|
||||
border_width_left = 1
|
||||
border_width_top = 1
|
||||
border_width_right = 1
|
||||
border_width_bottom = 1
|
||||
border_color = Color(0.66, 0.92, 1, 0.9)
|
||||
|
||||
[node name="EnergyBar" type="HBoxContainer"]
|
||||
theme_override_constants/separation = 4
|
||||
script = ExtResource("1")
|
||||
|
||||
[node name="Segment01" type="Panel" parent="."]
|
||||
modulate = Color(1, 1, 1, 0.35)
|
||||
custom_minimum_size = Vector2(23, 16)
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_segment")
|
||||
|
||||
[node name="Segment02" type="Panel" parent="."]
|
||||
modulate = Color(1, 1, 1, 0.35)
|
||||
custom_minimum_size = Vector2(23, 16)
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_segment")
|
||||
|
||||
[node name="Segment03" type="Panel" parent="."]
|
||||
modulate = Color(1, 1, 1, 0.35)
|
||||
custom_minimum_size = Vector2(23, 16)
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_segment")
|
||||
|
||||
[node name="Segment04" type="Panel" parent="."]
|
||||
modulate = Color(1, 1, 1, 0.35)
|
||||
custom_minimum_size = Vector2(23, 16)
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_segment")
|
||||
|
||||
[node name="Segment05" type="Panel" parent="."]
|
||||
modulate = Color(1, 1, 1, 0.35)
|
||||
custom_minimum_size = Vector2(23, 16)
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_segment")
|
||||
|
||||
[node name="Segment06" type="Panel" parent="."]
|
||||
modulate = Color(1, 1, 1, 0.35)
|
||||
custom_minimum_size = Vector2(23, 16)
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_segment")
|
||||
|
||||
[node name="Segment07" type="Panel" parent="."]
|
||||
modulate = Color(1, 1, 1, 0.35)
|
||||
custom_minimum_size = Vector2(23, 16)
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_segment")
|
||||
|
||||
[node name="Segment08" type="Panel" parent="."]
|
||||
modulate = Color(1, 1, 1, 0.35)
|
||||
custom_minimum_size = Vector2(23, 16)
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_segment")
|
||||
|
||||
[node name="Segment09" type="Panel" parent="."]
|
||||
modulate = Color(1, 1, 1, 0.35)
|
||||
custom_minimum_size = Vector2(23, 16)
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_segment")
|
||||
|
||||
[node name="Segment10" type="Panel" parent="."]
|
||||
modulate = Color(1, 1, 1, 0.35)
|
||||
custom_minimum_size = Vector2(23, 16)
|
||||
layout_mode = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_segment")
|
||||
Reference in New Issue
Block a user