44 lines
1.4 KiB
Plaintext
44 lines
1.4 KiB
Plaintext
[gd_scene load_steps=9 format=2]
|
|
|
|
[ext_resource path="res://assets/models/heart/Heart_2.glb" type="PackedScene" id=1]
|
|
[ext_resource path="res://assets/audio/ambient_heartbeat.ogg" type="AudioStream" id=2]
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id=1]
|
|
animation = "HeartBeat"
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id=2]
|
|
animation = "HeartBeat"
|
|
|
|
[sub_resource type="AnimationNodeStateMachineTransition" id=3]
|
|
switch_mode = 2
|
|
auto_advance = true
|
|
|
|
[sub_resource type="AnimationNodeStateMachineTransition" id=4]
|
|
switch_mode = 2
|
|
auto_advance = true
|
|
|
|
[sub_resource type="AnimationNodeStateMachine" id=5]
|
|
states/HeartBeat/node = SubResource( 2 )
|
|
states/HeartBeat/position = Vector2( 586, 124 )
|
|
"states/HeartBeat 2/node" = SubResource( 1 )
|
|
"states/HeartBeat 2/position" = Vector2( 809, 124 )
|
|
transitions = [ "HeartBeat", "HeartBeat 2", SubResource( 3 ), "HeartBeat 2", "HeartBeat", SubResource( 4 ) ]
|
|
start_node = "HeartBeat"
|
|
|
|
[sub_resource type="AnimationNodeStateMachinePlayback" id=6]
|
|
|
|
[node name="Heart_2" instance=ExtResource( 1 )]
|
|
|
|
[node name="Heart" parent="." index="0"]
|
|
blend_shapes/bulge1 = 0.251092
|
|
blend_shapes/bulge2 = 0.748908
|
|
|
|
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="AnimationPlayer" index="0"]
|
|
stream = ExtResource( 2 )
|
|
|
|
[node name="AnimationTree" type="AnimationTree" parent="." index="2"]
|
|
tree_root = SubResource( 5 )
|
|
anim_player = NodePath("../AnimationPlayer")
|
|
active = true
|
|
parameters/playback = SubResource( 6 )
|