diff --git a/main.lua b/main.lua new file mode 100644 index 0000000..67ec071 --- /dev/null +++ b/main.lua @@ -0,0 +1,15 @@ +lick = require "lick" +lick.reset = true -- reload the love.load everytime you save + +function love.load() + circle = {} + circle.x = 1 +end + +function love.update(dt) + circle.x = circle.x + dt*5 +end + +function love.draw(dt) + love.graphics.circle("fill", 400+100*math.sin(circle.x), 300, 16,16) +end