Fixed shield crash and material coloring
This commit is contained in:
parent
793938857e
commit
255a47f6da
7 changed files with 10 additions and 12 deletions
|
|
@ -20,6 +20,7 @@ var wave_positions = [Vector2.ZERO,Vector2.ZERO,Vector2.ZERO,Vector2.ZERO,Vector
|
|||
func _ready():
|
||||
recharge_timer.timeout.connect(recharging_timer_out)
|
||||
laser_timer.timeout.connect(laser_timer_out)
|
||||
material = ship.material
|
||||
|
||||
func deal_damage(damage : float,hit_position : Vector2):
|
||||
# Shield wave
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue