Love:Mike: cleaned up formatting

This commit is contained in:
2017-08-10 10:59:40 -07:00
parent ea0bf0a56c
commit 23bbad4f2b
4 changed files with 12 additions and 31 deletions

View File

@@ -18,7 +18,6 @@ function love.keyreleased(key)
-- Load
elseif key == LOAD_KEY then
save_exists = love.filesystem.exists(SAVE_FILE)
if save_exists then
@@ -47,11 +46,9 @@ function check_keys(object, screen, dt)
if love.keyboard.isDown(MOVE_RIGHT) then
newObject.x = newObject.x + half_speed(newObject.speed * dt)
end
if love.keyboard.isDown(MOVE_LEFT) then
newObject.x = newObject.x - half_speed(newObject.speed * dt)
end
if screen_col_detect(newObject, screen) then
return newObject
else