mirror of
https://github.com/Relintai/broken_seals.git
synced 2024-11-13 20:47:19 +01:00
Color health, mana, and xp bars.
This commit is contained in:
parent
4ceb9f134c
commit
7c08311b75
14
game/ui/theme/scrollbar_grabber_blue.tres
Normal file
14
game/ui/theme/scrollbar_grabber_blue.tres
Normal file
@ -0,0 +1,14 @@
|
||||
[gd_resource type="StyleBoxTexture" load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://ui/theme/scrollbar_grabber_atlas.tres" type="Texture" id=1]
|
||||
|
||||
[resource]
|
||||
texture = ExtResource( 1 )
|
||||
region_rect = Rect2( 0, 0, 10, 11 )
|
||||
margin_left = 2.35121
|
||||
margin_right = 2.35121
|
||||
margin_top = 2.95077
|
||||
margin_bottom = 2.65099
|
||||
axis_stretch_horizontal = 2
|
||||
axis_stretch_vertical = 2
|
||||
modulate_color = Color( 0.0588235, 0.403922, 1, 1 )
|
14
game/ui/theme/scrollbar_grabber_blue_xp.tres
Normal file
14
game/ui/theme/scrollbar_grabber_blue_xp.tres
Normal file
@ -0,0 +1,14 @@
|
||||
[gd_resource type="StyleBoxTexture" load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://ui/theme/scrollbar_grabber_atlas.tres" type="Texture" id=1]
|
||||
|
||||
[resource]
|
||||
texture = ExtResource( 1 )
|
||||
region_rect = Rect2( 0, 0, 10, 11 )
|
||||
margin_left = 2.35121
|
||||
margin_right = 2.35121
|
||||
margin_top = 2.95077
|
||||
margin_bottom = 2.65099
|
||||
axis_stretch_horizontal = 2
|
||||
axis_stretch_vertical = 2
|
||||
modulate_color = Color( 0.054902, 1, 0.976471, 1 )
|
14
game/ui/theme/scrollbar_grabber_red.tres
Normal file
14
game/ui/theme/scrollbar_grabber_red.tres
Normal file
@ -0,0 +1,14 @@
|
||||
[gd_resource type="StyleBoxTexture" load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://ui/theme/scrollbar_grabber_atlas.tres" type="Texture" id=1]
|
||||
|
||||
[resource]
|
||||
texture = ExtResource( 1 )
|
||||
region_rect = Rect2( 0, 0, 10, 11 )
|
||||
margin_left = 2.35121
|
||||
margin_right = 2.35121
|
||||
margin_top = 2.95077
|
||||
margin_bottom = 2.65099
|
||||
axis_stretch_horizontal = 2
|
||||
axis_stretch_vertical = 2
|
||||
modulate_color = Color( 0.878431, 0.0784314, 0.0784314, 1 )
|
File diff suppressed because one or more lines are too long
@ -1,8 +1,10 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
[gd_scene load_steps=6 format=2]
|
||||
|
||||
[ext_resource path="res://ui/unitframes/TargetUnitframe.gd" type="Script" id=1]
|
||||
[ext_resource path="res://ui/auraframe/AuraEntry.tscn" type="PackedScene" id=2]
|
||||
[ext_resource path="res://ui/theme/ui_theme.tres" type="Theme" id=3]
|
||||
[ext_resource path="res://ui/theme/scrollbar_grabber_red.tres" type="StyleBox" id=4]
|
||||
[ext_resource path="res://ui/theme/scrollbar_grabber_blue.tres" type="StyleBox" id=5]
|
||||
|
||||
[node name="TargetUnitframe" type="VBoxContainer"]
|
||||
margin_left = 151.0
|
||||
@ -53,6 +55,7 @@ margin_right = 141.0
|
||||
margin_bottom = 15.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
custom_styles/fg = ExtResource( 4 )
|
||||
percent_visible = false
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer/MarginContainer"]
|
||||
@ -74,6 +77,7 @@ margin_right = 141.0
|
||||
margin_bottom = 15.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
custom_styles/fg = ExtResource( 5 )
|
||||
percent_visible = false
|
||||
|
||||
[node name="Label" type="Label" parent="MarginContainer/VBoxContainer/MarginContainer2"]
|
||||
|
@ -1,7 +1,10 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
[gd_scene load_steps=6 format=2]
|
||||
|
||||
[ext_resource path="res://ui/unitframes/UnitframeBase.gd" type="Script" id=1]
|
||||
[ext_resource path="res://ui/theme/ui_theme.tres" type="Theme" id=2]
|
||||
[ext_resource path="res://ui/theme/scrollbar_grabber_red.tres" type="StyleBox" id=3]
|
||||
[ext_resource path="res://ui/theme/scrollbar_grabber_blue.tres" type="StyleBox" id=4]
|
||||
[ext_resource path="res://ui/theme/scrollbar_grabber_blue_xp.tres" type="StyleBox" id=5]
|
||||
|
||||
[node name="UnitFrame" type="PanelContainer"]
|
||||
margin_right = 150.0
|
||||
@ -52,6 +55,7 @@ margin_right = 142.0
|
||||
margin_bottom = 15.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
custom_styles/fg = ExtResource( 3 )
|
||||
percent_visible = false
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/MarginContainer"]
|
||||
@ -72,6 +76,7 @@ margin_right = 142.0
|
||||
margin_bottom = 15.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 3
|
||||
custom_styles/fg = ExtResource( 4 )
|
||||
percent_visible = false
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer/MarginContainer2"]
|
||||
@ -88,4 +93,5 @@ margin_right = 142.0
|
||||
margin_bottom = 53.6018
|
||||
rect_min_size = Vector2( 20, 5 )
|
||||
size_flags_horizontal = 3
|
||||
custom_styles/fg = ExtResource( 5 )
|
||||
percent_visible = false
|
||||
|
Loading…
Reference in New Issue
Block a user