necra-prototypes/prototype_ritual_book.tscn
Antonio Dell'Annunziata 097de25931
All checks were successful
/ test (push) Successful in 2s
Add ritual incantation
2025-03-09 09:17:55 +01:00

57 lines
2.2 KiB
Text

[gd_scene load_steps=8 format=3 uid="uid://qkwh186nbcya"]
[ext_resource type="Script" uid="uid://dak6uc4v3us7w" path="res://incantation.gd" id="1_v6csu"]
[sub_resource type="Gradient" id="Gradient_2cqfq"]
offsets = PackedFloat32Array(0.80212, 0.978799, 1)
colors = PackedColorArray(0.74902, 0.647059, 0.541176, 1, 0.43, 0.371807, 0.3096, 1, 0.19, 0.164287, 0.1368, 1)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_yaehf"]
gradient = SubResource("Gradient_2cqfq")
width = 300
height = 400
[sub_resource type="Curve2D" id="Curve2D_5ntyk"]
_data = {
"points": PackedVector2Array(0, 0, 0, 0, 202, 149, -40.482, 1.54217, 40.482, -1.54217, 248, 178, -17.3494, 5.01206, 17.3494, -5.01206, 309, 150, -10.7952, -15.0362, 10.7952, 15.0362, 380, 180, 0, 0, 0, 0, 380, 180, 32.7712, -32.7712, -32.7712, 32.7712, 379, 257, 30.385, 3.70613, -30.385, -3.70613, 305, 219, 0, 0, -49.7351, 23.1326, 255, 252, 27.3736, -12.3374, -27.3736, 12.3374, 198, 230, -28.5302, -24.6748, 28.5302, 24.6748, 202, 319, 0, 0, 0, 0, 377, 318)
}
point_count = 11
[sub_resource type="CircleShape2D" id="CircleShape2D_v6csu"]
[sub_resource type="Gradient" id="Gradient_v6csu"]
[sub_resource type="GradientTexture2D" id="GradientTexture2D_5ntyk"]
gradient = SubResource("Gradient_v6csu")
width = 10
height = 10
[node name="PrototypeRitualBook" type="Node2D"]
[node name="Left" type="Sprite2D" parent="."]
position = Vector2(306, 311)
texture = SubResource("GradientTexture2D_yaehf")
[node name="Right" type="Sprite2D" parent="."]
position = Vector2(606, 311)
rotation = 3.14159
texture = SubResource("GradientTexture2D_yaehf")
[node name="Incantation" type="Path2D" parent="."]
position = Vector2(-1, 1)
curve = SubResource("Curve2D_5ntyk")
script = ExtResource("1_v6csu")
[node name="PathFollow2D" type="Node2D" parent="Incantation"]
position = Vector2(202, 149)
rotation = 0.562498
[node name="Area2D" type="Area2D" parent="Incantation/PathFollow2D"]
collision_layer = 512
collision_mask = 512
[node name="CollisionShape2D" type="CollisionShape2D" parent="Incantation/PathFollow2D/Area2D"]
shape = SubResource("CircleShape2D_v6csu")
[node name="Sprite2D" type="Sprite2D" parent="Incantation/PathFollow2D"]
texture = SubResource("GradientTexture2D_5ntyk")