added animation for PillTaking
This commit is contained in:
parent
4c683444dd
commit
d16f88f39b
@ -1,4 +1,4 @@
|
|||||||
[gd_scene load_steps=10 format=2]
|
[gd_scene load_steps=11 format=2]
|
||||||
|
|
||||||
[ext_resource path="res://Characters/Player/Player.gd" type="Script" id=1]
|
[ext_resource path="res://Characters/Player/Player.gd" type="Script" id=1]
|
||||||
[ext_resource path="res://Characters/Player/Footsteps.gd" type="Script" id=2]
|
[ext_resource path="res://Characters/Player/Footsteps.gd" type="Script" id=2]
|
||||||
@ -8,6 +8,16 @@
|
|||||||
|
|
||||||
[sub_resource type="CylinderShape" id=1]
|
[sub_resource type="CylinderShape" id=1]
|
||||||
|
|
||||||
|
[sub_resource type="Animation" id=5]
|
||||||
|
resource_name = "PillTaking"
|
||||||
|
tracks/0/type = "transform"
|
||||||
|
tracks/0/path = NodePath("PillTaker/Pill")
|
||||||
|
tracks/0/interp = 1
|
||||||
|
tracks/0/loop_wrap = true
|
||||||
|
tracks/0/imported = false
|
||||||
|
tracks/0/enabled = true
|
||||||
|
tracks/0/keys = PoolRealArray( )
|
||||||
|
|
||||||
[sub_resource type="Animation" id=2]
|
[sub_resource type="Animation" id=2]
|
||||||
resource_name = "Walk"
|
resource_name = "Walk"
|
||||||
length = 0.8
|
length = 0.8
|
||||||
@ -79,6 +89,7 @@ shape = SubResource( 1 )
|
|||||||
|
|
||||||
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
||||||
autoplay = "Walk"
|
autoplay = "Walk"
|
||||||
|
anims/PillTaking = SubResource( 5 )
|
||||||
anims/Walk = SubResource( 2 )
|
anims/Walk = SubResource( 2 )
|
||||||
|
|
||||||
[node name="Footsteps" type="Spatial" parent="."]
|
[node name="Footsteps" type="Spatial" parent="."]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user