local module = {} --local skyScroll = {} function module.onCreate(song) love.graphics.setDefaultFilter("nearest", "nearest", 0) --I wanted to try setting the aspect ratio to 1:1 but immediately --realised the game fights you if you try to do that. --blame playstate.lua? --[[if love.graphics:getWidth() ~= 720 then love.window.setMode(720, 720) end]] --I wanted to do this so I could do the scrolling BG thing but FUCK ME i guess --I'm not kidding enabling this just fucking removes the sky sprite and idk why --for i = 1, 3 do local sky = Sprite("sprites/secretStageOne/bgstars.png", "sprites/secretStageOne/bgstars.xml") sky.modifier = 0 sky:Resize(8) sky:PlayAnimation("bgstars flash", 6, true) --sky.position = Vector2(-3000 + (i * 3000), 200) sky.position = Vector2(0, 200) sky.layer = -12 --- i --skyScroll[i] = sky --end local animBg = Sprite("sprites/secretStageOne/buildings_papu.png", "sprites/secretStageOne/buildings_papu.xml") animBg.layer = -11 animBg.position = Vector2(100, 325) animBg.modifier = 0 animBg:Resize(8) animBg:PlayAnimation("buildings papu color", 1, true) local somaPlat = Image("images/secretStageOne/somari_stag1.png") somaPlat.modifier = 0 somaPlat.layer = -10 somaPlat.resize = Vector2(8, 8) somaPlat.position = Vector2(100, 325) local pikaPlat = Image("images/secretStageOne/platform.png") pikaPlat.layer = -9 pikaPlat.position = Vector2(1200, 875) pikaPlat.resize = Vector2(8, 8) pikaPlat.modifier = 0 end return module