Page 30
colour regardless of the grid, and therefore appears to be opaque and in front of the
grid.
If colours 192-256 were set to a slightly lighter shade than 0-63, then the graphic
would appear to be transparent to the grid, but opaque to the names and scores.
Many special effects can be achieved by manually setting the palette in this way.
Special effects can vary for an object from frame to frame, for example an object
can move in and out of the grid. This is achieved by changing the colour in which
the object is drawn from frame to frame. For example, colour 1 and 2 could be
blue, but colours 65,66 (1 or 2 + 64),129,130(1 or 2 + 128), 193,194 (1 or 2 + 192)
may be set differently to provide different special effects for colours 1 and 2. By
changing an object between colours 1 and 2 in different frames, the special effect
will vary, but the object will still appear as a blue object.
Note that there are four colours over which the graphic has no control, these are
colours 0,64,128, and 192. These colours are set by the scorer when the graphic is
displayed, and represent the colours that the score grid will appear in when
overlaid by the background (colour 0) of the graphic. This is done so that the grid
does not change colour when the graphic is displayed.
When creating a graphic for use with a score grid, ensure that none of the colours
used will disappear when displayed with any of the background colours used by
the scorer. Note that the grid colours change with different league games on Touch
Score, and are different again for open play.
5.4
Inserted Name
When a graphic is displayed, the name of the current player (who has just bowled)
can be inserted into the graphic. This is very useful for
Casino Bowl
and
Pick -a-Player
graphics, as well as general purpose graphics such as a strike
graphic.
The name will appear in large text, as used for
Large Text Grids
and
Full Page
messages. The name will be centred in a 16 character space, each character being
16 pixels wide by 32 pixels high. Thus the name will occupy a space 256 pixels
wide by 32 pixels high.
The position of the name is determined by the uppermost and left most position of
a pixel o f colour 128 or higher. Thus the graphic must be drawn in colours 0 to 127
only. As only the upper left most point is known, animated sequences may have the
name moving in or out of the right side of the screen (but not the left) and up or
down over the bottom of the screen (but not the top) .