added more spell effects, fixed bomb effects, allow to pickup bomb...
This commit is contained in:
@@ -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
|
||||
|
||||
24
src/scenes/explosion_tile_particle.tscn
Normal file
24
src/scenes/explosion_tile_particle.tscn
Normal file
@@ -0,0 +1,24 @@
|
||||
[gd_scene format=3 uid="uid://explosion_tile_particle_1"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/explosion_tile_particle.gd" id="1_script"]
|
||||
[ext_resource type="Texture2D" uid="uid://c4ee36hr5f766" path="res://assets/gfx/RPG DUNGEON VOL 3.png" id="2_dungeon"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_1"]
|
||||
size = Vector2(7, 7)
|
||||
|
||||
[node name="ExplosionTileParticle" type="CharacterBody2D"]
|
||||
z_index = 17
|
||||
z_as_relative = false
|
||||
y_sort_enabled = true
|
||||
collision_layer = 0
|
||||
collision_mask = 64
|
||||
script = ExtResource("1_script")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(-3.5, -3.5)
|
||||
shape = SubResource("RectangleShape2D_1")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("2_dungeon")
|
||||
region_enabled = true
|
||||
region_rect = Rect2(0, 0, 8, 8)
|
||||
@@ -36,6 +36,7 @@
|
||||
[ext_resource type="AudioStream" uid="uid://d1ut5lnlch0k2" path="res://assets/audio/sfx/weapons/bow/bow_release3.mp3" id="32_jc3p3"]
|
||||
[ext_resource type="AudioStream" uid="uid://bvi00vbftbgc5" path="res://assets/audio/sfx/player/ultra_run/shinespark_start.wav" id="35_bj30b"]
|
||||
[ext_resource type="AudioStream" uid="uid://0xm3gyh8051h" path="res://assets/audio/sfx/wizard/incantations/indignation.mp3" id="36_jc3p3"]
|
||||
[ext_resource type="Texture2D" uid="uid://bf158atxi7ucy" path="res://assets/gfx/fx/shade_spell_effects.png" id="37_hax0n"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_wqfne"]
|
||||
colors = PackedColorArray(0, 0, 0, 1, 1, 0.13732082, 0.092538536, 1)
|
||||
@@ -293,6 +294,78 @@ random_pitch = 1.0630184
|
||||
streams_count = 1
|
||||
stream_0/stream = ExtResource("31_487ah")
|
||||
|
||||
[sub_resource type="Animation" id="Animation_t4otl"]
|
||||
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_j2b1d"]
|
||||
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_cs1tg"]
|
||||
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_hax0n"]
|
||||
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_2dvfe"]
|
||||
_data = {
|
||||
&"RESET": SubResource("Animation_t4otl"),
|
||||
&"fire_charging": SubResource("Animation_j2b1d"),
|
||||
&"fire_ready": SubResource("Animation_cs1tg"),
|
||||
&"idle": SubResource("Animation_hax0n")
|
||||
}
|
||||
|
||||
[node name="Player" type="CharacterBody2D" unique_id=937429705]
|
||||
collision_mask = 67
|
||||
motion_mode = 1
|
||||
@@ -493,3 +566,13 @@ volume_db = 5.729
|
||||
attenuation = 7.727487
|
||||
panning_strength = 1.04
|
||||
bus = &"Sfx"
|
||||
|
||||
[node name="IncantationSprite" type="Sprite2D" parent="." unique_id=1655944614]
|
||||
texture = ExtResource("37_hax0n")
|
||||
hframes = 105
|
||||
vframes = 79
|
||||
frame = 2037
|
||||
|
||||
[node name="AnimationIncantation" type="AnimationPlayer" parent="." unique_id=17658820]
|
||||
libraries/ = SubResource("AnimationLibrary_2dvfe")
|
||||
autoplay = &"idle"
|
||||
|
||||
@@ -1,28 +1,26 @@
|
||||
[gd_scene format=3 uid="uid://bvxp7yw8q1k2l"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/sword_slash.gd" id="1_sword"]
|
||||
[ext_resource type="Texture2D" uid="uid://hib38y541eog" path="res://assets/gfx/items_n_shit.png" id="2_texture"]
|
||||
[ext_resource type="Script" uid="uid://bqxbhjq2b4ram" path="res://scripts/sword_slash.gd" id="1_sword"]
|
||||
[ext_resource type="Texture2D" uid="uid://dkpritx47nd4m" path="res://assets/gfx/pickups/items_n_shit.png" id="2_e3omh"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_slash"]
|
||||
size = Vector2(120, 60)
|
||||
|
||||
[node name="SwordSlash" type="Node2D"]
|
||||
[node name="SwordSlash" type="Node2D" unique_id=1348241278]
|
||||
script = ExtResource("1_sword")
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
texture = ExtResource("2_texture")
|
||||
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1244548324]
|
||||
rotation = 3.14159
|
||||
scale = Vector2(3, 3)
|
||||
texture = ExtResource("2_e3omh")
|
||||
hframes = 20
|
||||
vframes = 14
|
||||
frame = 60
|
||||
region_enabled = false
|
||||
|
||||
[node name="Area2D" type="Area2D" parent="."]
|
||||
[node name="Area2D" type="Area2D" parent="." unique_id=1569887807]
|
||||
collision_layer = 4
|
||||
collision_mask = 3
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1035191880]
|
||||
position = Vector2(60, 0)
|
||||
shape = SubResource("RectangleShape2D_slash")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user