Skip to content

Commit

Permalink
add profiling, remove old network states, better gc
Browse files Browse the repository at this point in the history
  • Loading branch information
parameterized committed Oct 6, 2018
1 parent 8a2b62b commit 7f99a2f
Show file tree
Hide file tree
Showing 7 changed files with 1,181 additions and 9 deletions.
1 change: 1 addition & 0 deletions client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ function client.update(dt)
while client.states[client.stateIdx+1] and client.states[client.stateIdx+2]
and client.states[client.stateIdx+1].time < client.stateTime do
client.stateIdx = client.stateIdx + 1
client.states[client.stateIdx-1] = false
end
local t = (client.stateTime - client.states[client.stateIdx].time)
/ (client.states[client.stateIdx+1].time - client.states[client.stateIdx].time)
Expand Down
1 change: 1 addition & 0 deletions conf.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@

function love.conf(t)
t.title = 'Tier'
t.identity = t.title
t.window.width = 480*3
t.window.height = 270*3
t.window.resizable = true
Expand Down
Loading

0 comments on commit 7f99a2f

Please sign in to comment.