Fixed shield crash and material coloring

This commit is contained in:
gotfishmakesticks 2024-01-18 13:43:03 +03:00
commit 255a47f6da
7 changed files with 10 additions and 12 deletions

View file

@ -3,6 +3,7 @@
[ext_resource type="Script" path="res://scripts/objects/Shield.gd" id="1_3t0v2"]
[node name="Shield" type="Node2D" node_paths=PackedStringArray("recharge_timer", "laser_timer")]
use_parent_material = true
script = ExtResource("1_3t0v2")
max_capacity = 5
recharge_timer = NodePath("Timer")

View file

@ -3,6 +3,7 @@
[ext_resource type="Script" path="res://scripts/objects/Shield.gd" id="1_6qr86"]
[node name="Shield" type="Node2D" node_paths=PackedStringArray("recharge_timer", "laser_timer")]
use_parent_material = true
script = ExtResource("1_6qr86")
max_capacity = 10
recharge_timer = NodePath("Timer")