[gd_scene load_steps=12 format=3 uid="uid://1tiswf3gtyvv"] [ext_resource type="Script" path="res://Entities/ShungiteSpike.cs" id="1_pclpe"] [ext_resource type="PackedScene" uid="uid://djaljmco3xo4g" path="res://Entities/ShungiteDart.tscn" id="2_hinxt"] [ext_resource type="Texture2D" uid="uid://dvx2b0y6dup53" path="res://Assets/Sprites/Misc/shungite-spike.png" id="2_klp8v"] [ext_resource type="PackedScene" uid="uid://du5vhccg75nrq" path="res://BoundingBoxes/Hitbox.tscn" id="3_kojrj"] [ext_resource type="PackedScene" uid="uid://cjgxyhgcyvsv7" path="res://BoundingBoxes/Hurtbox.tscn" id="4_d8dl4"] [ext_resource type="AudioStream" uid="uid://c4n7ioxpukdwi" path="res://Assets/Sounds/parry.wav" id="6_fepye"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_konb7"] [sub_resource type="CircleShape2D" id="CircleShape2D_kumrg"] radius = 20.0 [sub_resource type="Animation" id="Animation_dlpaa"] resource_name = "spin" length = 0.5 loop_mode = 1 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Sprite2D:rotation") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0, 0.5), "transitions": PackedFloat32Array(1, 1), "update": 0, "values": [0.0, 6.28319] } [sub_resource type="Animation" id="Animation_0vfvo"] length = 0.001 tracks/0/type = "value" tracks/0/imported = false tracks/0/enabled = true tracks/0/path = NodePath("Sprite2D:rotation") tracks/0/interp = 1 tracks/0/loop_wrap = true tracks/0/keys = { "times": PackedFloat32Array(0), "transitions": PackedFloat32Array(1), "update": 0, "values": [0.0] } [sub_resource type="AnimationLibrary" id="AnimationLibrary_jj1qe"] _data = { "RESET": SubResource("Animation_0vfvo"), "spin": SubResource("Animation_dlpaa") } [node name="ShungiteSpike" type="RigidBody2D" node_paths=PackedStringArray("Hurtbox", "HitSound", "Hitbox")] script = ExtResource("1_pclpe") Dart = ExtResource("2_hinxt") Hurtbox = NodePath("Hurtbox") HitSound = NodePath("AudioStreamPlayer2D") Hitbox = NodePath("Hitbox") [node name="Sprite2D" type="Sprite2D" parent="."] modulate = Color(1.4, 0, 1.2, 1) self_modulate = Color(2, 2, 2, 1) texture_filter = 1 texture = ExtResource("2_klp8v") [node name="Hitbox" parent="." instance=ExtResource("3_kojrj")] Damage = 10.0 Knockback = 256.0 [node name="CollisionShape2D" parent="Hitbox" index="0"] shape = SubResource("RectangleShape2D_konb7") [node name="Hurtbox" parent="." instance=ExtResource("4_d8dl4")] [node name="CollisionShape2D" parent="Hurtbox" index="0"] shape = SubResource("CircleShape2D_kumrg") [node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."] stream = ExtResource("6_fepye") [node name="AnimationPlayer" type="AnimationPlayer" parent="."] libraries = { "": SubResource("AnimationLibrary_jj1qe") } [editable path="Hitbox"] [editable path="Hurtbox"]