Wave of item effects and implementation
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
[gd_scene load_steps=26 format=3 uid="uid://brgi35xj3b4ud"]
|
||||
[gd_scene load_steps=27 format=3 uid="uid://brgi35xj3b4ud"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://cw100tox0ufsy" path="res://src/audio/SfxDatabase.cs" id="1_ojkqd"]
|
||||
[ext_resource type="AudioStream" uid="uid://cye8wlqbx66h4" path="res://src/audio/sfx/player_heal.ogg" id="2_158j8"]
|
||||
@@ -9,6 +9,7 @@
|
||||
[ext_resource type="AudioStream" uid="uid://c817txm4tmup7" path="res://src/audio/sfx/PLAYER_EQUIP.ogg" id="7_sew62"]
|
||||
[ext_resource type="AudioStream" uid="uid://qxi7qto7hhgk" path="res://src/audio/sfx/PLAYER_UNEQUIP.ogg" id="8_rf1la"]
|
||||
[ext_resource type="AudioStream" uid="uid://doeefxilh0luj" path="res://src/audio/sfx/ITEM_SORT.ogg" id="9_l6w22"]
|
||||
[ext_resource type="AudioStream" uid="uid://cyae4bt60m7p4" path="res://src/audio/sfx/item_plasma_sword.ogg" id="10_7th20"]
|
||||
[ext_resource type="AudioStream" uid="uid://4mk4hlse81if" path="res://src/audio/sfx/player_losehealth.ogg" id="10_kac56"]
|
||||
[ext_resource type="AudioStream" uid="uid://dwp3ep3jddvrr" path="res://src/audio/sfx/UI_SELECT.ogg" id="10_nerso"]
|
||||
[ext_resource type="AudioStream" uid="uid://ilf2s8ct2stt" path="res://src/audio/sfx/PLAYER_slower_slash.ogg" id="10_vyvit"]
|
||||
@@ -74,6 +75,11 @@ unique_name_in_owner = true
|
||||
stream = ExtResource("13_fa8i8")
|
||||
bus = &"SFX"
|
||||
|
||||
[node name="WeaponPlasmaSword" type="AudioStreamPlayer" parent="Player"]
|
||||
unique_name_in_owner = true
|
||||
stream = ExtResource("10_7th20")
|
||||
bus = &"SFX"
|
||||
|
||||
[node name="WeaponSlowSlashSound" type="AudioStreamPlayer" parent="Player"]
|
||||
unique_name_in_owner = true
|
||||
stream = ExtResource("10_vyvit")
|
||||
|
||||
@@ -44,6 +44,7 @@ public partial class SfxDatabase : Node
|
||||
{SoundEffect.TurnAllEnemiesIntoHealingItems, TurnAllEnemiesIntoHealingItemsSound},
|
||||
{SoundEffect.WeaponQuickSlash, WeaponQuickSlashSound },
|
||||
{SoundEffect.WeaponSlowSlash, WeaponSlowSlashSound },
|
||||
{SoundEffect.WeaponPlasmaSword, WeaponPlasmaSword },
|
||||
};
|
||||
}
|
||||
|
||||
@@ -55,6 +56,7 @@ public partial class SfxDatabase : Node
|
||||
[Node] private AudioStreamPlayer DecreaseStatSound { get; set; } = default!;
|
||||
[Node] private AudioStreamPlayer WeaponQuickSlashSound { get; set; } = default!;
|
||||
[Node] private AudioStreamPlayer WeaponSlowSlashSound { get; set; } = default!;
|
||||
[Node] private AudioStreamPlayer WeaponPlasmaSword { get; set; } = default!;
|
||||
[Node] private AudioStreamPlayer CritSound { get; set; } = default!;
|
||||
[Node] private AudioStreamPlayer PickupItemSound { get; set; } = default!;
|
||||
[Node] private AudioStreamPlayer OpenInventorySound { get; set; }
|
||||
@@ -111,5 +113,6 @@ public enum SoundEffect
|
||||
TurnAllEnemiesIntoHealingItems,
|
||||
WeaponQuickSlash,
|
||||
WeaponSlowSlash,
|
||||
WeaponPlasmaSword
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user