Files
Kalulu/sources/look_and_learn/tracing_path.tscn
T
2026-01-27 14:52:22 +01:00

86 lines
2.8 KiB
Plaintext

[gd_scene format=3 uid="uid://baqbd52qcuxh1"]
[ext_resource type="Script" uid="uid://m40vp7pb30bn" path="res://sources/look_and_learn/tracing_path.gd" id="1_4lqdu"]
[ext_resource type="Texture2D" uid="uid://bfgwv7jidb5bs" path="res://assets/look_and_learn/guide.svg" id="2_2guls"]
[ext_resource type="Texture2D" uid="uid://doql1x228r1bv" path="res://assets/look_and_learn/arrow.svg" id="3_imidm"]
[ext_resource type="Texture2D" uid="uid://gbygdv35ltjx" path="res://assets/look_and_learn/student_hand_180x180.png" id="4_ey17m"]
[sub_resource type="Curve2D" id="Curve2D_ypwnx"]
[sub_resource type="Gradient" id="Gradient_n7idr"]
offsets = PackedFloat32Array(0, 0.51632, 1)
colors = PackedColorArray(1, 0.46875, 0.46875, 1, 1, 0.991699, 0.46875, 1, 0.480469, 1, 0.622528, 1)
[sub_resource type="Animation" id="2"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("TracingPath/GuidePathFollow/Guide/arrow:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(0, 0)]
}
[sub_resource type="Animation" id="3"]
resource_name = "animate"
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("TracingPath/GuidePathFollow/Guide/arrow:position")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [Vector2(0, 0), Vector2(40, 0)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_ei5ps"]
_data = {
&"RESET": SubResource("2"),
&"animate": SubResource("3")
}
[node name="TracingPath" type="Path2D" unique_id=525710935]
curve = SubResource("Curve2D_ypwnx")
script = ExtResource("1_4lqdu")
color_gradient = SubResource("Gradient_n7idr")
[node name="GuideAnimationPlayer" type="AnimationPlayer" parent="." unique_id=1291106365]
root_node = NodePath("../..")
libraries/ = SubResource("AnimationLibrary_ei5ps")
autoplay = &"animate"
[node name="Line2D" type="Line2D" parent="." unique_id=1974646441]
width = 50.0
default_color = Color(1, 0.5, 0.5, 1)
joint_mode = 2
begin_cap_mode = 2
end_cap_mode = 2
antialiased = true
[node name="GuidePathFollow" type="PathFollow2D" parent="." unique_id=636412660]
loop = false
[node name="Guide" type="Sprite2D" parent="GuidePathFollow" unique_id=2123335844]
scale = Vector2(0.5, 0.5)
texture = ExtResource("2_2guls")
[node name="arrow" type="Sprite2D" parent="GuidePathFollow/Guide" unique_id=223429538]
texture = ExtResource("3_imidm")
[node name="HandPathFollow2D" type="PathFollow2D" parent="." unique_id=775019390]
rotates = false
loop = false
[node name="Hand" type="Sprite2D" parent="HandPathFollow2D" unique_id=1603790622]
position = Vector2(90, 90)
texture = ExtResource("4_ey17m")