PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

Surface

Hello!
I have question about surfaces. How can i create the random number of it? In other words, should i know the number of surfaces on the design (programming)stage?
You can create surfaces at any time as required, you don't have to create them all at the beginning of the application. For instance, you might want to create a temporary surface to draw on, then BLT the whole thing (or portions of) to the backbuffer.