mirror of
https://github.com/JHDev2006/Super-Mario-Bros.-Remastered-Public.git
synced 2025-10-22 15:38:14 +00:00
Added Death Counter to Custom Levels + Fixed castle bridge axe bonus sprites
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user