Fixed some bugs
This commit is contained in:
@@ -11,7 +11,6 @@ script = ExtResource("2_fwvrd")
|
||||
|
||||
[node name="EnemyController" parent="." index="4" instance=ExtResource("3_l8c0n")]
|
||||
|
||||
[connection signal="depleted" from="Health" to="." method="_on_health_depleted"]
|
||||
[connection signal="accelerate" from="EnemyController" to="." method="accelerate"]
|
||||
[connection signal="reload" from="EnemyController" to="." method="reload"]
|
||||
[connection signal="shoot" from="EnemyController" to="." method="shoot"]
|
||||
|
||||
@@ -27,5 +27,6 @@ shape = SubResource("CapsuleShape2D_cuapu")
|
||||
[node name="Health" parent="." index="2"]
|
||||
max_hull = 200
|
||||
|
||||
[node name="HeathBar" parent="." index="4"]
|
||||
position = Vector2(0, 30)
|
||||
[node name="HeathBar" parent="." index="3"]
|
||||
offset_top = 30.0
|
||||
offset_bottom = 30.0
|
||||
|
||||
@@ -26,8 +26,6 @@ shape = SubResource("CapsuleShape2D_4jmkv")
|
||||
[node name="Health" parent="." index="2"]
|
||||
max_hull = 100
|
||||
|
||||
[node name="HeathBar" parent="." index="4"]
|
||||
[node name="HeathBar" parent="." index="3"]
|
||||
offset_top = 30.0
|
||||
offset_bottom = 30.0
|
||||
|
||||
[connection signal="depleted" from="Health" to="." method="_on_health_depleted"]
|
||||
|
||||
@@ -26,5 +26,6 @@ shape = SubResource("CapsuleShape2D_lopve")
|
||||
[node name="Health" parent="." index="2"]
|
||||
max_hull = 50
|
||||
|
||||
[node name="HeathBar" parent="." index="4"]
|
||||
position = Vector2(0, 14)
|
||||
[node name="HeathBar" parent="." index="3"]
|
||||
offset_top = 14.0
|
||||
offset_bottom = 14.0
|
||||
|
||||
Reference in New Issue
Block a user