Rocket-Bytes/Source/Cutscenes.lua
2022-07-16 19:37:12 -06:00

23 lines
No EOL
561 B
Lua

local gfx <const> = playdate.graphics
local imgBigRocket = gfx.image.new("gfx/bigrocket")
local tabBigRocket = gfx.imagetable.new("gfx/bigrocketfire")
assert(imgBigRocket)
assert(tabBigRocket)
local animBigRocket = gfx.animation.loop.new(200,tabBigRocket)
local sprCutsceneBigRocket = gfx.sprite.new(tabBigRocket[1])
sprCutsceneBigRocket:setRotation(90)
sprCutsceneBigRocket:moveTo(0 - sprCutsceneBigRocket.height,120)
function beginStartCutscene()
mode = "startCutscene"
end
function updateStartCutscene()
gfx.clear()
gfx.sprite.update()
end