added seconds since start, tweaked wall jump, added wall friction and isSliding

This commit is contained in:
lustlion
2022-02-27 05:30:46 +01:00
parent e3a5ab0c42
commit 2b9f605a0a
3 changed files with 25 additions and 12 deletions

View File

@@ -8,7 +8,7 @@ function DebugUI()
love.graphics.print(light.pos.x,light.pos.x,light.pos.y+40)
end
love.graphics.print("fps: "..fps_current, 10*textScale, 0*textScale, 0, textScale)
love.graphics.print("time: ".. tostring(math.floor(100*game.secondsSinceStart)/100) .." fps: "..fps_current, 10*textScale, 0*textScale, 0, textScale)
love.graphics.print(--[["CPUtime: "..checkCPUTime("total")..", CPU: "..(math.floor(checkCPUTime("get")*10000)/100).."%,]] "memoryUsage: "..memoryUsage.."kB", 10*textScale, 20*textScale, 0, textScale)
love.graphics.setColor(1,1,1)