britzl / defold-input

Simplify input related operations such as gesture detection, input mapping and clicking/dragging game objects
MIT License
111 stars 26 forks source link
defold defold-library

Build Status

Defold-Input

Defold-Input contains a number of different Lua modules and scripts to simplify input related operations such as gestures detection, user configurable key bindings, input state handling and dragging/clicking game objects.

Setup

You can use the extension in your own project by adding this project as a Defold library dependency. Open your game.project file and in the dependencies field under project add:

https://github.com/britzl/defold-input/archive/master.zip

Or point to the ZIP file of a specific release.

Try HTML5 Demo

You can try an HTML5 demo of Defold-Input here: https://britzl.github.io/Defold-Input/

Gooey

For a complete and easily skinnable UI system that supports buttons, checkboxes, input fields and lists please take a look at Gooey.