HUD and prototype textures
This commit is contained in:
parent
37a17878e4
commit
03bc73e9ff
45 changed files with 742 additions and 26 deletions
5
scripts/gui/hud/player_ammo_display.gd
Normal file
5
scripts/gui/hud/player_ammo_display.gd
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
extends Label
|
||||
|
||||
|
||||
func on_ammo_updated(ammo: int, remaining_ammo: int):
|
||||
text = str(ammo)+"/"+str(remaining_ammo)
|
||||
1
scripts/gui/hud/player_ammo_display.gd.uid
Normal file
1
scripts/gui/hud/player_ammo_display.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://gan0amqbhi4i
|
||||
5
scripts/gui/hud/player_healthbar.gd
Normal file
5
scripts/gui/hud/player_healthbar.gd
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
extends ProgressBar
|
||||
|
||||
|
||||
func on_hp_changed(to: int):
|
||||
value = to
|
||||
1
scripts/gui/hud/player_healthbar.gd.uid
Normal file
1
scripts/gui/hud/player_healthbar.gd.uid
Normal file
|
|
@ -0,0 +1 @@
|
|||
uid://vmhlmhd6gjx6
|
||||
Loading…
Add table
Add a link
Reference in a new issue