init project with sprite and bare l5 for mockup
This commit is contained in:
commit
1dee952026
4 changed files with 3956 additions and 0 deletions
19
l5-mockup/main.lua
Normal file
19
l5-mockup/main.lua
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
require("L5")
|
||||
|
||||
function setup()
|
||||
size(400, 400)
|
||||
|
||||
-- Set the program title
|
||||
windowTitle("Basic sketch")
|
||||
|
||||
-- Sets print command output to display in window
|
||||
printToScreen()
|
||||
|
||||
describe('Draws a yellow background')
|
||||
end
|
||||
|
||||
function draw()
|
||||
-- Fills the background with the color yellow
|
||||
background(255, 215, 0)
|
||||
end
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue