What is a Sprite:

Wikipedia suggests that a Sprite is a class of preternatural legendary creatures commonly associated with elves, fairies, pixies, and spirits. Of course this is not what is meant when Programmers are discussing them in most cases.
fairy.jpg

Within the realm of Liberty Basic programming we are referring to a two-dimensional pre-rendered graphics figure, usually containing some transparency. Liberty Basic implements sprites using Windows GDI function calls that allow manipulation of graphics with masked areas using an XOR bit copy. This is not critical to understand in order to use Sprites, but may help explain their operation if you wish to dig deeper into this area.
Create a Sprite:


Read the entire Liberty BASIC Helpfile section on Sprites. It explains what sprites are, how they work, and how to use them. There are plenty of pictures.

Next, check out the articles in the Liberty BASIC Newsletter that pertain to sprites. Download the archives to get all of the images needed to run the demonstration programs.

http://groups.yahoo.com/group/lbnews/
http://babek.info/libertybasicfiles/lbnews/

Beginning Game Programming by Richard Ryles
This series can be found in the following issues:
  • 109
  • 110
  • 111
  • 118

Sprite Bytes by Alyce Watson
This series can be found in the following issues:
  • 119
  • 120
  • 121
  • 122
  • 124
  • 125
  • 126
  • 128
  • 129
  • 132
  • 133
  • 134
  • 137

You can use Game Workshop to create a skeleton for your game. The standalone version is available here:
It is also part of Liberty BASIC Workshop, available here:


Add your favorite sprite resources!