-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug fixes, framerate cap mode #1
Conversation
window.lua
Outdated
local fileInfo = love.filesystem.getInfo(WINDOW_FILE) | ||
if fileInfo then | ||
local contents = love.filesystem.read(WINDOW_FILE) | ||
local windowArr = String.split(contents, ',') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably won't need to trim given no-one in their right mind would modify this. But you could if someone is outside of their mind.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's coded into my brain now.
window.lua
Outdated
local x = windowArr[1] | ||
local y = windowArr[2] | ||
local display = windowArr[3] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oob check? or just fail? not sure if it could fail gracefully if someone did faff with the file.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe they'd be nil
, which would probably work with the setWindow function? Like it would use some default instead?
F7
) that sets a maximum framerate of 120fps and a delta timestemp of 15ms.tick
library