Check out our latest project ✨ OpenChapter.io: free ebooks the way it was meant to be 📖

GWJ Accessibility Scripts

An asset by Maaack
The page banner background of a mountain and forest
GWJ Accessibility Scripts hero image

Quick Information

0 ratings
GWJ Accessibility Scripts icon image
Maaack
GWJ Accessibility Scripts

Scripts for managing accessibility and persistent settings.Created by the Godot Wild Jam community.

Supported Engine Version
4.0
Version String
0.1.0
License Version
MIT
Support Level
community
Modified Date
4 days ago
Git URL
Issue URL

Godot Engine Accessibility Scripts

This repo is a culmination of the accessibility scripts created and provided by members of the Godot and Godot Wild Jam communities. For more information on what's needed, please check the Roadmap

These guidelines were inspired by the Game Accessibility Guidelines website: https://gameaccessibilityguidelines.com/full-list/

Usage

Copy the contents of src/options into a folder in your project. Then, instantiate the custom nodes into an option menu scene.

Volume Sliders

For example, we could create a new scene for our menu with a root Control node. Then we could drag the volume_slider.tscn from the FileSystem dock to the Control node in the Scene dock.

Alternatively, one can instantiate an HSlider or VSlider and then attach the volume_slider.gd script to the node.

After that, clicking on the new volume slider will open up its editable properties in the Inspector dock. Update these settings to the targetted audio bus for that volume slider.

Setting Sliders

The setting slider is similar to the volume slider. However, these sliders only set the setting's value in the config file. It is up to the developer to apply the user's desired settings in the application.

Clicking on a slider will open up its editable properties in the Inspector dock. Update these settings to add a section and key name to your setting. Anything will do, and some examples are provided.

Rebindable Actions

The rebindlable_action.tscn works similarly, in that it will create a button, and have settings to bind it to a particular input action.

[!NOTE]
The examples are bound to Godot's built-in ui* actions by default, but it is recommended to create your own custom input actions to rebind, first.

Similarly, instantiating a Button and attaching the rebindable_action.gd script to the node will get a similar outcome.

After that, clicking on the new button will open up its editable properties in the Inspector dock. Update the action name to the one intended for rebinding.

[!WARNING]
These buttons only allow one input per action. They are not recommended to use for rebinding the built-in ui* actions.

Scripts for managing accessibility and persistent settings.

Created by the Godot Wild Jam community.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
GWJ Accessibility Scripts icon image
Maaack
GWJ Accessibility Scripts

Scripts for managing accessibility and persistent settings.Created by the Godot Wild Jam community.

Supported Engine Version
4.0
Version String
0.1.0
License Version
MIT
Support Level
community
Modified Date
4 days ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers