Uploaded November 2023 | Updated September 2026, 2 weeks ago
In this Unity Tutorial video you will learn play random footstep sounds suitable for the type of terrain the player character is walking on triggered by animation events. We will use ScriptableObjects to configure the various footstep sounds and to introduce variability in pitch and volume. We will also see how we can add reverb when the player walks inside a medieval church.
00:00:00 - Intro
00:00:31 - Footstep Sounds Pack
00:01:34 - Asset Store Sales
00:02:09 - Footstep Player Script
00:04:05 - Footsteps Audio Mixer Group
00:05:02 - Ways to trigger footstep sound
00:06:14 - Animation Events
00:14:35 - AudioEvent Scriptable Object
00:20:21 - Testing random footstep sounds
00:23:41 - Audio Event Editor
00:39:28 - Creating Audio Events for different surfaces
00:41:26 - Footstep Event Resolver
00:47:45 - Footstep Terrain Mapper
00:50:18 - Modify FootstepPlayer to use resolver
00:57:45 - Add reverb when inside the church
Unity Asset Store Black Friday Sale
assetstore.unity.com/?on_sale=true&orderBy=1&rows=96&aid=1100lzsEu
Daily Flash Deals
assetstore.unity.com/?flashdeals=true&aid=1100lzsEu
If you're interested in purchasing any of the assets I'm using in this tutorial you can find them here:
PBR Graveyard and Nature Set
assetstore.unity.com/packages/3d/environments/fantasy/pbr-graveyard-and-nature-set-2-0-58915?aid=1100lzsEu
Goblin Character Fantasy RPG
assetstore.unity.com/packages/3d/characters/creatures/goblin-character-fantasy-rpg-fantasy-rpg-166272?aid=1100lzsEu
Minotaur Character Pack - Fantasy RPG
assetstore.unity.com/packages/3d/characters/creatures/minotaur-character-pack-fantasy-rpg-144238?aid=1100lzsEu
Gargoyles - Fantasy RPG
assetstore.unity.com/packages/3d/characters/creatures/gargoyles-fantasy-rpg-37416?aid=1100lzsEu
Devils - Fantasy RPG
assetstore.unity.com/packages/3d/characters/humanoids/fantasy/devils-fantasy-rpg-72390?aid=1100lzsEu
4k Full Fantasy GUI
assetstore.unity.com/packages/2d/gui/4k-full-fantasy-gui-over-400-png-samples-116891?aid=1100lzsEu
Basic Motions animations pack
assetstore.unity.com/packages/3d/animations/basic-motions-157744?aid=1100lzsEu
RPG Cameras & Controllers
assetstore.unity.com/packages/tools/camera/rpg-cameras-controllers-145324?aid=1100lzsEu
Total Music Collection
assetstore.unity.com/packages/audio/music/orchestral/total-music-collection-89126?aid=1100lzsEu
My newly released Highland Panic game is available on Steam (currently on sale for 50% off)
store.steampowered.com/app/2391990/Highland_Panic/?beta=0
And for the iPhone & iPad on the Apple App Store
apps.apple.com/us/app/highland-panic/id6448181825
And for Android on Google Play
play.google.com/store/apps/details?id=com.midniteoilsoftware.highlandpanic
My Links:
My itch.io site: midniteoilsoftware.itch.io
Twitter: twitter.com/SoftwareOil
Discord: discord.gg/wrdqXPtw9y
facebook.com/groups/347087173378560
In case you'd like to show your support by buying me a coffee:
ko-fi.com/gregorybradburn
If you'd like to offer any suggestions or comments or have any questions join my Discord and post them there:
discord.gg/wrdqXPtw9y
In case you'd like to show your support by buying me a coffee:
ko-fi.com/gregorybradburn
Grab my free Object Pool Manager from the Unity Asset Store
assetstore.unity.com/packages/tools/utilities/object-pool-manager-227215?aid=1100lzsEu
#unitytutorial #refactoring #scriptableobjects #unity2d #unity3d #music #soundeffects #sfx #indiegamedev #indiedev #indiegames #audiomixergroup #soundeffects #animationevents
In this Unity Tutorial video you will learn play random footstep sounds suitable for the type of terrain the player character is walking on triggered by animation events. We will use ScriptableObjects to configure the various footstep sounds and to introduce variability in pitch and volume. We will also see how we can add reverb when the player walks inside a medieval church.
00:00:00 - Intro
00:00:31 - Footstep Sounds Pack
00:01:34 - Asset Store Sales
00:02:09 - Footstep Player Script
00:04:05 - Footsteps Audio Mixer Group
00:05:02 - Ways to trigger footstep sound
00:06:14 - Animation Events
00:14:35 - AudioEvent Scriptable Object
00:20:21 - Testing random footstep sounds
00:23:41 - Audio Event Editor
00:39:28 - Creating Audio Events for different surfaces
00:41:26 - Footstep Event Resolver
00:47:45 - Footstep Terrain Mapper
00:50:18 - Modify FootstepPlayer to use resolver
00:57:45 - Add reverb when inside the church
Unity Asset Store Black Friday Sale
assetstore.unity.com/?on_sale=true&orderBy=1&rows=96&aid=1100lzsEu
Daily Flash Deals
assetstore.unity.com/?flashdeals=true&aid=1100lzsEu
If you're interested in purchasing any of the assets I'm using in this tutorial you can find them here:
PBR Graveyard and Nature Set
assetstore.unity.com/packages/3d/environments/fantasy/pbr-graveyard-and-nature-set-2-0-58915?aid=1100lzsEu
Goblin Character Fantasy RPG
assetstore.unity.com/packages/3d/characters/creatures/goblin-character-fantasy-rpg-fantasy-rpg-166272?aid=1100lzsEu
Minotaur Character Pack - Fantasy RPG
assetstore.unity.com/packages/3d/characters/creatures/minotaur-character-pack-fantasy-rpg-144238?aid=1100lzsEu
Gargoyles - Fantasy RPG
assetstore.unity.com/packages/3d/characters/creatures/gargoyles-fantasy-rpg-37416?aid=1100lzsEu
Devils - Fantasy RPG
assetstore.unity.com/packages/3d/characters/humanoids/fantasy/devils-fantasy-rpg-72390?aid=1100lzsEu
4k Full Fantasy GUI
assetstore.unity.com/packages/2d/gui/4k-full-fantasy-gui-over-400-png-samples-116891?aid=1100lzsEu
Basic Motions animations pack
assetstore.unity.com/packages/3d/animations/basic-motions-157744?aid=1100lzsEu
RPG Cameras & Controllers
assetstore.unity.com/packages/tools/camera/rpg-cameras-controllers-145324?aid=1100lzsEu
Total Music Collection
assetstore.unity.com/packages/audio/music/orchestral/total-music-collection-89126?aid=1100lzsEu
My newly released Highland Panic game is available on Steam (currently on sale for 50% off)
store.steampowered.com/app/2391990/Highland_Panic/?beta=0
And for the iPhone & iPad on the Apple App Store
apps.apple.com/us/app/highland-panic/id6448181825
And for Android on Google Play
play.google.com/store/apps/details?id=com.midniteoilsoftware.highlandpanic
My Links:
My itch.io site: midniteoilsoftware.itch.io
Twitter: twitter.com/SoftwareOil
Discord: discord.gg/wrdqXPtw9y
facebook.com/groups/347087173378560
In case you'd like to show your support by buying me a coffee:
ko-fi.com/gregorybradburn
If you'd like to offer any suggestions or comments or have any questions join my Discord and post them there:
discord.gg/wrdqXPtw9y
In case you'd like to show your support by buying me a coffee:
ko-fi.com/gregorybradburn
Grab my free Object Pool Manager from the Unity Asset Store
assetstore.unity.com/packages/tools/utilities/object-pool-manager-227215?aid=1100lzsEu
#unitytutorial #refactoring #scriptableobjects #unity2d #unity3d #music #soundeffects #sfx #indiegamedev #indiedev #indiegames #audiomixergroup #soundeffects #animationevents





