Making Audio Manager and Settings Window - Unity Indie Game Devlog #7
Hi! Welcome to 7th episode of indie game devlog of Mauze Adventure. This week I decided to keep working on the UI and finish one of the missing part of the main game scene. Settings window. Previously I've already written a settings controller which handles joystick sensitivity and the sound volume, but since the controls of the game changed this needed an upgrade too. I quickly duplicated the end screen window and changed it to contain some sliders for sound value, joystick sensitivity and swipe sensitivity. These were the main float values that I could think of. All these sliders were just dummies with no connection in the code at first, once I believed they looked good enough I started scripting them into the game. Since I did not have an audio manager I scripted it and focused on sensitivity of joystick and swipe. What I noticed in this case was that, since joystick was used for walking around and its sensitivity is based on the distance to click center, adding a sensitivity to it in a limited environment did not have a large impact in the feeling of the game. This might be subject to change when played on a large screen tablet but still, I don't think it is necessary at the point, so I decided to remove it. Next thing was to deal with the audio manager. At first I thought it would take time to get something proper done but I had a lot of fun working on this task so I didn't mind the time I spent on it at all. For now I decided to work with only a sound effects and a music mixer that should take care of the audio of the game. Both of these mixers are connected to a main mixer, and I will change the audio value from here. So there will not be two separate sliders for sfx and music volume. This decision I took upon my own experience on the mobile games, I always use master volume and think that unless your game is heavily based on sound or has too much audio going on there is no need to complicate things there. After audio manager changes, I was able to tie the sound slider to the game and decided to add inverting x and y axis of the swipe control to the settings as well. Adding couple of toggles and using them to negate the input value did the trick and it is very useful in my opinion. Thank you for watching. Please like the video and subscribe to the channel not to miss the next episode. 📌Follow me on Twitter: https://twitter.com/sgt3v 📌Join Devlog's Discord: https://discord.gg/ZGKTSg3gDj 📌Eugene's Twitter: https://twitter.com/cg___Eugene 📌Eugene's Artstation: https://www.artstation.com/frosty 📌Eugene's Instagram: https://www.instagram.com/sir__axe ⏲️ Timestamps: 00:00 Introduction 00:38 Last week 00:53 Settings Window 01:07 Deciding on Setting Items 02:25 Audio Manager 03:15 Making Audio Manager Optimized 03:53 Blending Audio 04:34 Toggles for Inverting Axes 05:08 Final Words #gamedev #indiedev #devlog #unity #madewithunity
Download
0 formatsNo download links available.