Introducing… Input plus!
A compact module for handling sequential input(s) easily and supporting holding input(s).
Why Input plus?
Have you ever wanted to handle sequential inputs such as combos for double jumping,dashing and weapons or holding inputs? Well, Input plus could help you with that with making your code clean and performant. Input plus is very easy to use and supports any amount of keybinds.
Features
Sequence
- A sequence of keybinds with delay specified (if delay is nil, no delay is included)- Any amount of keybinds can be put in the sequence.
- Events to indicate starting of sequence, ending of sequence and pressing of the keybinds
- Feature to cancel the current input or reset the sequence. (Commonly used when gameProcessedEvent is true)
Hold
- Any amount of keybinds can be put in the holding list.- Events to indicate starting of holding,ending of holding and holding of specific keybinds
- Feature to cancel the current input.(Commonly used when gameProcessedEvent is true)
Get the module here : Input plus+
Thanks to my friend @LegendaryElix3r for the “TypeDefinitions” module
Github : https://github.com/IBgreat1/Input-Plus
Docs : API | Input-Plus
Code examples and source code is in the github.
Examples :
-
Holding examples script can be found in github :
Hold E - 1
Hold E - 2 -
Sequence examples script can be found in github:
Double jump
Up coming : Support for Mobile (If module gets enough attention)