User Guide
Chapter 384
Examples
This statement changes the color of the characters in cast member 1 to the color in palette
entry 250.
Dot syntax:
member(1).backColor = 250
Verbose Lingo syntax:
set the backColor of member 1 to 250
The following statement sets the variable oldColor to the background color of sprite 5:
oldColor = sprite (5).backColor
The following statement randomly changes the background color of a random sprite between
sprites 11 and 13 to color number 36:
sprite(10 + random(3)).backColor = 36
See also
bgColor, color (sprite and cast member property)
backdrop
Syntax
sprite(whichSprite).camera{(index)}.backdrop[index].loc
member(whichCastmember).camera(whichCamera).backdrop[index].loc
sprite(whichSprite).camera{(index)}.backdrop[index].source
member(whichCastmember).camera(whichCamera).backdrop[index].source
sprite(whichSprite).camera{(index)}.backdrop[index].scale
member(whichCastmember).camera(whichCamera).backdrop[index].scale
sprite(whichSprite).camera{(index)}.backdrop[index].rotation
member(whichCastmember).camera(whichCamera).\
backdrop[index].rotation
sprite(whichSprite).camera{(index)}.backdrop[index].regPoint
member(whichCastmember).camera(whichCamera).\
backdrop[index].regPoint
sprite(whichSprite).camera{(index)}.backdrop[index].blend
member(whichCastmember).camera(whichCamera).backdrop[index].blend
sprite(whichSprite).camera{(index)}.backdrop.count
member(whichCastmember).camera(whichCamera).backdrop.count
Description
3D camera property; a 2D image that is rendered on the camera’s projection plane. All models in
the camera’s view appear in front of the backdrop.
Backdrops have the following properties:
Note: These properties can also be used to get, set, and manipulate overlays. See the individual property entries for
detailed information.
loc (backdrop and overlay) indicates the 2D location of the backdrop, as measured from the upper
left corner of the sprite.
source indicates the texture used by the backdrop.
scale (backdrop and overlay) is the number by which the height and width of the texture are
multiplied to determine the dimensions of the backdrop.
rotation (backdrop and overlay) is the amount by which the backdrop is rotated about its regPoint.