This repository has been archived on 2025-09-12. You can view files and clone it, but cannot push or open issues or pull requests.
ld49/game/hud/BrainGauge.tscn
Ryan d26595d527 Close issue #28
Added temper gauge with progress bar that changes from happy color to angry color
2021-10-17 16:47:27 -04:00

50 lines
1.2 KiB
Text

[gd_scene load_steps=5 format=2]
[ext_resource path="res://art_assets/ui/tempgaugebg.png" type="Texture" id=1]
[ext_resource path="res://game/hud/BrainGauge.gd" type="Script" id=2]
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 1, 1, 1, 1 )
[sub_resource type="StyleBoxEmpty" id=2]
[node name="BrainGauge" type="Control"]
anchor_right = 1.0
anchor_bottom = 1.0
margin_top = -0.111362
margin_bottom = -0.111389
mouse_filter = 2
script = ExtResource( 2 )
__meta__ = {
"_edit_use_anchors_": false
}
color_angry = Color( 1, 0.407843, 0.258824, 1 )
color_calm = Color( 0.431373, 0.619608, 0.960784, 1 )
[node name="TextureRect" type="TextureRect" parent="."]
anchor_left = 1.0
anchor_right = 1.0
margin_left = -280.0
margin_top = 25.0
margin_right = -12.0
margin_bottom = 121.0
texture = ExtResource( 1 )
expand = true
stretch_mode = 5
__meta__ = {
"_edit_use_anchors_": false
}
[node name="ProgressBar" type="ProgressBar" parent="TextureRect"]
margin_left = 71.0
margin_top = 45.0
margin_right = 192.0
margin_bottom = 59.0
custom_styles/fg = SubResource( 1 )
custom_styles/bg = SubResource( 2 )
max_value = 1.0
value = 1.0
percent_visible = false
__meta__ = {
"_edit_use_anchors_": false
}