55 lines
1.5 KiB
Text
55 lines
1.5 KiB
Text
[gd_scene load_steps=6 format=3 uid="uid://c030i00x5v5an"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://bjf5qye1b63mr" path="res://assets/graphics/shot.png" id="1_0qrq8"]
|
|
[ext_resource type="Script" uid="uid://dgkxxvgayfuhl" path="res://objects/projectile/enemy_projectile.gd" id="1_x3qif"]
|
|
|
|
[sub_resource type="Animation" id="Animation_x3qif"]
|
|
resource_name = "ani"
|
|
length = 0.2
|
|
loop_mode = 1
|
|
step = 0.0333333
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Sprite2D:rotation")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0, 0.2),
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
"update": 0,
|
|
"values": [0.0, 6.28319]
|
|
}
|
|
|
|
[sub_resource type="Animation" id="Animation_w3guv"]
|
|
length = 0.001
|
|
tracks/0/type = "value"
|
|
tracks/0/imported = false
|
|
tracks/0/enabled = true
|
|
tracks/0/path = NodePath("Sprite2D:rotation")
|
|
tracks/0/interp = 1
|
|
tracks/0/loop_wrap = true
|
|
tracks/0/keys = {
|
|
"times": PackedFloat32Array(0),
|
|
"transitions": PackedFloat32Array(1),
|
|
"update": 0,
|
|
"values": [0.0]
|
|
}
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_o706m"]
|
|
_data = {
|
|
&"RESET": SubResource("Animation_w3guv"),
|
|
&"ani": SubResource("Animation_x3qif")
|
|
}
|
|
|
|
[node name="EnemyProjectile" type="Node2D"]
|
|
script = ExtResource("1_x3qif")
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
texture = ExtResource("1_0qrq8")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
libraries = {
|
|
&"": SubResource("AnimationLibrary_o706m")
|
|
}
|
|
autoplay = "ani"
|