MATTE
Class:
Levelobj.oad
Type:
definition object
Background rendered behind scene.
Note that Matte object is required, and there can be only one for level.
- Matte Type
- None There is no background image associated with this level. This is only used if the player will never see the background (envoronment in entirely enclosed).
- Color The background is a single color. Use the Color options below to select which color will be used.
- Image A single 16bit .bmp or .tga image.
- Color These values are only used when Color is selected as the Matte Type (see above).
- Background Color Use the color picker (\xFE) to select the color that will be used.
- Debug Background Color Use the color picker (\xFE) to select the color that will be used. The debug color allows the designer to set a color that will maximize his ability to search the running level for errors. White might be good to make sure ceilings and floors are aligned properly, for example.
- Image Specification These values are only used when Image is selected as the Matte Type (see above).
- Image This is the filename of the image file. (16 bit .bmp or .tga)
- X rotation scale Used for creating parallax effects. This value is a percentage of relative speed to the camera in the X Direction.
Using negative numbers creates reverse movement effects.
-
- Y rotation scale Used for creating parallax effects. This value is a percentage of relative speed to the camera in the X Direction. Using negative numbers creates reverse movement effects.
Example
The Devious Designer has created a level he's calling Space Race. In order to make it look right he wants a night sky full of stars and planets. That's where the matte object comes in.
-
- Matte Type He'll set this to image, since he'll want the stars loaded as an image.
- Color
Since he won't be using a color this time out he won't need to use these functions. Hey may want to set the Color | Debug Background Color value in case he needs to use it to check the level later.
-
- Image Specification
- Image The image the Devious Designer is using is called space.tga, and he puts that value in here.
- X rotation scale
- Y rotation scale The background needs to appear very far away, so this value will be set pretty low. He'll start out by setting both values to 10. He can always go back and change them later if it the background doesn't look quite right.