SupaLidlGame/Entities/UnwantedFrequency.tscn

213 lines
6.6 KiB
Plaintext
Raw Permalink Normal View History

[gd_scene load_steps=25 format=3 uid="uid://1y5r6sklwgrp"]
[ext_resource type="Script" path="res://Entities/UnwantedFrequency.cs" id="1_6sbe0"]
[ext_resource type="PackedScene" uid="uid://du5vhccg75nrq" path="res://BoundingBoxes/Hitbox.tscn" id="2_gxtvd"]
[ext_resource type="PackedScene" uid="uid://cojxmcin13ihm" path="res://Utils/Trail.tscn" id="3_67uhs"]
[ext_resource type="AudioStream" uid="uid://cn2wop7rfxku8" path="res://Assets/Sounds/karabast.mp3" id="4_pbgsi"]
2023-08-14 14:07:57 -07:00
[ext_resource type="AudioStream" uid="uid://braj74by0oowo" path="res://Assets/Sounds/fire-burst-flash.wav" id="5_6tm7d"]
2023-08-05 23:50:08 -07:00
[ext_resource type="Texture2D" uid="uid://c1a7lvb4uuwfy" path="res://Assets/Sprites/Particles/circle-16.png" id="5_qbbx7"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_30y8q"]
size = Vector2(8, 8)
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_dhurx"]
light_mode = 1
[sub_resource type="Curve" id="Curve_eu273"]
_data = [Vector2(0.0618557, 0), 0.0, 0.0, 0, 0, Vector2(0.489691, 1), 0.0, 0.0, 0, 0]
point_count = 2
[sub_resource type="Gradient" id="Gradient_dyqhb"]
offsets = PackedFloat32Array(0.00662252, 0.715232, 1)
colors = PackedColorArray(0.996078, 0, 0.164706, 0, 1.992, 0, 0.334, 1, 2, 2, 2, 1)
2023-08-14 14:07:57 -07:00
[sub_resource type="Gradient" id="Gradient_m1y6u"]
offsets = PackedFloat32Array(0.00662252, 0.715232, 1)
colors = PackedColorArray(0, 0, 0, 0, 0, 0, 0, 1, 2, 2, 2, 1)
2023-08-14 14:07:57 -07:00
[sub_resource type="Gradient" id="Gradient_2q0ut"]
offsets = PackedFloat32Array(0.525926, 0.740741, 1)
colors = PackedColorArray(1, 1, 1, 1, 1, 0.00784314, 0.215686, 0.784314, 1, 0, 0, 0)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_yfhnr"]
gradient = SubResource("Gradient_2q0ut")
2023-08-05 23:50:08 -07:00
[sub_resource type="Curve" id="Curve_8kv0q"]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(0.5, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
point_count = 3
[sub_resource type="CurveTexture" id="CurveTexture_es0lb"]
curve = SubResource("Curve_8kv0q")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_eh1hw"]
particle_flag_disable_z = true
spread = 180.0
2023-08-05 23:50:08 -07:00
initial_velocity_min = 25.0
initial_velocity_max = 50.0
orbit_velocity_min = 1.0
orbit_velocity_max = 2.0
2024-01-01 23:24:57 -08:00
gravity = Vector3(0, 0, 0)
2023-08-05 23:50:08 -07:00
linear_accel_min = -8.0
tangential_accel_max = 8.0
scale_min = 0.1
scale_max = 0.2
scale_curve = SubResource("CurveTexture_es0lb")
color_ramp = SubResource("GradientTexture1D_yfhnr")
2023-07-21 02:54:13 -07:00
[sub_resource type="Gradient" id="Gradient_5hy7c"]
2023-08-05 23:50:08 -07:00
offsets = PackedFloat32Array(0, 0.4, 1)
colors = PackedColorArray(1, 1, 1, 1, 1, 0.784314, 0.784314, 0.25098, 1, 0, 0, 0)
2023-07-21 02:54:13 -07:00
2023-08-05 23:50:08 -07:00
[sub_resource type="GradientTexture1D" id="GradientTexture1D_1bgot"]
2023-07-21 02:54:13 -07:00
gradient = SubResource("Gradient_5hy7c")
[sub_resource type="Curve" id="Curve_wt1cb"]
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.2, 1), 0.0, 0.0, 0, 0, Vector2(1, 0.5), 0.0, 0.0, 0, 0]
point_count = 3
2023-08-05 23:50:08 -07:00
[sub_resource type="CurveTexture" id="CurveTexture_n73if"]
2023-07-21 02:54:13 -07:00
curve = SubResource("Curve_wt1cb")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_olfm2"]
particle_flag_disable_z = true
spread = 180.0
2023-08-05 23:50:08 -07:00
initial_velocity_min = 8.0
initial_velocity_max = 16.0
2024-01-01 23:24:57 -08:00
gravity = Vector3(0, 0, 0)
2023-08-05 23:50:08 -07:00
scale_curve = SubResource("CurveTexture_n73if")
color_ramp = SubResource("GradientTexture1D_1bgot")
2023-07-21 02:54:13 -07:00
2023-07-19 01:25:02 -07:00
[sub_resource type="Animation" id="Animation_w1abs"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sound:volume_db")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
2023-07-19 01:25:02 -07:00
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 0,
2023-07-19 01:25:02 -07:00
"values": [-16.0]
}
2023-07-19 01:25:02 -07:00
[sub_resource type="Animation" id="Animation_0brc4"]
resource_name = "death"
length = 4.0
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Sound:volume_db")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
2023-07-19 01:25:02 -07:00
"times": PackedFloat32Array(0, 4),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
2023-07-19 01:25:02 -07:00
"values": [-16.0, -64.0]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_v8fdt"]
_data = {
"RESET": SubResource("Animation_w1abs"),
"death": SubResource("Animation_0brc4")
}
[node name="UnwantedFrequency" type="RigidBody2D" node_paths=PackedStringArray("Hitbox")]
script = ExtResource("1_6sbe0")
2023-07-23 23:39:20 -07:00
HomingVelocity = 1.2
ProjectileName = "Unwanted Frequency"
2023-07-23 23:39:20 -07:00
Speed = 124.0
Direction = Vector2(1, 1)
Hitbox = NodePath("Hitbox")
2023-07-24 21:29:14 -07:00
Lifetime = 4.0
2023-08-05 23:50:08 -07:00
Delay = 1.0
[node name="Hitbox" parent="." instance=ExtResource("2_gxtvd")]
collision_layer = 0
monitorable = false
2024-01-01 23:24:57 -08:00
priority = 5
Damage = 20.0
Knockback = 324.0
[node name="CollisionShape2D" parent="Hitbox" index="0"]
shape = SubResource("RectangleShape2D_30y8q")
[node name="TrailRotation" type="Node2D" parent="."]
material = SubResource("CanvasItemMaterial_dhurx")
[node name="TrailPosition" type="Node2D" parent="TrailRotation"]
use_parent_material = true
[node name="Trail" parent="TrailRotation/TrailPosition" instance=ExtResource("3_67uhs")]
self_modulate = Color(2, 2, 2, 1)
use_parent_material = true
width = 2.0
width_curve = SubResource("Curve_eu273")
default_color = Color(1, 0.0862745, 0.207843, 1)
gradient = SubResource("Gradient_dyqhb")
joint_mode = 2
begin_cap_mode = 2
end_cap_mode = 2
MaximumPoints = 64
Frequency = 30
2023-08-14 14:07:57 -07:00
[node name="TrailPosition2" type="Node2D" parent="TrailRotation"]
use_parent_material = true
2023-08-14 14:07:57 -07:00
[node name="Trail" parent="TrailRotation/TrailPosition2" instance=ExtResource("3_67uhs")]
self_modulate = Color(2, 2, 2, 1)
use_parent_material = true
2023-08-14 14:07:57 -07:00
width = 2.0
width_curve = SubResource("Curve_eu273")
gradient = SubResource("Gradient_m1y6u")
joint_mode = 2
begin_cap_mode = 2
end_cap_mode = 2
MaximumPoints = 64
Frequency = 30
[node name="DeferDeath" type="Timer" parent="."]
wait_time = 4.0
[node name="Sound" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("4_pbgsi")
volume_db = -16.0
autoplay = true
max_distance = 64.0
attenuation = 8.0
2023-08-14 14:07:57 -07:00
bus = &"Effects"
[node name="Burst" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("5_6tm7d")
autoplay = true
max_distance = 512.0
attenuation = 4.0
bus = &"Effects"
2023-08-05 23:50:08 -07:00
[node name="SpawnParticles" type="GPUParticles2D" parent="."]
emitting = false
2023-08-05 23:50:08 -07:00
amount = 16
process_material = SubResource("ParticleProcessMaterial_eh1hw")
2023-08-05 23:50:08 -07:00
texture = ExtResource("5_qbbx7")
lifetime = 2.0
2023-08-05 23:50:08 -07:00
explosiveness = 0.1
2023-08-05 23:50:08 -07:00
[node name="DeathParticles" type="GPUParticles2D" parent="."]
2023-07-21 02:54:13 -07:00
emitting = false
amount = 12
process_material = SubResource("ParticleProcessMaterial_olfm2")
2023-08-05 23:50:08 -07:00
texture = ExtResource("5_qbbx7")
2023-07-21 02:54:13 -07:00
lifetime = 2.0
one_shot = true
2023-08-05 23:50:08 -07:00
preprocess = 0.1
2023-07-21 02:54:13 -07:00
explosiveness = 1.0
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
"": SubResource("AnimationLibrary_v8fdt")
}
[editable path="Hitbox"]