Code: Select all
if key == 'escape' then
local f = love.event.quit or love.event.push
f("q")
end
Code: Select all
if key == 'escape' then
local f = love.event.quit or love.event.push
f("q")
end
Thanks! I've updated love-loader to 1.1.0. This new version is able to load imageData and soundData, and is forward-compatible with LÖVE 0.8.x.bartbes wrote:<Awesome feedback>
Code: Select all
function Entity:initialize()
-- load image
-- set properties
end
Code: Select all
function Entity:initialize()
loader.newImage(... function()
-- set properties
end)
end
Code: Select all
currentState.start(media, finishCallback)
Code: Select all
currentState.start(media, loadingFinished)
Users browsing this forum: No registered users and 1 guest