58 lines
1.6 KiB
Text
58 lines
1.6 KiB
Text
[gd_scene load_steps=6 format=3 uid="uid://o273v7ll6m0h"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://orvwbw12311i" path="res://assets/graphics/frab.png" id="1_px4ud"]
|
|
[ext_resource type="Script" uid="uid://botgy5lnepotc" path="res://objects/enemies/frab/frab.gd" id="1_r8e57"]
|
|
|
|
[sub_resource type="Animation" id="Animation_lvd4h"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Sprite2D:flip_h")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 1,
|
|
"values": [false]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_r8e57"]
|
|
resource_name = "flab"
|
|
length = 0.4
|
|
loop_mode = 1
|
|
step = 0.0333333
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Sprite2D:flip_h")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.2),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 1,
|
|
"values": [false, true]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_qb3yn"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_lvd4h"),
|
|
&"flab": SubResource("Animation_r8e57")
|
|
}
|
|
|
|
[node name="Frab" type="Node2D"]
|
|
script = ExtResource("1_r8e57")
|
|
wander_range = 100.0
|
|
max_home_distance = 200.0
|
|
move_speed = 100.0
|
|
metadata/_custom_type_script = "uid://d2k5tlvpqokqr"
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
texture = ExtResource("1_px4ud")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_qb3yn")
|
|
}
|