game: animate hp bars
This commit is contained in:
@@ -47,9 +47,9 @@ func update_debug_stats() -> void:
|
||||
for stat in debug_stats:
|
||||
# Create margin container
|
||||
var mc: MarginContainer = MarginContainer.new()
|
||||
mc.add_theme_constant_override("margin_top", 10)
|
||||
mc.add_theme_constant_override("margin_top", 2)
|
||||
mc.add_theme_constant_override("margin_left", 20)
|
||||
mc.add_theme_constant_override("margin_bottom", 10)
|
||||
mc.add_theme_constant_override("margin_bottom", 2)
|
||||
mc.add_theme_constant_override("margin_right", 20)
|
||||
stats_container_vbox.add_child(mc)
|
||||
|
||||
|
Reference in New Issue
Block a user