How do I get the crank indicator to disappear?
function playdate.update()
if (pd.isCrankDocked()) then
ui.crankIndicator:draw(0,0)
else
end
end
How do I get the crank indicator to disappear?
function playdate.update()
if (pd.isCrankDocked()) then
ui.crankIndicator:draw(0,0)
else
end
end
Since you aren't changing the screen while the crank is undocked, the last image when the crank was docked will remain on the screen until you change that part of the screen. Depending on how you're drawing in your game, you could use playdate.graphics.sprite.update, clear the screen when the crank is undocked, clear the screen and draw things each frame, etc.
That was it. Thank you.