Project Architecture Diagram:
[https://github.com/Midnite-Oil-Software-L-L-C/Architecture-Diagrams/blob/main/Space-War.md](https://github.com/Midnite-Oil-Software-L-L-C/Architecture-Diagrams/blob/main/Space-War.md)
Project Source Code:
https://github.com/Midnite-Oil-Software-L-L-C/space-war-tutorial
Play the Game on itch.io:
[https://midniteoilsoftware.itch.io/space-war](https://midniteoilsoftware.itch.io/space-war)
ASSETS USED IN THIS TUTORIAL
Unity Tutorial Assets (GitHub):
[https://github.com/Midnite-Oil-Software-L-L-C/Unity-Tutorial-Assets](https://github.com/Midnite-Oil-Software-L-L-C/Unity-Tutorial-Assets)
2D Space Kit (Unity Asset Store):
[https://assetstore.unity.com/packages/2d/environments/2d-space-kit-27662](https://assetstore.unity.com/packages/2d/environments/2d-space-kit-27662)
Free Laser Weapons (Unity Asset Store):
[https://assetstore.unity.com/packages/audio/sound-fx/weapons/free-laser-weapons-214929](https://assetstore.unity.com/packages/audio/sound-fx/weapons/free-laser-weapons-214929)
Free Fonts:
[https://www.1001freefonts.com/](https://www.1001freefonts.com/)
VIDEO CHAPTERS
00:00:00 - Intro
00:01:06 - Installing Packages
00:05:27 - Multiplayer Play Mode (MPPM)
00:07:02 - Architecture Overview
00:12:05 - Import Space War Assets
00:13:31 - Configure Space War Assets
00:15:13 - Main Menu
00:24:48 - Space War Scene
00:36:56 - IDestroyable Interface
00:39:23 - SpaceWar Game Manager
00:43:36 - ScreenWrapper Component
00:45:41 - SpaceWar Player Prefab
00:46:28 - Fighter Prefab
00:50:41 - Add Required Scripts
00:51:40 - Fighter Script
00:57:13 - PlayerProjectile Script
00:59:27 - GravityWell and Attractable Scripts
01:03:20 - Projectile Prefab
01:06:06 - Add Fighter Script to SpaceWar Player Prefab
01:06:32 - Assign Projectile Prefab to Player
01:06:42 - Add Fighter_1 Prefab to Player
01:07:27 - Explosion Prefab
01:08:49 - Add Space Background to Space War Scene
01:09:59 - Create Black Hole
01:11:51 - Additional Fighter Prefabs
01:14:59 - Assign Prefabs to SpaceWar Player
01:15:32 - Update Assignments in NetworkManager
01:16:45 - Initialization and CleanUp Scripts
01:20:09 - SpaceWar Game UI
01:24:15 - Time Remaining Text
01:25:32 - Initial Test
01:26:43 - Debug SpaceWarGameManager Error
01:28:13 - Debug Player Visibility Issue
01:32:32 - Fixed Explosion Bug
01:36:08 - UI and Sound Effects
01:39:10 - Test UI and Sound Effects
01:40:37 - Debugging Gravity Well on Client
01:44:20 - Adding Some Log Messages
01:48:01 - Fixing Gravity Well on Client
01:50:03 - WebGL Config
01:53:42 - WebGL Build
01:54:17 - Deploy to itch.io
01:57:15 - Outro
CONNECT WITH ME
Subscribe for more Unity tutorials: [https://www.youtube.com/@midniteoilsoftware](https://www.youtube.com/@midniteoilsoftware)
Support me by buying me a coffee: [https://ko-fi.com/gregorybradburn](https://ko-fi.com/gregorybradburn)
My Web Site: [http://midniteoilsoftware.com/](http://midniteoilsoftware.com/)
My itch.io Site: [https://midniteoilsoftware.itch.io/](https://midniteoilsoftware.itch.io/)
Twitter: [https://twitter.com/SoftwareOil](https://twitter.com/SoftwareOil)
Good Luck On Your Multiplayer Game Development Journey! 🎮🚀
#madewithunity #unitytutorial #unity2d #multiplayer #netcodeforgameobjects #unitygamingservices #tutorials #indiegamedev #indiedev Lets Create a Multiplayer Space War Game in Unity](https://i.ytimg.com/vi/bsU2W6_B9to/mqdefault.jpg)





