limboai/test/tests/waypoints/Agent.tscn

59 lines
1.7 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=7 format=3 uid="uid://c26b8c8dndtop"]
[ext_resource type="Script" path="res://tests/waypoints/Agent.gd" id="1_1l3ql"]
2022-12-17 07:33:18 +00:00
[ext_resource type="BehaviorTree" uid="uid://cjkqi41oagagd" path="res://ai/trees/waypoints.tres" id="2_ijwrx"]
[ext_resource type="Texture2D" uid="uid://d0mht3ntak7e5" path="res://icon.png" id="2_xqtrc"]
[sub_resource type="Animation" id="Animation_5id00"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
"values": [Vector2(1, 1)]
}
[sub_resource type="Animation" id="Animation_4w16c"]
resource_name = "bounce"
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sprite2D:scale")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.5, 1),
"transitions": PackedFloat32Array(1, 1, 1),
"update": 0,
"values": [Vector2(1, 1), Vector2(2, 2), Vector2(1, 1)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_l438t"]
_data = {
"RESET": SubResource("Animation_5id00"),
"bounce": SubResource("Animation_4w16c")
}
[node name="Agent" type="CharacterBody2D"]
script = ExtResource("1_1l3ql")
[node name="BTPlayer" type="BTPlayer" parent="."]
2022-12-17 07:33:18 +00:00
behavior_tree = ExtResource("2_ijwrx")
_blackboard_data = {
"speed": 200.0
}
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("2_xqtrc")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_l438t")
}