matty wrote:I'm curious if there is a list of differences that break LOVE filesn (I'm assuming differences from v0.5 to v0.6.x)? It is a bit frustrating trying to pick this up and look at samples from other users when 99% of them seem to either fail with an error or just come up with a black screen!
matty wrote:I've run this script (hand-holder.lua) on several programs, and other than finding game.conf and telling me it should be conf.lua, it doesn't find even simple things, like having love.filesystem.require() instead of just require().
matty wrote:Running against the game "NO", which works fine in v0.6.1, the script throws all sorts of errors. It is all quite confusing!
main.lua:11: change require'lua/button.lua' to require'lua.button'
main.lua:12: change require'lua/states.lua' to require'lua.states'bigFont = love.graphics.newFont(72) -- Default font, 72ptanjo wrote:Also, if you just need the default font at size 12, you don't even need to explicitly create a font - LÖVE will create that font automatically the first time it's needed.
love.graphics.print = function (...)
if not love.graphics.getFont() then
love.graphics.setFont(love._vera_ttf, 12)
end
love.graphics.print1(...)
love.graphics.print = love.graphics.print1
endmatty wrote:Any ideas?
Return to Support and Development
Users browsing this forum: No registered users and 1 guest