PocketMatrix forums

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

Stupid question about surfaces :-)

what is the difference between surfaces and sprites. In most of the samples you use LoadSprite to make the background. Thanks for the info
A sprite is a collection of data that points to a surface that is later being used for the blit. The loadsprite, creates a sprite and also a surface that contains the graphic.

A surface is the actual graphic information. You can modify a surface.