Sorry for necro, but I'd really like if someone could expand on this:
How do i programmatically create a sprite that 1) Is fully transparent (no black background) 2) I can draw shapes/text/images on?
What I want to do is to be able to create any "drawable overlay" in my game: Like rendered Game-GUI and design-time grid etc. I want it to work with "screen".
NOTE: I've managed to work around the issue, by creating a large png-picture file, fullt transparent, load it as a sprite, and then do draw operations on this sprite, but this is not very convenient. (And for some reason CopySprite() does not work, so I have to reload the image every time(!) I want to redraw something on the sprite)