Generate sprites via code
BlitzMax Forums/BlitzMax Beginners Area/Generate sprites via code| 
 | ||
| In Blitzplus I would create most of sprites at startup by use of Createimage(), Imagebuffer(), and then the drawing and text comands.   What is the equivalant approach in BlitzMax? | 
| 
 | ||
| create an image of the desired size with CreateImage draw your stuff to the backbuffer/screen as usual. grab the backbuffer/screen with GrabImage. Last edited 2012 | 
| 
 | ||
| That seems to be the way to go, Thanks. | 
| 
 | ||
| Or create a pix map in main memory and write to it with pointers or WritePixel and then turn it into an image. | 
| 
 | ||
| Text and draw comands don't work on Pixmap correct?  So that's not really option for me. |