waited far too long for an initial commit but here we are

This commit is contained in:
2023-11-08 14:28:55 +11:00
commit 0427a58635
299 changed files with 10191 additions and 0 deletions

10
Scripts/lives_bar.gd Normal file
View File

@ -0,0 +1,10 @@
extends TextureRect
@export var segments : Array[LivesBarSegment]
var lives := 120.0
func take_life():
var segment_to_animate = ceil(lives / 6.0) - 1
lives -= 1
segments[segment_to_animate].take_life(1)