This file contains 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
--Project: Codea Community | |
--Version: beta 1.2 | |
--Comments: working in piano | |
-- Piano | |
-- Use this function to perform your initial setup |
This file contains 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
function setup() | |
displayMode(FULLSCREEN) | |
tiras = 13 | |
chanels = 10 | |
piano = {} | |
touches = {} | |
estrellas = {} | |
toques = false | |
var = 0 |
This file contains 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
displayMode(FULLSCREEN) | |
function setup() | |
xc=WIDTH/2 | |
yc=HEIGHT/2 | |
tiempo = 0 |
This file contains 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
--------------------------------- | |
--Sound class | |
--clase importada | |
--------------------------------- | |
Sound = class() | |
function Sound:init() |
This file contains 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
-------------------------------------------- | |
Buttons = class() | |
function Buttons:init(x,y,txt,funct,Mode,l,h) | |
self.x = x | |
self.y = y |
This file contains 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
-------------------------------------------- | |
Buttons = class() | |
function Buttons:init(x,y,txt,funct,Mode,l,h) | |
self.x = x | |
self.y = y |
NewerOlder