try to fix some stuff

This commit is contained in:
2026-01-26 07:36:23 +01:00
parent 913e5c4418
commit dabec8a119
39 changed files with 3297 additions and 427 deletions

View File

@@ -14,6 +14,22 @@
[ext_resource type="AudioStream" uid="uid://cbvxokqp1bxar" path="res://assets/audio/sfx/enemies/goblin/raargh3.mp3" id="11_5x2ph"]
[ext_resource type="AudioStream" uid="uid://dscx61fdkejlt" path="res://assets/audio/sfx/enemies/goblin/ive_been_waiting_for_this.mp3" id="12_oynfq"]
[ext_resource type="AudioStream" uid="uid://ban8uv8hifsgc" path="res://assets/audio/sfx/enemies/goblin/stay_back_if_you_wanna_keep_your_head.mp3" id="13_b0veo"]
[ext_resource type="Texture2D" uid="uid://bkca7nmt4du5e" path="res://assets/gfx/Puny-Characters/ShieldOverlayer.png" id="14_shield"]
[ext_resource type="Texture2D" uid="uid://bpxxpdpow5qyl" path="res://assets/gfx/Puny-Characters/ShieldOverlayerHolding.png" id="15_shieldh"]
[ext_resource type="PackedScene" path="res://scenes/incantation.tscn" id="16_inc"]
[ext_resource type="AudioStream" uid="uid://c10ju1f6d4ed3" path="res://assets/audio/sfx/shield/activate_shield.wav" id="17_sfx"]
[ext_resource type="AudioStream" uid="uid://ly1euk0v3jxy" path="res://assets/audio/sfx/shield/shield.wav" id="18_sfx"]
[ext_resource type="AudioStream" uid="uid://c4lh535yj010h" path="res://assets/audio/sfx/shield/shield1.wav" id="19_sfx"]
[ext_resource type="AudioStream" uid="uid://ch3p57i7fvd1v" path="res://assets/audio/sfx/shield/shield2.wav" id="20_sfx"]
[ext_resource type="AudioStream" uid="uid://t0sg2rxlfech" path="res://assets/audio/sfx/shield/shield3.wav" id="21_sfx"]
[ext_resource type="AudioStream" uid="uid://b6klanrso0vvq" path="res://assets/audio/sfx/weapons/bow/bow_release_1.mp3" id="22_sfx"]
[ext_resource type="AudioStream" uid="uid://b6mwlp2ap0wbj" path="res://assets/audio/sfx/weapons/bow/bow_release2.mp3" id="23_sfx"]
[ext_resource type="AudioStream" uid="uid://d1ut5lnlch0k2" path="res://assets/audio/sfx/weapons/bow/bow_release3.mp3" id="24_sfx"]
[ext_resource type="AudioStream" uid="uid://mbtpqlb5n3gd" path="res://assets/audio/sfx/weapons/bow/bow_no_arrow.mp3" id="25_sfx"]
[ext_resource type="AudioStream" uid="uid://cgya50qrx8gms" path="res://assets/audio/sfx/weapons/bow/buckle_bow.mp3" id="26_sfx"]
[ext_resource type="AudioStream" uid="uid://bvi00vbftbgc5" path="res://assets/audio/sfx/player/ultra_run/shinespark_start.wav" id="27_sfx"]
[ext_resource type="AudioStream" uid="uid://4vulahdsj4i2" path="res://assets/audio/sfx/swoosh/throw_01.wav.mp3" id="28_sfx"]
[ext_resource type="AudioStream" uid="uid://w6yon88kjfml" path="res://assets/audio/sfx/nickes/lift_sfx.ogg" id="29_sfx"]
[sub_resource type="Gradient" id="Gradient_1"]
colors = PackedColorArray(0, 0, 0, 1, 0, 0, 0, 0)
@@ -211,6 +227,40 @@ stream_2/stream = ExtResource("11_5x2ph")
stream_3/stream = ExtResource("12_oynfq")
stream_4/stream = ExtResource("13_b0veo")
[sub_resource type="ShaderMaterial" id="ShaderMaterial_shield"]
shader = ExtResource("4_r7ul0")
shader_parameter/original_0 = Color(0, 0, 0, 1)
shader_parameter/original_1 = Color(0, 0, 0, 1)
shader_parameter/original_2 = Color(0, 0, 0, 1)
shader_parameter/original_3 = Color(0, 0, 0, 1)
shader_parameter/original_4 = Color(0, 0, 0, 1)
shader_parameter/original_5 = Color(0, 0, 0, 1)
shader_parameter/original_6 = Color(0, 0, 0, 1)
shader_parameter/replace_0 = Color(0, 0, 0, 1)
shader_parameter/replace_1 = Color(0, 0, 0, 1)
shader_parameter/replace_2 = Color(0, 0, 0, 1)
shader_parameter/replace_3 = Color(0, 0, 0, 1)
shader_parameter/replace_4 = Color(0, 0, 0, 1)
shader_parameter/replace_5 = Color(0, 0, 0, 1)
shader_parameter/replace_6 = Color(0, 0, 0, 1)
shader_parameter/tint = Color(1, 1, 1, 1)
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_bow"]
playback_mode = 1
random_pitch = 1.0123794
streams_count = 3
stream_0/stream = ExtResource("22_sfx")
stream_1/stream = ExtResource("23_sfx")
stream_2/stream = ExtResource("24_sfx")
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_block"]
playback_mode = 1
streams_count = 4
stream_0/stream = ExtResource("18_sfx")
stream_1/stream = ExtResource("19_sfx")
stream_2/stream = ExtResource("20_sfx")
stream_3/stream = ExtResource("21_sfx")
[node name="EnemyHumanoid" type="CharacterBody2D" unique_id=285357386]
collision_layer = 2
collision_mask = 65
@@ -278,12 +328,28 @@ material = SubResource("ShaderMaterial_i1636")
hframes = 35
vframes = 8
[node name="Sprite2DShield" type="Sprite2D" parent="."]
visible = false
material = SubResource("ShaderMaterial_shield")
texture = ExtResource("14_shield")
hframes = 35
vframes = 8
[node name="Sprite2DShieldHolding" type="Sprite2D" parent="."]
visible = false
material = SubResource("ShaderMaterial_shield")
texture = ExtResource("15_shieldh")
hframes = 35
vframes = 8
[node name="Sprite2DWeapon" type="Sprite2D" parent="." unique_id=1718282928]
y_sort_enabled = true
texture = ExtResource("4")
hframes = 35
vframes = 8
[node name="Incantation" parent="." instance=ExtResource("16_inc")]
[node name="AlertIndicator" type="Sprite2D" parent="." unique_id=1697001148]
visible = false
z_index = 100
@@ -330,3 +396,48 @@ attenuation = 8.57418
max_polyphony = 4
panning_strength = 1.04
bus = &"Sfx"
[node name="SfxActivateShield" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("17_sfx")
volume_db = 9.695
attenuation = 1.3660401
panning_strength = 1.78
[node name="SfxBlockWithShield" type="AudioStreamPlayer2D" parent="."]
stream = SubResource("AudioStreamRandomizer_block")
volume_db = 7.254
attenuation = 1.3195078
panning_strength = 1.06
bus = &"Sfx"
[node name="SfxBowShoot" type="AudioStreamPlayer2D" parent="."]
stream = SubResource("AudioStreamRandomizer_bow")
pitch_scale = 1.33
attenuation = 6.7271657
[node name="SfxBowWithoutArrow" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("25_sfx")
max_distance = 1455.0
attenuation = 7.4642572
[node name="SfxBuckleBow" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("26_sfx")
attenuation = 7.727478
panning_strength = 1.03
[node name="SfxSpellCharge" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("27_sfx")
[node name="SfxThrow" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("28_sfx")
pitch_scale = 0.61
max_distance = 983.0
attenuation = 8.876549
panning_strength = 1.04
[node name="SfxLift" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("29_sfx")
max_distance = 1246.0
attenuation = 1.9999994
panning_strength = 1.11
bus = &"Sfx"

View File

@@ -108,16 +108,16 @@ y_sort_enabled = true
script = ExtResource("5")
[node name="CanvasModulate" type="CanvasModulate" parent="." unique_id=948490815]
visible = false
light_mask = 1048575
visibility_layer = 1048575
color = Color(0.69140625, 0.69140625, 0.69140625, 1)
[node name="SfxWinds" type="AudioStreamPlayer2D" parent="." unique_id=1141138343]
[node name="SfxWinds" type="AudioStreamPlayer" parent="." unique_id=1563020465]
stream = ExtResource("6_6c6v5")
volume_db = -3.085
volume_db = -20.411
autoplay = true
bus = &"Sfx"
[node name="BgMusic" type="AudioStreamPlayer2D" parent="." unique_id=628820950]
[node name="BgMusic" type="AudioStreamPlayer" parent="." unique_id=925983703]
stream = ExtResource("8_pdbwf")
autoplay = true
volume_db = -15.864

159
src/scenes/incantation.tscn Normal file
View File

@@ -0,0 +1,159 @@
[gd_scene format=3 uid="uid://dwxyxlqdgclwi"]
[ext_resource type="Texture2D" uid="uid://bf158atxi7ucy" path="res://assets/gfx/fx/shade_spell_effects.png" id="1_tex"]
[sub_resource type="Animation" id="Animation_reset"]
length = 0.001
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("IncantationSprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [2037]
}
[sub_resource type="Animation" id="Animation_fire_ch"]
resource_name = "fire_charging"
length = 0.4
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("IncantationSprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.03333334, 0.06666667, 0.10000002, 0.13333336, 0.16666669, 0.20000002, 0.23333335, 0.26666668, 0.30000004, 0.33333337, 0.3666667, 0.4, 0.43333337, 0.46666673, 0.5, 0.53333336),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [2037, 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 2051, 2052, 2053]
}
[sub_resource type="Animation" id="Animation_fire_rdy"]
resource_name = "fire_ready"
length = 0.6
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("IncantationSprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.03333334, 0.06666667, 0.10000002, 0.13333336, 0.16666669, 0.20000002, 0.23333335, 0.26666668, 0.30000004, 0.33333337, 0.3666667, 0.4, 0.43333337, 0.46666673, 0.5, 0.53333336),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [2037, 2038, 2039, 2040, 2041, 2042, 2043, 2044, 2045, 2046, 2047, 2048, 2049, 2050, 2051, 2052, 2053]
}
[sub_resource type="Animation" id="Animation_frost_ch"]
resource_name = "frost_charging"
length = 0.566
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("IncantationSprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.03333334, 0.06666667, 0.1, 0.13333334, 0.16666667, 0.2, 0.23333333, 0.26666668, 0.3, 0.33333334, 0.36666667, 0.4, 0.43333334, 0.46666667, 0.5, 0.53333336),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [3678, 3679, 3680, 3681, 3682, 3683, 3684, 3685, 3686, 3687, 3688, 3689, 3690, 3691, 3692, 3693, 3694]
}
[sub_resource type="Animation" id="Animation_frost_rdy"]
resource_name = "frost_ready"
length = 0.566
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("IncantationSprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.03333334, 0.06666667, 0.1, 0.13333334, 0.16666667, 0.2, 0.23333333, 0.26666668, 0.3, 0.33333334, 0.36666667, 0.4, 0.43333334, 0.46666667, 0.5, 0.53333336),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [3678, 3679, 3680, 3681, 3682, 3683, 3684, 3685, 3686, 3687, 3688, 3689, 3690, 3691, 3692, 3693, 3694]
}
[sub_resource type="Animation" id="Animation_heal_ch"]
resource_name = "healing_charging"
length = 0.5
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("IncantationSprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.45),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [589, 590, 591, 592, 593, 594, 595, 596, 597, 598]
}
[sub_resource type="Animation" id="Animation_heal_rdy"]
resource_name = "healing_ready"
length = 0.5
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("IncantationSprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.45),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
"update": 1,
"values": [589, 590, 591, 592, 593, 594, 595, 596, 597, 598]
}
[sub_resource type="Animation" id="Animation_idle"]
resource_name = "idle"
length = 0.1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("IncantationSprite:frame")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0),
"transitions": PackedFloat32Array(1),
"update": 1,
"values": [0]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_incant"]
_data = {
&"RESET": SubResource("Animation_reset"),
&"fire_charging": SubResource("Animation_fire_ch"),
&"fire_ready": SubResource("Animation_fire_rdy"),
&"frost_charging": SubResource("Animation_frost_ch"),
&"frost_ready": SubResource("Animation_frost_rdy"),
&"healing_charging": SubResource("Animation_heal_ch"),
&"healing_ready": SubResource("Animation_heal_rdy"),
&"idle": SubResource("Animation_idle")
}
[node name="Incantation" type="Node2D"]
[node name="IncantationSprite" type="Sprite2D" parent="."]
texture = ExtResource("1_tex")
hframes = 105
vframes = 79
frame = 2037
[node name="AnimationIncantation" type="AnimationPlayer" parent="."]
libraries/ = SubResource("AnimationLibrary_incant")
autoplay = &"idle"

View File

@@ -47,6 +47,9 @@
[ext_resource type="AudioStream" uid="uid://dvq72502qa46f" path="res://assets/audio/sfx/shield/denied_activate_Shield2.wav" id="45_g5jhy"]
[ext_resource type="AudioStream" uid="uid://8l0hx3sjh4ci" path="res://assets/audio/sfx/jsfxr/hitHurt (1).wav" id="46_holxr"]
[ext_resource type="AudioStream" uid="uid://cjv4cf2kiomwo" path="res://assets/audio/sfx/jsfxr/bird_sound.wav" id="47_mx1m4"]
[ext_resource type="AudioStream" uid="uid://cbbeyrdor7nyg" path="res://assets/audio/sfx/player/notice/lookout.mp3" id="48_6e8lb"]
[ext_resource type="AudioStream" uid="uid://cs5ruoyq80yi4" path="res://assets/audio/sfx/player/notice/aha.mp3" id="49_2gdjj"]
[ext_resource type="AudioStream" uid="uid://bew7ciiygabaj" path="res://assets/audio/sfx/player/notice/whatdowehavehere.mp3" id="50_sc3ue"]
[sub_resource type="Gradient" id="Gradient_wqfne"]
colors = PackedColorArray(0, 0, 0, 1, 1, 0.13732082, 0.092538536, 1)
@@ -563,6 +566,12 @@ _data = {
&"sleep": SubResource("Animation_mx1m4")
}
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_lxlsd"]
random_pitch = 1.1036249
streams_count = 2
stream_0/stream = ExtResource("49_2gdjj")
stream_1/stream = ExtResource("50_sc3ue")
[node name="Player" type="CharacterBody2D" unique_id=937429705]
collision_mask = 67
motion_mode = 1
@@ -740,8 +749,9 @@ panning_strength = 1.04
[node name="SfxLift" type="AudioStreamPlayer2D" parent="." unique_id=1261167113]
stream = ExtResource("28_pf23h")
max_distance = 1246.0
attenuation = 6.964403
attenuation = 1.9999994
panning_strength = 1.11
bus = &"Sfx"
[node name="DirectionalLight2D" type="DirectionalLight2D" parent="." unique_id=1013099358]
visible = false
@@ -802,6 +812,11 @@ bus = &"Sfx"
stream = ExtResource("45_g5jhy")
volume_db = 9.458
[node name="SfxDeny" type="AudioStreamPlayer2D" parent="." unique_id=1239738372]
stream = ExtResource("45_g5jhy")
volume_db = 9.458
bus = &"Sfx"
[node name="Sprite2DStatus" type="Sprite2D" parent="." unique_id=1335748461]
position = Vector2(0, -10)
texture = ExtResource("37_hax0n")
@@ -825,3 +840,22 @@ volume_db = -13.255
attenuation = 3.2490087
panning_strength = 1.12
bus = &"Sfx"
[node name="SfxLookOut" type="AudioStreamPlayer2D" parent="." unique_id=1177750193]
stream = ExtResource("48_6e8lb")
volume_db = 0.881
max_distance = 1138.0
attenuation = 7.999997
panning_strength = 1.04
bus = &"Sfx"
[node name="SfxAhaa" type="AudioStreamPlayer2D" parent="." unique_id=1556952538]
stream = SubResource("AudioStreamRandomizer_lxlsd")
max_distance = 1496.0
attenuation = 6.062864
panning_strength = 1.13
bus = &"Sfx"
[node name="SfxDeny2" type="AudioStreamPlayer2D" parent="." unique_id=1127340261]
stream = ExtResource("45_g5jhy")
max_distance = 1619.0