Skip to content

Commit

Permalink
🔨 Add sound effect for steam hammer
Browse files Browse the repository at this point in the history
  • Loading branch information
tomrijnbeek committed Nov 27, 2023
1 parent 1673216 commit 3fb03aa
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@

namespace Bearded.TD.Game.Simulation.Physics;

[Trigger("collidedWithLevel")]
readonly record struct CollideWithLevel(Impact Info, Tile Tile) : IComponentEvent;
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
{
id: "playSoundOnTrigger",
parameters: {
trigger: "shotProjectile",
sound: "bang-deep",
trigger: "collidedWithLevel",
sound: "hit-metal",
},
},
{
Expand Down
5 changes: 5 additions & 0 deletions src/Bearded.TD/assets/mods/default/sfx/shots/hit-metal.json5
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
id: "hit-metal",
gain: 0.7,
pitchRange: [0.95, 1.05],
}
Binary file not shown.

0 comments on commit 3fb03aa

Please sign in to comment.