a game about throwing hammers made for the github game off
1
2
3
4
5
6
7
8
9
10
11
extends Control

@onready var full := $Full as TextureRect


func _ready():
  Globals.player.hp_changed.connect(_hp_changed)


func _hp_changed(hp: int):
  full.size.x = hp * 5 + 1