Crates.io | bevy_input_prompts |
lib.rs | bevy_input_prompts |
version | 0.2.2 |
created_at | 2025-04-05 01:21:22.876316+00 |
updated_at | 2025-05-13 07:12:12.948698+00 |
description | Mappings from bevy input types to popular input prompt asset paths |
homepage | https://github.com/jonathandw743/bevy_input_prompts |
repository | https://github.com/jonathandw743/bevy_input_prompts |
max_upload_size | |
id | 1621235 |
size | 292,747 |
Mappings from bevy input types to popular input prompt asset paths along with all extra options for prompts in included packs.
Bevy Version | Plugin Version |
---|---|
0.16 | 0.2 |
(GamepadButton::South, GamepadBrand::XboxSeries).file_path_extra(Pack::Kenney, &[_color, _outline])
There is one feature flag for each pack. For example, use cargo add bevy_input_prompts --features kenney_input_prompts
.
Make sure to call the copy_assets
function in your build.rs
for example:
// build.rs
fn main() {
bevy_input_prompts::copy_assets();
}
And (for example) use cargo add bevy_input_prompts --build --features kenney_input_prompts
.
This copies input prompt assets into your assets
directory if they don't exist (don't worry, nothing will get overwritten).
Plug in your input device and run some examples.
If there are any issues, for example a lot of ERROR bevy_asset::server: Path not found
being logged, open an issue. (Unfortunately, I don't have every input device.)
If you want to add your own prompt pack or want to fix a mapping issue, open a pull request!
These are some specific things that I can't do myself:
Key
and KeyboardInput
not KeyCode
).