Skip to content

Repository files navigation

simple_gesture: Plugin API Docs

TypeLibrary
Corona Storesimple_gesture
Keywordssimple, gesture, touch, event, listener
See alsoSample code

Overview

The simple gesture plugin can be used in your Corona project. It enables you to enhance touch listeners on large objects, such as background images, to recognise simple gesture events, such as directional swipes.

Syntax

local simple_gesture = require "plugin.simple_gesture"

Functions

SDK

When you build using the Corona Simulator, the server automatically takes care of integrating the plugin into your project.

All you need to do is add an entry into a plugins table of your build.settings. The following is an example of a minimal build.settings file:

settings =
{
plugins =
{
-- key is the name passed to Lua's 'require()'
["plugin.simple_gesture"] =
{
-- required
publisherId = "com.pelagic-games",
},
}, }

Enterprise

If you have activated this plugin, you can download this plugin from the corresponding plugin page in the Corona Store.

Resources

Sample Code

You can access sample code here.

Support

More support is available from the Pelagic Games team:

Compatibility

PlatformSupported
iOSYes
AndroidYes
Android (GameStick)Yes
Android (Kindle)Yes
Android (NOOK)Yes
Android (Ouya)Yes
Mac AppYes
Win32 AppYes
Windows Phone 8Yes
Corona Simulator (Mac)Yes
Corona Simulator (Win)Yes

About

Corona SDK gesture plugin - enhancing touch listeners with support for gesture recognition

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages