LICK/main.lua
2021-11-27 20:56:29 +01:00

16 lines
304 B
Lua

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