Post Game jam commit
This commit is contained in:
commit
6db2131520
164 changed files with 172524 additions and 0 deletions
6
scripts/ranged_enemy.gd
Normal file
6
scripts/ranged_enemy.gd
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
extends Enemy
|
||||
|
||||
func _draw():
|
||||
if charge > 0.1:
|
||||
var color = Color.RED.lerp(Color.WHITE, charge / charge_time)
|
||||
draw_dashed_line(Vector2.ZERO, to_local(player.global_position), color, 1, 5)
|
||||
Loading…
Add table
Add a link
Reference in a new issue