dfSetBackground?

I’m using dfNewBitmapSet and dfSetBackground to load a background from an xml file. I then pass the returned object, from dfSetBackground, as the region to NewSprite.

It makes sense that the background is huge and gets swapped in and out of video memory as other backgrounds are swapped in. But, is this the most optimized way of drawing a background?

Reading a different section of the document, it is recommended to manually draw the background to allow the alpha functionality to be disabled.

Note also that the dfSetBackground method assumes the backgrounds are files. If you have several scenes in your game, you should consider downloading these backgrounds from the internet to the tmp filesystem before using these methods.

–Kevin