ShadowMode

Last Modified: 12/31/2020

Enables or disables shadow/highlight mode.

Arguments

NameTypeRequiredDescription
State Integer Yes Tells the program to turn on or off shadow/highlight mode. Valid modes are ShadowOn and ShadowOff

Example

Syntax: ShadowMode <State>
    Print "Hello World"
    Sleep 60
    ShadowMode ShadowOn

Remarks

When shadow/highlight mode is enabled, tiles and sprites with a low priority will be darkened, and those with high priority will appear normal. The exception to the rule is with palette 3 and sprites. Palette 3, color index 14 will shadow the pixel beneath it and color index 15 will highlight the pixel beneath it. This only applies to planes only.

Color index 14 on palettes 0, 1, and 2 will appear normal. Sprites can't highlight or shadow other sprites.

See Also

Priority()