3 releases
0.0.3 | Sep 29, 2023 |
---|---|
0.0.2 | Sep 26, 2023 |
0.0.1 | Sep 8, 2023 |
#1766 in Game dev
28KB
377 lines
Bevy Input Mapper Plugin
Simplify Bevy game development with the user-friendly Bevy Input Mapper Plugin.
Keywords
-
Action: An action represents a user input trigger, such as firing a weapon, looking up, jumping, strafing, and more.
-
Input: Input encompasses any user-activated or pressable input, including mouse movement, mouse buttons, gamepad analog sticks, and etc.
-
Binding: Establish a direct connection between specific user input (e.g., pressing the space key, clicking the left mouse button, etc.) and a corresponding gameplay action (e.g., firing, jumping).
-
Scenario Profile: A scenario profile is used to manage distinct bindings required for various actions, such as walking, driving, or fighting. It allows for customized input configurations in different gameplay scenarios.
Features
- Input Mapping
- Load bindings from files
- Supported Input Devices:
- Gamepad
- Keyboard
- Mouse
- Multiple scenario profiles
Installation & Usage
You can install the plugin via Cargo by adding it to your project's dependencies:
cargo add bevy_input_mapper
For practical examples and implementation details, refer to the examples directory in this repository.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Credits
This version of Bevy Input Mapper, merged after the refactoring branch, draws heavy inspiration from Kurinji.
Dependencies
~21–30MB
~475K SLoC