mirror of
https://github.com/usysrc/LICK.git
synced 2024-11-16 09:34:22 +00:00
17 lines
295 B
Lua
17 lines
295 B
Lua
lick = require "lick"
|
|
lick.reset = true
|
|
|
|
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.setColor(1,1,0)
|
|
love.graphics.circle("fill", 400+100*math.sin(circle.x), 300, 16,16)
|
|
end
|