birb/assets/UI/healthbar Gradient.tres
Travis Gatlin 37b0069108 VS-4/player-health-system (#11)
UPDATED TO GODOT 4.4!!!

Added:

an open source font just to have something different than Godot's default

Semblance of a framework for the UI

a health bar

a label that shows your time in seconds. Should probably make it show minutes and seconds

a menu that appears in the player's death state that shows the amount of time the player lived and their kill count. Also has a working quit button and non-working try again button.

a button that instantly kills you, which is "T."

Co-authored-by: ysandler <ysandler@tzed.io>
Reviewed-on: #11
Reviewed-by: Yehoshua Sandler <ysandler@beitzah.net>
2025-03-23 07:18:43 -05:00

12 lines
412 B
Plaintext

[gd_resource type="GradientTexture2D" load_steps=2 format=3 uid="uid://dhs4m6d2y6o3o"]
[sub_resource type="Gradient" id="Gradient_c1s24"]
offsets = PackedFloat32Array(0, 0.514085, 1)
colors = PackedColorArray(0.269386, 0.277436, 0.261329, 1, 0.627249, 0.638787, 0.615777, 1, 0.269386, 0.277436, 0.261329, 1)
[resource]
gradient = SubResource("Gradient_c1s24")
width = 128
height = 20
fill_from = Vector2(1, 1)