[gd_scene load_steps=10 format=3 uid="uid://bmwgnwqj3scm5"] [ext_resource type="Shader" uid="uid://bwcmfh6twfdpi" path="res://shaders/fade_in.gdshader" id="1_0m7gt"] [ext_resource type="Script" uid="uid://c1anp8np0aw0" path="res://scripts/scithe_attack.gd" id="1_lx8lr"] [ext_resource type="Texture2D" uid="uid://divkl7rteoscg" path="res://assets/scithe_load.png" id="2_lx8lr"] [ext_resource type="Texture2D" uid="uid://cskpxmrlwc0gg" path="res://assets/lavender_scythe.png" id="4_6xgjh"] [ext_resource type="PackedScene" uid="uid://crptu0w0l57dd" path="res://hitbox.tscn" id="5_6xgjh"] [sub_resource type="ShaderMaterial" id="ShaderMaterial_5b14r"] shader = ExtResource("1_0m7gt") shader_parameter/mask = ExtResource("2_lx8lr") shader_parameter/progress = 1.0 [sub_resource type="Animation" id="Animation_lx8lr"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:position") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [Vector2(0, 0)] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("..:rotation") tracks/1/interp = 1 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [0.0] } [sub_resource type="Animation" id="Animation_0m7gt"] resource_name = "swing" length = 0.5 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath(".:position") tracks/0/interp = 2 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.2), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [Vector2(0, 0), Vector2(0, -30)] } tracks/1/type = "value" tracks/1/imported = false tracks/1/enabled = true tracks/1/path = NodePath("..:rotation") tracks/1/interp = 2 tracks/1/loop_wrap = true tracks/1/keys = { "times": PackedFloat32Array(0, 0.2, 0.5), "transitions": PackedFloat32Array(1, 1, 1), "update": 0, "values": [1.5707963267948966, 1.5707963267948966, -7.853981633974483] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_8jfvf"] _data = { &"RESET": SubResource("Animation_lx8lr"), &"swing": SubResource("Animation_0m7gt") } [node name="ScitheAttack" type="Node2D"] script = ExtResource("1_lx8lr") [node name="Anchor" type="Node2D" parent="."] [node name="Scithe" type="Sprite2D" parent="Anchor"] material = SubResource("ShaderMaterial_5b14r") scale = Vector2(0.904629, 0.904629) texture = ExtResource("4_6xgjh") flip_h = true [node name="Hitbox" parent="Anchor/Scithe" instance=ExtResource("5_6xgjh")] position = Vector2(-6.410257, -8.012821) rotation = 0.965108 scale = Vector2(1.5881884, 4.2732244) [node name="AnimationPlayer" type="AnimationPlayer" parent="."] root_node = NodePath("../Anchor/Scithe") libraries = { &"": SubResource("AnimationLibrary_8jfvf") } autoplay = "swing" [connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_animation_player_animation_finished"]