Explorar o código

:recycle: moved the scaling of the health bar to the health bar

Felix Bytow hai 11 meses
pai
achega
84685b6ce4
Modificáronse 2 ficheiros con 1 adicións e 1 borrados
  1. 1 0
      assets/scenes/health_bar.tscn
  2. 0 1
      screens/game.tscn

+ 1 - 0
assets/scenes/health_bar.tscn

@@ -52,6 +52,7 @@ animations = [{
 }]
 
 [node name="HealthBar" type="Node2D"]
+scale = Vector2(0.5, 0.5)
 script = ExtResource("1_pe8px")
 
 [node name="Background" type="Sprite2D" parent="."]

+ 0 - 1
screens/game.tscn

@@ -8,7 +8,6 @@ script = ExtResource("1_4dd0q")
 
 [node name="HealthBar" parent="." instance=ExtResource("2_x77og")]
 position = Vector2(640, 70)
-scale = Vector2(0.5, 0.5)
 
 [node name="Timer" type="Timer" parent="."]
 autostart = true