This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | |
-- a simple Lua/Corona joystick module based on Rob Miracle's code: | |
-- http://forums.coronalabs.com/topic/32941-virtual-joystick-module-for-games/ | |
-- simplified some of the code, removing some nice-ities, but it still works | |
local Joystick = {} | |
function Joystick.new( innerRadius, outerRadius ) | |
local stage = display.getCurrentStage() | |