Added Death Counter to Custom Levels + Fixed castle bridge axe bonus sprites

This commit is contained in:
JHDev2006
2025-10-01 10:58:20 +01:00
parent fa4c1c711c
commit 51d81844d0
11 changed files with 308 additions and 267 deletions

View File

@@ -48,6 +48,10 @@ func setup_rating_stars() -> void:
var rating = calculate_rating()
var idx := 0
if ratings.is_empty():
for i in %RatingStars.get_children():
i.region_rect.position.x = 16
return
for i in %RatingStars.get_children():
i.region_rect.position.x = 16 if idx > rating else (0 if abs(idx - rating) >= 0.5 else 8)
idx += 1