Back to Browse

Unity Mega Man Tutorial - 05 Game & Sound Managers

1.8K views
Sep 6, 2020
1:19:26

This is the 5th video in the Unity Mega Man Tutorial series and marks the halfway point to the end of this volume. In this lesson we'll bring in game and sound managers. The Game Manager is responsible for tracking the player score, displaying on-screen messages, scene/level loading, and other tasks. The Sound Manager is responsible for playing the music and sounds for the game. Our player and enemies have their associated audio clips and call upon the Sound Manager to play them at the right time. Each manager is a singleton instance and are not destroyed when the scene reloads. This allows our score to be maintained and the music to continue playing (if we wanted) between reloads. TextMesh Pro is used for the on-screen score and messages so we learn a little bit about working with a font. Also to note that a minor code issue is fixed regarding the currentHealth variable in the Player and Enemy controllers along with addressing the missing freeze input and player lines I forgot to include in the last video. Source code for this project can be found on my GitHub: https://github.com/tonybhimani/unity-megaman-tutorials and you can see my other videos for the main project here: https://www.youtube.com/playlist?list=PLfKMG2CcLNaIRt-vDMszk6Oym_0gbPe4N Enjoy! Direct comments, suggestions, and questions to my new Discord server. https://discord.gg/4XEwwqaVf9

Download

0 formats

No download links available.

Unity Mega Man Tutorial - 05 Game & Sound Managers | NatokHD