requires tserial module, minor set up for serizlation
This commit is contained in:
parent
cd2e0d862a
commit
7fa31726f4
3 changed files with 20 additions and 6 deletions
5
main.lua
5
main.lua
|
|
@ -1,6 +1,5 @@
|
|||
love.graphics.setDefaultFilter("linear", "nearest")
|
||||
|
||||
|
||||
class = require "libs/middleclass"
|
||||
Timer = require "libs/hump/timer"
|
||||
sfxr = require "libs/sfxrlua/sfxr"
|
||||
|
|
@ -33,8 +32,8 @@ function love.load()
|
|||
end
|
||||
|
||||
function love.update(dt)
|
||||
Input:handler()
|
||||
currentRoom:update()
|
||||
Input:handler(dt)
|
||||
currentRoom:update(dt)
|
||||
|
||||
if love.keyboard.isDown("w") then worldSha = worldSha + 1 end
|
||||
if love.keyboard.isDown("s") then worldSha = worldSha - 1 end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue