Skip to content

Instantly share code, notes, and snippets.

--Project: Codea Community
--Version: beta 1.2
--Comments: working in piano
-- Piano
-- Use this function to perform your initial setup
function setup()
displayMode(FULLSCREEN)
tiras = 13
chanels = 10
piano = {}
touches = {}
estrellas = {}
toques = false
var = 0
displayMode(FULLSCREEN)
function setup()
xc=WIDTH/2
yc=HEIGHT/2
tiempo = 0
@CodeaLuis
CodeaLuis / gist:6745793
Created September 28, 2013 19:45
Sounds
---------------------------------
--Sound class
--clase importada 
---------------------------------
Sound = class()
function Sound:init()
@CodeaLuis
CodeaLuis / gist:6707708
Created September 25, 2013 23:33
stuff
--------------------------------------------
Buttons = class()
function Buttons:init(x,y,txt,funct,Mode,l,h)
self.x = x
self.y = y
@CodeaLuis
CodeaLuis / gist:6707611
Created September 25, 2013 23:21
TOUCHPLAY
--------------------------------------------
Buttons = class()
function Buttons:init(x,y,txt,funct,Mode,l,h)
self.x = x
self.y = y