diff options
author | cel 🌸 <cel@blos.sm> | 2023-07-07 23:08:09 +0100 |
---|---|---|
committer | cel 🌸 <cel@blos.sm> | 2023-07-07 23:08:09 +0100 |
commit | 45b2751b4e63c8d7b048b005f19f9042782e5a13 (patch) | |
tree | 41f8da13e1a8ef0e4c7f50c8fd7af0ef1addf2a1 /Nodes/drawing.tscn | |
parent | 4cb4a220710f3795aa4f4e4bfed3a27617310733 (diff) | |
parent | f3c450b15226a74a8390275ce24f8a4c5b025117 (diff) | |
download | 2023-45b2751b4e63c8d7b048b005f19f9042782e5a13.tar.gz 2023-45b2751b4e63c8d7b048b005f19f9042782e5a13.tar.bz2 2023-45b2751b4e63c8d7b048b005f19f9042782e5a13.zip |
merge branch 'drawing'
Diffstat (limited to 'Nodes/drawing.tscn')
-rw-r--r-- | Nodes/drawing.tscn | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Nodes/drawing.tscn b/Nodes/drawing.tscn new file mode 100644 index 0000000..3f65fee --- /dev/null +++ b/Nodes/drawing.tscn @@ -0,0 +1,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") |