started tracking progress with git
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
extends CanvasLayer
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready():
|
||||
pass # Replace with function body.
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta):
|
||||
_draw()
|
||||
pass
|
||||
|
||||
func _draw():
|
||||
var width = 5
|
||||
var color = Color(0, 1, 0)
|
||||
var start = Vector2(0,0)
|
||||
var end = Vector2(100,100)
|
||||
$Line2D.draw_line(start, end, color, width)
|
||||
Reference in New Issue
Block a user