Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function love.load()
- bell = love.graphics.newImage("Files/Bell.png")
- love.graphics.setBackgroundColor(50,50,150)
- end
- function move()
- mx = 0
- my = 0
- while true do
- mx = mx + 1
- my = my + 1
- cox = mx
- coy = my
- love.timer.sleep(1000)
- end
- end
- function love.draw()
- love.graphics.draw(bell,cox,coy)
- move()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement