Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Wait, Attacks Make Noise?

Jesus Silva

2/16/24

The Issue of the Week

This week, I took a short break from making more weapons and general content for this sprint. Instead, I decided to focus on refining my already created work, and to begin I decided to start with the Hammer and its attack animations. Animations were a tedious process in and of themselves, however, the big issue came with implementing audio into the animations at precise moments for the attacks. I had thought of doing it originally to make a lot of unnecessary and extra functions on the Hammer class with the sole purpose of playing audio at specific points without too much trouble. However, luckily for me, I found a much easier solution for my predicament that simplified and shortened my workload by a large margin. 


The Solution

As it turns out, there is a system in the animation window of Unreal called notifications. The notification system works to let you do things at precise points of animation, even letting you get as specific to an individual frame. Using this system, already had a built-in notification that automatically played an audio file when it was activated. This specific system is what allowed me to have my sound effects play precisely how I wanted them to for our hammer's attack animations.

Support this post

Did you like this post? Tell us

Leave a comment

Log in with your itch.io account to leave a comment.