The Tedious work of making the Video Settings


Work this week went very smoothly for my parts. Only a couple of issues occured that were quickly fixed. The longest thing I did that took way too long was setting up the video settings for the player. Because of how the video settings work, there are over 30 buttons in use for the video settings. Four buttons for overall preset video quality and three buttons per row for ten different settings for video quality. In the code, I had to seperatly make code for each button and have those functions bound to each button in the video settings screen. I also had to make sure the updated settings don't revert later so I had to add code to check each video setting on what is selected and update the buttons accordingly.

What did make this a bit more bareable was some useful shortcuts in Visual Studio which let me edit multiple lines at once and autofill for the code. In the screenshots, if you look at the vertical bar on the left side of the screenshots, you can get an idea of how much code I had to implement for each button.

Leave a comment

Log in with itch.io to leave a comment.