|
Code rewritten for Codea (Thanks, Duncan!)
local bgcolor = color(255, 255, 255) -- White background color
-- Other local variables (avoid globals in setup())
function draw()
background(bgcolor) -- Clear the screen
...
end
I have to agree with Duncan that most people on this list probably can't help you with extern libraries like Codea, but also remember that the most important skill for a programmer is to be able to use Google :)
Most of the functions you need can probably be found here: http://twolivesleft.com/Codea/Reference/
- Jonne