2022-10-13 16:06:52 +02:00
|
|
|
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"},
|
2022-10-13 18:18:27 +02:00
|
|
|
{lily.newImage, "assets/captains/john-danger.png"},
|
|
|
|
{lily.newImage, "assets/ships/blackstar-5.png"},
|
|
|
|
{lily.newImage, "assets/ships/excalibur-iv.png"},
|
2022-10-13 19:34:18 +02:00
|
|
|
{lily.newImage, "assets/ships/decorator.png"},
|
2022-10-13 20:59:14 +02:00
|
|
|
{lily.newImage, "assets/ships/particle.png"},
|
2022-10-14 11:33:20 +02:00
|
|
|
{lily.newImage, "assets/particle.png"},
|
2022-10-15 17:39:32 +02:00
|
|
|
{lily.newImage, "assets/tiles/gf.png"},
|
2022-10-15 23:10:57 +02:00
|
|
|
{lily.newImage, "assets/explosion.png"},
|
2022-10-15 23:31:47 +02:00
|
|
|
{lily.newImage, "assets/weapons/bullet.png"},
|
|
|
|
{lily.newImage, "assets/gameover.png"},
|
2022-10-13 16:06:52 +02:00
|
|
|
})
|
|
|
|
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]
|
2022-10-13 18:18:27 +02:00
|
|
|
CaptainSteve.ship.image = lilies[7][1]
|
|
|
|
CaptainRobert.ship.image = lilies[8][1]
|
|
|
|
CaptainJohn.ship.image = lilies[9][1]
|
2022-10-13 19:34:18 +02:00
|
|
|
boosterParticle = lilies[10][1]
|
2022-10-14 11:33:20 +02:00
|
|
|
titleParticle = lilies[11][1]
|
|
|
|
tileGroundFull = lilies[12][1]
|
2022-10-15 17:39:32 +02:00
|
|
|
explosionParticle = lilies[13][1]
|
2022-10-15 23:10:57 +02:00
|
|
|
bulletShot = lilies[14][1]
|
2022-10-15 23:31:47 +02:00
|
|
|
gameoverLogo = lilies[15][1]
|
2022-10-13 20:59:14 +02:00
|
|
|
|
2022-10-13 16:06:52 +02:00
|
|
|
windowWidth = love.graphics.getWidth()
|
|
|
|
windowHeight = love.graphics.getHeight()
|
|
|
|
|
|
|
|
TitleScene:init()
|
|
|
|
currentScene = TitleScene
|
|
|
|
end)
|