I've seen examples on how to load sprites or sprite pages from a .bmp file, but I haven't seen an example of making a simple sprite in code.
Does anybody know of an example where the sprite image is created in the code itself, instead of loading a graphics file? For what I'm working on at the moment I only need say a 3x3 sprite, which would be a waist to have to load it from a .bmp file.