small boss progess
This commit is contained in:
parent
986c83ec8f
commit
3f9103b1c8
42 changed files with 769 additions and 54 deletions
9
scripts/line_connect.gd
Normal file
9
scripts/line_connect.gd
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
@tool
|
||||
extends Line2D
|
||||
|
||||
@export var p1 : Node2D
|
||||
@export var p2 : Node2D
|
||||
|
||||
func _physics_process(delta: float) -> void:
|
||||
points[0] = to_local(p1.global_position)
|
||||
points[1] = to_local(p2.global_position)
|
||||
Loading…
Add table
Add a link
Reference in a new issue