Skip to content

PelagicGames/plugins-simple_gesture-docs

Repository files navigation

simple_gesture: Plugin API Docs

 
Type Library
Corona Store simple_gesture
Keywords simple, gesture, touch, event, listener
See also Sample 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

Platform Supported
iOS Yes
Android Yes
Android (GameStick) Yes
Android (Kindle) Yes
Android (NOOK) Yes
Android (Ouya) Yes
Mac App Yes
Win32 App Yes
Windows Phone 8 Yes
Corona Simulator (Mac) Yes
Corona Simulator (Win) Yes

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages