41 lines
1 KiB
Plaintext
41 lines
1 KiB
Plaintext
|
[gd_scene load_steps=5 format=2]
|
||
|
|
||
|
[ext_resource path="res://ai/Hell Projectile.gd" type="Script" id=1]
|
||
|
[ext_resource path="res://art/Bad Fireball.png" type="Texture" id=2]
|
||
|
|
||
|
[sub_resource type="Animation" id=1]
|
||
|
resource_name = "Fireeball"
|
||
|
length = 0.2
|
||
|
loop = true
|
||
|
tracks/0/type = "value"
|
||
|
tracks/0/path = NodePath("Bad Fireball:frame")
|
||
|
tracks/0/interp = 1
|
||
|
tracks/0/loop_wrap = true
|
||
|
tracks/0/imported = false
|
||
|
tracks/0/enabled = true
|
||
|
tracks/0/keys = {
|
||
|
"times": PoolRealArray( 0, 0.1 ),
|
||
|
"transitions": PoolRealArray( 1, 1 ),
|
||
|
"update": 1,
|
||
|
"values": [ 1, 0 ]
|
||
|
}
|
||
|
|
||
|
[sub_resource type="CircleShape2D" id=2]
|
||
|
radius = 4.54199
|
||
|
|
||
|
[node name="KinematicBody2D" type="KinematicBody2D"]
|
||
|
collision_layer = 8
|
||
|
collision_mask = 3
|
||
|
script = ExtResource( 1 )
|
||
|
|
||
|
[node name="BadFireball" type="Sprite" parent="."]
|
||
|
texture = ExtResource( 2 )
|
||
|
hframes = 2
|
||
|
|
||
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="BadFireball"]
|
||
|
autoplay = "Fireeball"
|
||
|
anims/Fireeball = SubResource( 1 )
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
shape = SubResource( 2 )
|