lots of updates (really need to work on atomic commits)

This commit is contained in:
ultrablob 2025-02-09 09:33:36 -05:00
parent c718935902
commit 4945aeb799
25 changed files with 237 additions and 119 deletions

View file

@ -39,6 +39,8 @@ func _physics_process(delta):
else:
apply_central_force(transform.y * side_input * speed / -2 + transform.x * move_input * speed * linear_damp)
#queue_redraw()
func destroy():
if has_node("Shield"):
$Shield.destroy()
@ -46,3 +48,8 @@ func destroy():
$DeathFX.play()
get_tree().paused = true
$"../GameOver".visible = true
func _draw():
if OS.is_debug_build():
draw_line(Vector2.ZERO, to_local(global_position + linear_velocity), Color.GREEN, 2, true)