Inputs2.lua

Download Latest Version

Inputs2 is a small library which makes it easier to override the player's input. It is not fully backwards compatable with Inputs, but it doesn't take much effort to update old code.

Installation
Save the above file as inputs2.lua and drop it in the LuaScriptsLib folder.

How to use
To use this api, add this to your lunadll.lua or lunaworld.lua:

Example
This will replace spin jumping with a boomerang, but only for player 1. Player 2 will function normally.