2023-08-19 02:19:56 -06:00
|
|
|
[gd_scene load_steps=9 format=3 uid="uid://c3q6fva1c1baa"]
|
|
|
|
|
|
|
|
[ext_resource type="PackedScene" uid="uid://biuw6lh16d2qr" path="res://Models/slime.glb" id="1_jttw0"]
|
|
|
|
[ext_resource type="Script" path="res://Models/slime.gd" id="2_xo27e"]
|
|
|
|
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_nwfvl"]
|
|
|
|
animation = &"Slime_Idle"
|
|
|
|
|
|
|
|
[sub_resource type="AnimationNodeAnimation" id="AnimationNodeAnimation_avpkh"]
|
|
|
|
animation = &"Slime_Walk"
|
|
|
|
|
|
|
|
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_n3s05"]
|
|
|
|
xfade_time = 0.3
|
|
|
|
|
|
|
|
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_fbi2x"]
|
|
|
|
xfade_time = 0.3
|
|
|
|
|
2023-08-19 10:45:09 -06:00
|
|
|
[sub_resource type="AnimationNodeStateMachineTransition" id="AnimationNodeStateMachineTransition_srcja"]
|
|
|
|
advance_mode = 2
|
|
|
|
|
2023-08-19 02:19:56 -06:00
|
|
|
[sub_resource type="AnimationNodeStateMachine" id="AnimationNodeStateMachine_prt7l"]
|
|
|
|
states/Idle/node = SubResource("AnimationNodeAnimation_nwfvl")
|
|
|
|
states/Idle/position = Vector2(570, 145)
|
|
|
|
states/Walk/node = SubResource("AnimationNodeAnimation_avpkh")
|
|
|
|
states/Walk/position = Vector2(329, 155)
|
2023-08-19 10:45:09 -06:00
|
|
|
transitions = ["Walk", "Idle", SubResource("AnimationNodeStateMachineTransition_n3s05"), "Idle", "Walk", SubResource("AnimationNodeStateMachineTransition_fbi2x"), "Start", "Idle", SubResource("AnimationNodeStateMachineTransition_srcja")]
|
2023-08-19 02:19:56 -06:00
|
|
|
|
|
|
|
[node name="slime" instance=ExtResource("1_jttw0")]
|
|
|
|
script = ExtResource("2_xo27e")
|
2023-08-19 21:21:54 -06:00
|
|
|
colors = Array[Color]([Color(0, 0.113725, 0.905882, 1), Color(0.592157, 0, 0.243137, 1), Color(0.513726, 0.360784, 0, 1), Color(0, 0.470588, 0.32549, 1), Color(0.423529, 0, 0.54902, 1)])
|
2023-08-19 02:19:56 -06:00
|
|
|
|
2023-08-19 21:47:13 -06:00
|
|
|
[node name="Armature" parent="." index="0"]
|
|
|
|
transform = Transform3D(0.859505, 0, -0.511128, 0, 1, 0, 0.511128, 0, 0.859505, 0, 0, 0)
|
|
|
|
|
2023-08-19 02:19:56 -06:00
|
|
|
[node name="Skeleton3D" parent="Armature" index="0"]
|
2023-08-20 17:21:02 -06:00
|
|
|
bones/1/position = Vector3(0, 0.421476, 0)
|
2023-08-19 13:34:34 -06:00
|
|
|
bones/2/rotation = Quaternion(-0.0627444, 0.00212883, -0.213248, 0.974979)
|
|
|
|
bones/3/rotation = Quaternion(0.100834, -0.698956, 0.0125015, 0.707911)
|
2023-08-20 17:21:02 -06:00
|
|
|
bones/7/rotation = Quaternion(-0.257687, 2.32309e-09, 2.75415e-09, 0.966228)
|
|
|
|
bones/8/rotation = Quaternion(0.19232, -9.0028e-10, -4.74124e-10, 0.981332)
|
|
|
|
bones/10/rotation = Quaternion(0.252279, -5.58669e-08, -5.78452e-08, 0.967654)
|
|
|
|
bones/11/rotation = Quaternion(-0.195486, 7.54015e-08, 2.81945e-08, 0.980707)
|
2023-08-19 02:19:56 -06:00
|
|
|
|
|
|
|
[node name="AnimationTree" type="AnimationTree" parent="." index="2"]
|
|
|
|
tree_root = SubResource("AnimationNodeStateMachine_prt7l")
|
|
|
|
anim_player = NodePath("../AnimationPlayer")
|
|
|
|
active = true
|