Amos Professional Manual  Contents  Index

Updating Objects


Displaying objects over a changing background
When objects need to be displayed against a rapidly changing background picture, other problems can occur. The most important thing to understand is that although they can hold the same images, Sprites and Bobs are completely different from one another. The following tables set out these differences.

Sprites

Bobs

This has far reaching implications for your programming, and is the crucial reason for the entire DOUBLE BUFFER system. It is the complete independence of Sprites that make them so useful.

AMOS Professional allows you to use Bobs with animated screens, and the next section explains how screens are updated to permit this.

The update process
This explanation of the Bob movement system is very detailed. If you are not interested in the theory, then the BOB CLEAR and BOB DRAW commands are explained later in this Chapter, and will be enough to allow you to proceed.

The updating of single buffered screens will now be examined. Supposing you want to display a single Witter Object on the screen. The following steps need to be undertaken:

Back    Next
07.03.02