Created
April 20, 2019 17:38
-
-
Save codebykeoma/1e4cfcf17ad2a88fd5ad4cab2222fc76 to your computer and use it in GitHub Desktop.
Revisions
-
code by keoma created this gist
Apr 20, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ function love.load() x = 100 y = 100 width = 200 height = 150 speed = 75 end function love.draw() love.graphics.rectangle("line", x, y, width, height) end function love.update(dt) print(dt) x = x + (speed * dt) end