22 lines
707 B
Lua
22 lines
707 B
Lua
|
multilily = lily.loadMulti({
|
||
|
{lily.newImage, "assets/logo.png"},
|
||
|
{lily.newSoundData, "assets/intro.ogg"},
|
||
|
{lily.newImage, "assets/hud.png"},
|
||
|
{lily.newImage, "assets/captains/steve-layer.png"},
|
||
|
{lily.newImage, "assets/captains/robert-davis.png"},
|
||
|
{lily.newImage, "assets/captains/john-danger.png"}
|
||
|
})
|
||
|
multilily:onComplete(function(_, lilies)
|
||
|
gameLogo = lilies[1][1]
|
||
|
introSound = love.audio.newSource( lilies[2][1] )
|
||
|
gameHud = lilies[3][1]
|
||
|
CaptainSteve.image = lilies[4][1]
|
||
|
CaptainRobert.image = lilies[5][1]
|
||
|
CaptainJohn.image = lilies[6][1]
|
||
|
|
||
|
windowWidth = love.graphics.getWidth()
|
||
|
windowHeight = love.graphics.getHeight()
|
||
|
|
||
|
TitleScene:init()
|
||
|
currentScene = TitleScene
|
||
|
end)
|