This repository has been archived by the owner on Dec 16, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Add conf.lua support #3
Comments
Can you include some examples? |
|
Hmm, I'm not entire sure how we could fix that. Do you have any ideas? |
A new small library specially for that. Because changing 't' to 'glove' is not very convenient. |
you could make a file called function love.conf (t)
t.screen.fullscreen = true
t = require("gloveconf")(t) --Althought the "return t" part could be ommited
end The code for return function (t)
t.window.title = t.title or "Unnamed"
t.window.fullscreen = t.screen.fullscreen or false
...
return t --As said before this part could be ommited
end Or it could be part of require "glove"
love.conf = function (t)
...
glove.conf(t)
end |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
There are a lot of love.conf(t) function features renamed or simply missing in 0.8.0 if comparing to 0.9.0
Request some feature support for them. For renamed ones at least.
P.S. I'll see what I myself can do, of course.
The text was updated successfully, but these errors were encountered: