diff options
-rw-r--r-- | Scenes/Monster.tscn | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/Scenes/Monster.tscn b/Scenes/Monster.tscn index a67c88f..09e758a 100644 --- a/Scenes/Monster.tscn +++ b/Scenes/Monster.tscn @@ -1,9 +1,37 @@ -[gd_scene load_steps=7 format=2] +[gd_scene load_steps=8 format=2] [ext_resource path="res://Assets/Enemies/Bat-Monster.png" type="Texture" id=1] [ext_resource path="res://Scenes/Monster.gd" type="Script" id=2] [ext_resource path="res://Assets/blob_shadow.png" type="Texture" id=3] +[sub_resource type="Animation" id=4] +resource_name = "Idle" +loop = true +tracks/0/type = "value" +tracks/0/path = NodePath("Sprite3D:scale") +tracks/0/interp = 1 +tracks/0/loop_wrap = true +tracks/0/imported = false +tracks/0/enabled = true +tracks/0/keys = { +"times": PoolRealArray( 0, 0.5 ), +"transitions": PoolRealArray( 0.5, 0.5 ), +"update": 0, +"values": [ Vector3( 1, 1, 1 ), Vector3( 1.1, 0.9, 1 ) ] +} +tracks/1/type = "value" +tracks/1/path = NodePath("Sprite3D:translation") +tracks/1/interp = 1 +tracks/1/loop_wrap = true +tracks/1/imported = false +tracks/1/enabled = true +tracks/1/keys = { +"times": PoolRealArray( 0, 0.5 ), +"transitions": PoolRealArray( 0.5, 0.5 ), +"update": 0, +"values": [ Vector3( 0, 1, 0 ), Vector3( 0, 0.9, 0 ) ] +} + [sub_resource type="Animation" id=1] length = 0.001 tracks/0/type = "value" @@ -109,6 +137,8 @@ double_sided = false texture = ExtResource( 3 ) [node name="AnimationPlayer" type="AnimationPlayer" parent="."] +autoplay = "Idle" +anims/Idle = SubResource( 4 ) anims/RESET = SubResource( 1 ) anims/fucking_dies = SubResource( 2 ) anims/stomp = SubResource( 3 ) |