JOIN JAM ๐ https://bit.ly/coco-code-gamejam-2
๐ Support Coco Code! https://patreon.com/cococode
This tutorial/guide will show you how to build a full Options section in Godotโincluding a music volume slider, a fullscreen toggle, and a 3D rendering-scale dropdownโby handling input from sliders, toggle buttons, and menus.
๐ LINKS:
Used music: https://www.youtube.com/watch?v=c5hUGaYFL1M
Multiple resolutions: https://docs.godotengine.org/en/stable/tutorials/rendering/multiple_resolutions.html
Resolution scaling: https://docs.godotengine.org/en/stable/tutorials/3d/resolution_scaling.html
๐จโ๐ป SOCIALS:
๐ Join our Discord: https://discord.gg/hNnZRnqf4s
๐ต Follow me on Twitter: https://twitter.com/cococodeyt
๐ YOU WILL LEARN:
- How to create settings in Godot game engine
- How to toggle between your main menu and a centered Options panel
- How to set up and control an Audio bus via a HorizontalSlider
- How to convert linear slider values to decibels with Godotโs linear_to_db()
- How to implement a fullscreen/windowed mode CheckButton
- How to add an OptionMenu to adjust 3D rendering scale
- Best practices for signals, scene layout, and default state initialization
โ๏ธ VIDEO CHAPTERS:
0:00 - Intro
0:26 - Coco Code GameJam #2
0:50 - Options panel
5:30 - Volume slider
14:23 - Full screen toggle
18:06 - Scaling settings