4.6, new attack, enemy spawning, shaders, bunch of stuff

This commit is contained in:
Daniel Kauss Serna 2026-02-17 01:24:05 +01:00
parent e08e3ebb13
commit 19517a3176
84 changed files with 13348 additions and 91399 deletions

View file

@ -1,16 +1,28 @@
[gd_scene load_steps=10 format=3 uid="uid://bmwgnwqj3scm5"]
[gd_scene format=3 uid="uid://bmwgnwqj3scm5"]
[ext_resource type="Script" uid="uid://c1anp8np0aw0" path="res://scripts/scythe_attack.gd" id="1_p6kik"]
[ext_resource type="Shader" uid="uid://bwcmfh6twfdpi" path="res://shaders/fade_in.gdshader" id="2_aw0er"]
[ext_resource type="Texture2D" uid="uid://cskpxmrlwc0gg" path="res://assets/masks/lavender_scythe.png" id="3_5mjrn"]
[ext_resource type="PackedScene" uid="uid://crptu0w0l57dd" path="res://scenes/hitbox.tscn" id="4_ek4qm"]
[ext_resource type="Script" uid="uid://bxqbkdomwqbtc" path="res://scripts/trail.gd" id="5_aw0er"]
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_2r5ap"]
[sub_resource type="FastNoiseLite" id="FastNoiseLite_aw0er"]
noise_type = 5
frequency = 0.0087
fractal_type = 0
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_5mjrn"]
noise = SubResource("FastNoiseLite_aw0er")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_5b14r"]
shader = ExtResource("2_aw0er")
shader_parameter/mask = SubResource("CompressedTexture2D_2r5ap")
shader_parameter/progress = 1.0
shader_parameter/noise_texture = SubResource("NoiseTexture2D_5mjrn")
shader_parameter/progress = 0.0
shader_parameter/edge_softness = 0.0
[sub_resource type="Curve" id="Curve_aw0er"]
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
point_count = 2
[sub_resource type="Animation" id="Animation_lx8lr"]
length = 0.001
@ -38,10 +50,22 @@ tracks/1/keys = {
"update": 0,
"values": [0.0]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath(".:material:shader_parameter/progress")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/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
length = 0.53333336
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
@ -66,6 +90,18 @@ tracks/1/keys = {
"update": 0,
"values": [1.5707963267948966, 1.5707963267948966, -7.853981633974483]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath(".:material:shader_parameter/progress")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 0.2),
"transitions": PackedFloat32Array(1, 1),
"update": 0,
"values": [0.0, 1.0]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_8jfvf"]
_data = {
@ -73,27 +109,36 @@ _data = {
&"swing": SubResource("Animation_0m7gt")
}
[node name="ScitheAttack" type="Node2D"]
[node name="ScitheAttack" type="Node2D" unique_id=622535335]
script = ExtResource("1_p6kik")
[node name="Anchor" type="Node2D" parent="."]
[node name="Anchor" type="Node2D" parent="." unique_id=330712092]
[node name="Scithe" type="Sprite2D" parent="Anchor"]
[node name="Scithe" type="Sprite2D" parent="Anchor" unique_id=1611161092]
material = SubResource("ShaderMaterial_5b14r")
scale = Vector2(0.904629, 0.904629)
texture = ExtResource("3_5mjrn")
flip_h = true
[node name="Hitbox" parent="Anchor/Scithe" instance=ExtResource("4_ek4qm")]
[node name="Hitbox" parent="Anchor/Scithe" unique_id=2078242519 instance=ExtResource("4_ek4qm")]
position = Vector2(-17.68681, -3.3162766)
rotation = 0.79253083
scale = Vector2(0.77211297, 3.2192266)
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
[node name="Trail" type="Line2D" parent="Anchor/Scithe" unique_id=462665408]
show_behind_parent = true
position = Vector2(28.741066, -14.370532)
rotation = 1.5707961
scale = Vector2(1.1054256, 1.1054256)
points = PackedVector2Array(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0)
width = 16.285
width_curve = SubResource("Curve_aw0er")
script = ExtResource("5_aw0er")
metadata/_custom_type_script = "uid://bxqbkdomwqbtc"
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=824911322]
root_node = NodePath("../Anchor/Scithe")
libraries = {
&"": SubResource("AnimationLibrary_8jfvf")
}
autoplay = "swing"
libraries/ = SubResource("AnimationLibrary_8jfvf")
autoplay = &"swing"
[connection signal="animation_finished" from="AnimationPlayer" to="." method="_on_animation_player_animation_finished"]