2023-07-19 00:17:25 -07:00
|
|
|
[gd_scene load_steps=13 format=3 uid="uid://1tiswf3gtyvv"]
|
2023-07-18 00:57:28 -07:00
|
|
|
|
|
|
|
[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"]
|
2023-07-23 23:39:20 -07:00
|
|
|
[ext_resource type="AudioStream" uid="uid://jsnjoyaj6p5a" path="res://Assets/Sounds/rock-smash.wav" id="6_vr2ui"]
|
2023-07-18 00:57:28 -07:00
|
|
|
|
2023-07-19 00:17:25 -07:00
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_hrev2"]
|
2023-07-23 23:39:20 -07:00
|
|
|
radius = 6.0
|
2023-07-18 00:57:28 -07:00
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_kumrg"]
|
2023-07-19 00:17:25 -07:00
|
|
|
radius = 12.0
|
2023-07-18 00:57:28 -07:00
|
|
|
|
2023-07-19 00:17:25 -07:00
|
|
|
[sub_resource type="Animation" id="Animation_0vfvo"]
|
|
|
|
length = 0.001
|
2023-07-18 00:57:28 -07:00
|
|
|
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 = {
|
2023-07-19 00:17:25 -07:00
|
|
|
"times": PackedFloat32Array(0),
|
|
|
|
"transitions": PackedFloat32Array(1),
|
|
|
|
"update": 0,
|
|
|
|
"values": [0.0]
|
|
|
|
}
|
|
|
|
tracks/1/type = "value"
|
|
|
|
tracks/1/imported = false
|
|
|
|
tracks/1/enabled = true
|
|
|
|
tracks/1/path = NodePath("Sprite2D:frame")
|
|
|
|
tracks/1/interp = 1
|
|
|
|
tracks/1/loop_wrap = true
|
|
|
|
tracks/1/keys = {
|
|
|
|
"times": PackedFloat32Array(0),
|
|
|
|
"transitions": PackedFloat32Array(1),
|
|
|
|
"update": 1,
|
|
|
|
"values": [0]
|
|
|
|
}
|
|
|
|
tracks/2/type = "value"
|
|
|
|
tracks/2/imported = false
|
|
|
|
tracks/2/enabled = true
|
|
|
|
tracks/2/path = NodePath("Sprite2D:self_modulate")
|
|
|
|
tracks/2/interp = 1
|
|
|
|
tracks/2/loop_wrap = true
|
|
|
|
tracks/2/keys = {
|
|
|
|
"times": PackedFloat32Array(0),
|
|
|
|
"transitions": PackedFloat32Array(1),
|
|
|
|
"update": 0,
|
|
|
|
"values": [Color(1, 1, 1, 1)]
|
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="Animation" id="Animation_0a85j"]
|
|
|
|
resource_name = "explode"
|
|
|
|
length = 0.5
|
|
|
|
tracks/0/type = "value"
|
|
|
|
tracks/0/imported = false
|
|
|
|
tracks/0/enabled = true
|
|
|
|
tracks/0/path = NodePath("Sprite2D:frame")
|
|
|
|
tracks/0/interp = 1
|
|
|
|
tracks/0/loop_wrap = true
|
|
|
|
tracks/0/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.1, 0.2),
|
|
|
|
"transitions": PackedFloat32Array(1, 1, 1),
|
|
|
|
"update": 1,
|
|
|
|
"values": [0, 2, 4]
|
|
|
|
}
|
|
|
|
tracks/1/type = "value"
|
|
|
|
tracks/1/imported = false
|
|
|
|
tracks/1/enabled = true
|
|
|
|
tracks/1/path = NodePath("Sprite2D:rotation")
|
|
|
|
tracks/1/interp = 1
|
|
|
|
tracks/1/loop_wrap = true
|
|
|
|
tracks/1/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.4),
|
2023-07-18 00:57:28 -07:00
|
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
|
|
"update": 0,
|
|
|
|
"values": [0.0, 6.28319]
|
|
|
|
}
|
2023-07-19 00:17:25 -07:00
|
|
|
tracks/2/type = "value"
|
|
|
|
tracks/2/imported = false
|
|
|
|
tracks/2/enabled = true
|
|
|
|
tracks/2/path = NodePath("Sprite2D:self_modulate")
|
|
|
|
tracks/2/interp = 1
|
|
|
|
tracks/2/loop_wrap = true
|
|
|
|
tracks/2/keys = {
|
|
|
|
"times": PackedFloat32Array(0, 0.5),
|
|
|
|
"transitions": PackedFloat32Array(1, 1),
|
|
|
|
"update": 0,
|
|
|
|
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 0)]
|
|
|
|
}
|
2023-07-18 00:57:28 -07:00
|
|
|
|
2023-07-19 00:17:25 -07:00
|
|
|
[sub_resource type="Animation" id="Animation_dlpaa"]
|
|
|
|
resource_name = "spin"
|
|
|
|
length = 0.5
|
|
|
|
loop_mode = 1
|
2023-07-18 00:57:28 -07:00
|
|
|
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 = {
|
2023-07-19 00:17:25 -07:00
|
|
|
"times": PackedFloat32Array(0, 0.5),
|
|
|
|
"transitions": PackedFloat32Array(1, 1),
|
2023-07-18 00:57:28 -07:00
|
|
|
"update": 0,
|
2023-07-19 00:17:25 -07:00
|
|
|
"values": [0.0, 6.28319]
|
2023-07-18 00:57:28 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
[sub_resource type="AnimationLibrary" id="AnimationLibrary_jj1qe"]
|
|
|
|
_data = {
|
|
|
|
"RESET": SubResource("Animation_0vfvo"),
|
2023-07-19 00:17:25 -07:00
|
|
|
"explode": SubResource("Animation_0a85j"),
|
2023-07-18 00:57:28 -07:00
|
|
|
"spin": SubResource("Animation_dlpaa")
|
|
|
|
}
|
|
|
|
|
2023-07-19 00:17:25 -07:00
|
|
|
[node name="ShungiteSpike" type="RigidBody2D" node_paths=PackedStringArray("Hurtbox", "HitSound", "AnimationPlayer", "Hitbox")]
|
2023-07-18 00:57:28 -07:00
|
|
|
script = ExtResource("1_pclpe")
|
|
|
|
Dart = ExtResource("2_hinxt")
|
|
|
|
Hurtbox = NodePath("Hurtbox")
|
|
|
|
HitSound = NodePath("AudioStreamPlayer2D")
|
2023-07-19 00:17:25 -07:00
|
|
|
AnimationPlayer = NodePath("AnimationPlayer")
|
|
|
|
ProjectileName = "Shungite Spike"
|
|
|
|
Speed = 96.0
|
2023-07-18 00:57:28 -07:00
|
|
|
Hitbox = NodePath("Hitbox")
|
|
|
|
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
|
|
|
texture_filter = 1
|
|
|
|
texture = ExtResource("2_klp8v")
|
2023-07-19 00:17:25 -07:00
|
|
|
hframes = 5
|
2023-07-18 00:57:28 -07:00
|
|
|
|
|
|
|
[node name="Hitbox" parent="." instance=ExtResource("3_kojrj")]
|
2023-07-19 00:17:25 -07:00
|
|
|
Damage = 14.0
|
|
|
|
Knockback = 200.0
|
2023-07-18 00:57:28 -07:00
|
|
|
|
|
|
|
[node name="CollisionShape2D" parent="Hitbox" index="0"]
|
2023-07-19 00:17:25 -07:00
|
|
|
shape = SubResource("CircleShape2D_hrev2")
|
2023-07-18 00:57:28 -07:00
|
|
|
|
|
|
|
[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="."]
|
2023-07-23 23:39:20 -07:00
|
|
|
stream = ExtResource("6_vr2ui")
|
2023-07-18 00:57:28 -07:00
|
|
|
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
|
|
libraries = {
|
|
|
|
"": SubResource("AnimationLibrary_jj1qe")
|
|
|
|
}
|
|
|
|
|
|
|
|
[editable path="Hitbox"]
|
|
|
|
[editable path="Hurtbox"]
|