godot_boids/examples/boids/2d/follow/example.tscn
2024-08-30 01:32:01 +03:00

69 lines
2.4 KiB
Plaintext

[gd_scene load_steps=7 format=3 uid="uid://ckc0dhvrksfh4"]
[ext_resource type="Script" path="res://examples/boids/2d/follow/example.gd" id="1_cb4mx"]
[sub_resource type="Curve2D" id="Curve2D_ncwi0"]
_data = {
"points": PackedVector2Array(69.2957, 57.9564, -69.2957, -57.9564, 1025, 158, 79.375, -118.433, -79.375, 118.433, 129, 149, -61.7361, -114.653, 61.7361, 114.653, 126, 517, -42.8373, 69.2957, 42.8373, -69.2957, 1041, 487, 66.7758, 73.0754, -66.7758, -73.0754, 1025, 158)
}
point_count = 5
[sub_resource type="Curve2D" id="Curve2D_pef6d"]
_data = {
"points": PackedVector2Array(0, 0, 0, 0, 90, 76, 0, 0, 0, 0, 1037, 568, 0, 0, 0, 0, 1030, 72, 0, 0, 0, 0, 89, 560, 0, 0, 0, 0, 90, 76)
}
point_count = 5
[sub_resource type="Curve2D" id="Curve2D_fq51g"]
_data = {
"points": PackedVector2Array(0, 0, 0, 0, 37, 310, 0, 0, 0, 0, 1118, 324, 0, 0, 0, 0, 567, 315, 0, 0, 0, 0, 567, 19, 0, 0, 0, 0, 571, 635, 0, 0, 0, 0, 569, 311, 0, 0, 0, 0, 37, 310)
}
point_count = 7
[sub_resource type="FlockProperties" id="FlockProperties_id14j"]
[sub_resource type="Environment" id="Environment_8ucif"]
background_mode = 3
glow_enabled = true
glow_bloom = 0.2
glow_blend_mode = 1
[node name="Example" type="Node2D"]
script = ExtResource("1_cb4mx")
[node name="Path2D" type="Path2D" parent="."]
curve = SubResource("Curve2D_ncwi0")
[node name="PathFollow2D" type="PathFollow2D" parent="Path2D"]
position = Vector2(1025, 158)
rotation = -2.44507
[node name="Path2D2" type="Path2D" parent="."]
curve = SubResource("Curve2D_pef6d")
[node name="PathFollow2D" type="PathFollow2D" parent="Path2D2"]
position = Vector2(90, 76)
rotation = 0.479153
[node name="Path2D3" type="Path2D" parent="."]
curve = SubResource("Curve2D_fq51g")
[node name="PathFollow2D" type="PathFollow2D" parent="Path2D3"]
position = Vector2(37, 310)
rotation = 0.0129502
[node name="Flock" type="Flock2D" parent="." node_paths=PackedStringArray("target")]
properties = SubResource("FlockProperties_id14j")
target = NodePath("../Path2D/PathFollow2D")
[node name="Flock2" type="Flock2D" parent="." node_paths=PackedStringArray("target")]
properties = SubResource("FlockProperties_id14j")
target = NodePath("../Path2D2/PathFollow2D")
[node name="Flock3" type="Flock2D" parent="." node_paths=PackedStringArray("target")]
properties = SubResource("FlockProperties_id14j")
target = NodePath("../Path2D3/PathFollow2D")
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_8ucif")