The beginning of public history

This commit is contained in:
2019-09-16 02:07:41 -04:00
commit 64a2ffbc89
1104 changed files with 7534 additions and 0 deletions

17
Nodes/Equipment/Line2D.gd Normal file
View File

@ -0,0 +1,17 @@
extends Line2D
var target
var point
export(NodePath) var targetPath
export var trailLength = 0
func _ready():
target = get_node(targetPath)
func _process(delta):
global_position = Vector2(0,0)
global_rotation = 0
point = target.global_position
add_point(point)
while get_point_count() > trailLength:
remove_point(0)