Sprites
183
Ink definitions
The following definitions describe all available ink types.
Copy
displays all the original colors in a sprite. All colors, including white, are opaque unless the
image contains alpha channel effects (transparency). Copy is the default ink and is useful for
backgrounds or for sprites that do not appear in front of other artwork. If the cast member is not
rectangular, a white box appears around the sprite when it passes in front of another sprite or
appears on a nonwhite background. Sprites with the Copy ink animate faster than sprites
with any other ink.
Matte
removes the white bounding rectangle around a sprite. Artwork within the boundaries is
opaque. Matte functions much like the Lasso tool in the Paint window in that the artwork is
outlined rather than enclosed in a rectangle. Matte, like Mask, uses more RAM than the other
inks, and sprites with this ink animate more slowly than other sprites.
Background Transparent
makes all the pixels in the background color of the selected sprite appear
transparent and permits the background to be seen.
Transparent
makes all light colors transparent so you can see lighter objects beneath the sprite.
Reverse
reverses overlapping colors. When applied to the foreground sprite, where colors overlap,
the upper color changes to the chromatic opposite (based on the color palette currently in use) of
the color beneath it. Pixels that were originally white become transparent and let the background
show through unchanged. Reverse is good for creating custom masks.
Ghost
, like Reverse, reverses overlapping colors, except nonoverlapping colors are transparent.
The sprite is not visible unless it is overlapping another sprite.
Not Copy
reverses all the colors in an image to create a chromatic negative of the original.
Not Transparent, Not Reverse
, and
Not Ghost
are all variations of other effects. The foreground
image is first reversed, then the Copy, Transparent, Reverse, or Ghost ink is applied. These inks
are good for creating odd effects.
Mask
determines the exact transparent or opaque parts of a sprite. For Mask ink to work, you
must place a mask cast member in the Cast window position immediately following the cast
member to be masked. The black areas of the mask make the sprite opaque, and white areas are
transparent. Colors between black and white are more or less transparent; darker colors are more
opaque. See “Using Mask ink to create transparency effects” on page 181.
Blend
ensures that the sprite uses the color blend percentage that is specified on the Sprite tab in
the Property inspector. See “Setting blends” on page 180.
Darkest
compares RGB pixel colors in the foreground and background and uses the darkest
pixel color.
Lightest
compares RGB pixel colors in the foreground and background and uses the lightest
pixel color.
Add
creates a new color that is the result of adding the RGB color value of the foreground sprite
to the color value of the background sprite. If the value of the two colors exceeds the maximum
RGB color value (255), Director subtracts 256 from the remaining value so the result is between
0 and 255.
Add Pin
is similar to Add. The foreground sprite's RGB color value is added to the background
sprite's RGB color value, but the color value is not allowed to exceed 255. If the value of the new
color exceeds 255, the value is reduced to 255.
Содержание DIRECTOR MX-USING DIRECTOR MX
Страница 1: ...Using Director MX Macromedia Director MX...
Страница 12: ...Contents 12...
Страница 156: ...Chapter 4 156...
Страница 202: ...Chapter 6 202...
Страница 244: ...Chapter 7 244...
Страница 292: ...Chapter 10 292...
Страница 330: ...Chapter 12 330...
Страница 356: ...Chapter 13 356...
Страница 372: ...Chapter 14 372...
Страница 442: ...Chapter 16 442...
Страница 472: ...Chapter 18 472...
Страница 520: ...Chapter 19 520...
Страница 536: ...Chapter 20 536...
Страница 562: ...Chapter 23 562...
Страница 566: ...Chapter 24 566...
Страница 602: ...Chapter 27 602...