aboutsummaryrefslogtreecommitdiffstats
path: root/Nodes/drawing.tscn
blob: 3f65fee8122121bbd7e66349dddf564dd360b194 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[gd_scene load_steps=4 format=3 uid="uid://covygojlfmx6x"]

[ext_resource type="Script" path="res://Scripts/drawing.gd" id="1_03nmp"]
[ext_resource type="Texture2D" uid="uid://bpasf8is2xnfb" path="res://icon.svg" id="2_sgpkt"]

[sub_resource type="Curve2D" id="Curve2D_dtc4h"]

[node name="Drawing" type="Node2D"]
script = ExtResource("1_03nmp")

[node name="TrackLine" type="Line2D" parent="."]

[node name="TrackPath" type="Path2D" parent="."]
curve = SubResource("Curve2D_dtc4h")

[node name="TrackFollower" type="PathFollow2D" parent="TrackPath"]

[node name="Sprite2D" type="Sprite2D" parent="TrackPath/TrackFollower"]
texture = ExtResource("2_sgpkt")