the-crypt/ai/Scenes/SpinningBone.tscn

47 lines
1.1 KiB
Plaintext
Raw Normal View History

2020-07-19 17:19:31 -05:00
[gd_scene load_steps=5 format=2]
2020-07-18 17:07:40 -05:00
[ext_resource path="res://art/SpinningBone.png" type="Texture" id=1]
2020-07-21 23:22:33 -05:00
[ext_resource path="res://ai/Script/SpinningBone.gd" type="Script" id=2]
2020-07-18 17:07:40 -05:00
[sub_resource type="Animation" id=1]
resource_name = "Bone Throw"
length = 0.5
loop = true
tracks/0/type = "value"
tracks/0/path = NodePath(".: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.2 ),
"transitions": PoolRealArray( 1, 1 ),
"update": 1,
"values": [ 0, 1 ]
}
[sub_resource type="CapsuleShape2D" id=2]
2020-07-19 11:58:12 -05:00
radius = 3.0
height = 2.0
2020-07-18 17:07:40 -05:00
2020-07-20 16:28:05 -05:00
[node name="KinematicBody2D" type="KinematicBody2D"]
collision_layer = 8
2020-07-20 14:59:31 -05:00
collision_mask = 3
2020-07-18 17:07:40 -05:00
script = ExtResource( 2 )
__meta__ = {
"_edit_group_": true
}
[node name="SpinningBone" type="Sprite" parent="."]
texture = ExtResource( 1 )
hframes = 2
frame = 1
[node name="AnimationPlayer" type="AnimationPlayer" parent="SpinningBone"]
autoplay = "Bone Throw"
"anims/Bone Throw" = SubResource( 1 )
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource( 2 )