added more spell effects, fixed bomb effects, allow to pickup bomb...

This commit is contained in:
2026-01-24 05:20:24 +01:00
parent b9e836d394
commit 9ab4a13244
18 changed files with 715 additions and 158 deletions

View File

@@ -6,6 +6,9 @@
[ext_resource type="AudioStream" uid="uid://d4dweg04wrw6a" path="res://assets/audio/sfx/sub_weapons/bomb_fuse.mp3" id="3_fuse"]
[ext_resource type="AudioStream" uid="uid://qcb5u7dqw1ck" path="res://assets/audio/sfx/explode_01.wav.mp3" id="4_explode"]
[ext_resource type="AudioStream" uid="uid://d4kjyb1olr74s" path="res://assets/audio/sfx/weapons/bow/bow_draw-02.mp3" id="5_pickup"]
[ext_resource type="AudioStream" uid="uid://nks0upmnsatn" path="res://assets/audio/sfx/ambience/debris-rocks-01.wav.mp3" id="7_h6264"]
[ext_resource type="AudioStream" uid="uid://dpwa2spwtc055" path="res://assets/audio/sfx/ambience/debris-rocks-02.wav.mp3" id="8_fa1rq"]
[ext_resource type="AudioStream" uid="uid://cxl1ltxeqd4ye" path="res://assets/audio/sfx/ambience/debris-rocks-03.wav.mp3" id="9_haynv"]
[sub_resource type="Gradient" id="Gradient_shadow"]
colors = PackedColorArray(0, 0, 0, 1, 0, 0, 0, 0)
@@ -17,7 +20,7 @@ fill_from = Vector2(0.5, 0.5)
fill_to = Vector2(0.8, 0.8)
[sub_resource type="CircleShape2D" id="CircleShape2D_bomb"]
radius = 8.0
radius = 4.5
[sub_resource type="CircleShape2D" id="CircleShape2D_collection"]
radius = 16.0
@@ -63,6 +66,14 @@ fill = 1
fill_from = Vector2(0.5, 0.5)
fill_to = Vector2(0.9102564, 0.9188034)
[sub_resource type="AudioStreamRandomizer" id="AudioStreamRandomizer_tqihf"]
playback_mode = 1
random_pitch = 1.0376596
streams_count = 3
stream_0/stream = ExtResource("7_h6264")
stream_1/stream = ExtResource("8_fa1rq")
stream_2/stream = ExtResource("9_haynv")
[node name="Bomb" type="CharacterBody2D" unique_id=367943636]
collision_layer = 2
motion_mode = 1
@@ -75,6 +86,7 @@ scale = Vector2(0.1, 0.1)
texture = SubResource("GradientTexture2D_shadow")
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=818862430]
position = Vector2(0, -1)
texture = ExtResource("2_ng1nl")
hframes = 20
vframes = 14
@@ -95,7 +107,7 @@ collision_mask = 3
[node name="CollisionShape2D" type="CollisionShape2D" parent="BombArea" unique_id=963327610]
shape = SubResource("CircleShape2D_bomb")
debug_color = Color(0, 0.06808392, 0.70196074, 0.41960785)
debug_color = Color(0.29747584, 0.70196074, 0.6174988, 0.41960785)
[node name="CollectionArea" type="Area2D" parent="." unique_id=1088408959]
collision_layer = 0
@@ -103,7 +115,7 @@ monitoring = false
[node name="CollisionShape2D" type="CollisionShape2D" parent="CollectionArea" unique_id=1383974781]
shape = SubResource("CircleShape2D_collection")
debug_color = Color(0.38218734, 0.5838239, 0.70196074, 0.41960785)
debug_color = Color(0.70196074, 0.51966184, 0.5406604, 0.41960785)
[node name="SfxFuse" type="AudioStreamPlayer2D" parent="." unique_id=1095147141]
stream = ExtResource("3_fuse")
@@ -125,14 +137,14 @@ bus = &"Sfx"
[node name="FuseParticles" type="GPUParticles2D" parent="." unique_id=1234567890]
z_index = 2
position = Vector2(6, -5)
position = Vector2(6.44, -6.46)
amount = 32
lifetime = 0.3
randomness = 1.0
process_material = SubResource("ParticleProcessMaterial_fuse")
[node name="FuseLight" type="PointLight2D" parent="." unique_id=1286608618]
position = Vector2(6, -5)
position = Vector2(6.485, -6.335)
enabled = false
color = Color(1, 0.4, 0.1, 1)
energy = 0.8
@@ -143,3 +155,8 @@ enabled = false
color = Color(1, 0.6, 0.2, 1)
energy = 2.5
texture = SubResource("GradientTexture2D_explosion_light")
[node name="SfxDebrisFromParticles" type="AudioStreamPlayer2D" parent="." unique_id=1975206979]
stream = SubResource("AudioStreamRandomizer_tqihf")
attenuation = 1.7411015
panning_strength = 1.05