Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/britzl/defold-input

Simplify input related operations such as gesture detection, input mapping and clicking/dragging game objects
https://github.com/britzl/defold-input

defold defold-library

Last synced: about 18 hours ago
JSON representation

Simplify input related operations such as gesture detection, input mapping and clicking/dragging game objects

Awesome Lists containing this project

README

        

![](logo.jpeg)

[![Build Status](https://travis-ci.org/britzl/defold-input.svg?branch=master)](https://travis-ci.org/britzl/defold-input)

# 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.

* [Accelerometer](in/accelerometer.md)
* [Gesture](in/gesture.md)
* [Mapper](in/mapper.md)
* [Cursor](in/cursor.md)
* [State](in/state.md)
* [Button](in/button.md)
* [On screen virtual controls](in/onscreen.md)

## Setup
You can use the extension in your own project by adding this project as a [Defold library dependency](http://www.defold.com/manuals/libraries/). 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](https://github.com/britzl/defold-input/releases).

## 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](https://github.com/britzl/gooey).