Improving Accessibility in Unity Games – Part 1
Take your games to the next level with support for a range of accessibility options. Help deal with subtitles, color blindness, audio controls and more! By Mark Placzek.
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress, bookmark, personalise your learner profile and more!
Create accountAlready a member of Kodeco? Sign in
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress, bookmark, personalise your learner profile and more!
Create accountAlready a member of Kodeco? Sign in
Sign up/Sign in
With a free Kodeco account you can download source code, track your progress, bookmark, personalise your learner profile and more!
Create accountAlready a member of Kodeco? Sign in
Contents
Improving Accessibility in Unity Games – Part 1
45 mins
- Getting Started
- Trying Out Puzzley Dungeon
- Addressing Visual Impairment
- Substituting the Subtitles
- Adjusting the In-Game Text
- Setting Up Your New UI Elements
- Adding Your Font Changes to the Game’s Menus
- Changing the Font Styles in the Subtitles
- Adding an Outline to the Subtitles
- Setting Up a Separate Material for the Subtitles
- Standardizing Your Outlines
- Implementing the Outlines
- Adaptations for Color Vision Impairment
- Making a Color-Based Puzzle More Accessible
- Putting Your Requirements to Work
- Addressing Hearing Impairments
- Adding Closed Captions
- Adding Scripts to Noisy GameObjects
- Attaching the Descriptions to the Audio Sources
- Adding Directional Closed Captions
- Adding Subtitles to Sounds
- Determining Where the Sound Is
- Volume Controls
- Audio Puzzle Considerations
- Where to Go From Here?
Audio Puzzle Considerations
In this tutorial, you created closed captions and added further detail to indicate the direction and distance of the sound. Additionally, you tinkered with Unity's Audio Mixer to see how you can bring more important sounds to the foreground.
The final puzzle in Puzzley Dungeon relies on hearing the notes of the tiles. This is an example of a puzzle that would be a considerable problem for someone with hearing impairment. You solved this issue using the closed captions, but there are several alternative design changes that you could have used to remedy this.
For example, you could change the notations carved on the wall into numbers. Alternatively, you could have your player match symbols on the gems with symbols on the tiles.
There's more than one way to design for disability. Find the one that doesn't feel out of place or break the immersion of the game. Sometimes, you may just need to get creative.
Where to Go From Here?
Congratulations on completing Part 1 of this two-part tutorial!
You can download the completed Part 1 project using the Download Materials button at the top or bottom of this tutorial.
In this part, you worked through improvements concerning sight and hearing impairment. You took the game's subtitles to the next level with adjustable sizes, fonts, and closed captions. You also addressed complications regarding color and sound in the puzzles and boosted your audio with independent control of different sound FX.
In Part 2 of this series, you'll learn about further improvements for players with motor- and cognitive disabilities. You'll learn about adjusting keybindings, control sensitivity and keyboard navigation. You'll also implement a clue system and other quality-of-life changes.
If you have any questions or comments, please leave them below. See you in Part 2!