Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
Quick Information
Easily implement Key/Button prompts to your game!For installation instructions, visit the github page: https://github.com/CliveDev0413/key-prompts-system-godot
Key prompts system for Godot
Implement key/button prompts into Godot easily. This system currently supports key prompts for:
- Keyboard and mouse
- PS4 controller
- Xbox One controller
Xbox One controller prompts will be used for controllers that are unsupported.
You can also download this from the Itch.io page.
By the way. I didn't make these key/button prompt textures. I got them from here. If you want to help add more key/button prompts to this project, you can also get key/button prompts from there.
Tutorial
I will now teach you how to implement the key prompt system
For the GDScript version
- To the side of this Github page, you should see the releases. Download the latest release.
- Unzip the file, open it, and drag and drop the
Key Prompts System GDScript
folder into your game. Make sure it isn't inside any other folders. - Inside the
Key Prompts System GDScript
folder, you will see a file namedKeyPrompt.tscn
. Drag it into your level/scene. - Resize it if you want
- Click on it and set the action variable.
The action variable is supposed to be set to the name of the action you want the prompt to show. For example, the jump
action which uses the space bar or the x/a button on a controller
- After setting the action variable, go to the exporting section to know about what to do when exporting your game.
For the C# verison
- Follow the steps of the GDScript version but instead of using
Key Prompts System GDScript
folder, use theKey Prompts System CSharp
folder.
Now you have to install the Newtonsoft Json.Net Nuget Package. If you're using Visual Studio Community, just use the Nuget Package Manager. If you're using Visual Studio Code, just use this Nuget Package extension or look for another one.
When exporting
Add *.json
to the resources tab
Questions you would probably ask
Q. How do I customize the look of the prompts?
Well.. The best and easiest way I could think of is if you just draw or add images on top of the key prompt sprite sheet that you want to customize. If you want to make an entirely different sprite sheet, you gotta edit the json files located in the ButtonPromptTextures
folder.
Q. Will you add more controller prompts?
Im not sure. I only have a PS4 controller...
Q. What will my dinner be...
Idk, what do you like?
Licensing
The key/button prompt system is free for commercial and personal projects. You can also remix and edit the code for your personal uses.
Donations
If you would like to donate, you can donate to my Kofi.
Easily implement Key/Button prompts to your game!
For installation instructions, visit the github page: https://github.com/CliveDev0413/key-prompts-system-godot
Reviews
Quick Information
Easily implement Key/Button prompts to your game!For installation instructions, visit the github page: https://github.com/CliveDev0413/key-prompts-system-godot