I'm trying to have my game be white on black and am using a tilemap that only covers a part of the screen. This currently has the issue of the rest of the screen being white. If I were to clear the screen with black every frame I'd need to also redraw the tilemap each frame. My current best idea is to just make an all black sprite and put that at the back of the z-index but that feels like a bodge. I see
playdate.graphics.setBackgroundColor but that seems to not work as there are no sprites on screen.
Edit: never mind, I'm daft. basically I just needed to do gfx.clear before each time I draw the tilemap.