This is McFAIL, my public library abstracting virtual buttons around verge's native buttons. It provides a simple interface for reconfiguring your input for keyboards or gamepads, and provides constant press, button unpress, and button repating functionality ( ie, hold down a button, and every x ticks it fires another 'i was just pressed' event)
Future plans include a keypress history and functions to analyse them (did he just hit a quarter-circle left? Is he hitting the keys in time with the DDR arrows?), and a full keyboard input abstraction (for adding skinnable textareas and text inputs to your game).
There are no comments about this file yet. Post the first?
Gallery tools |