Key Prompt Texture

by TechnoPorg

5

Key Prompt Texture

Key Prompt Texture Demo

This addon allows showing a different texture depending on the currently connected controller through the KeyPromptTexture class.

Key Prompt Configuration:

Editing controller_name_mappings.json allows one to change how devices are mapped to the textures displayed.
The textures themselves can be found and changed under res://addons/key_prompt_texture/textures.
Details can also be found in the class documentation for KeyPromptTexture.

Localization:

Different button prompts can be shown in different locales by using Godot's asset remapping tool on the base key prompt images.

As an example use case, if a key prompt texture needed to contain the written word "Menu", it would be necessary to display a different texture for every game locale. See the asset remaps in the demo project for an example of how this might be done.

Key Prompt Texture Demo

Credits:

Ships by default with Xelu's Free Controller Prompts (CC0).

License:

This project is available under the MIT License.

Version

1.0

Engine

4.1

Category

2D Tools

Download

Version1.0
Download Now

Support

If you need help or have questions about this plugin, please contact the author.

Contact Author