Skip to main content

CustomStageShadow

A description of a custom stage shadow. (In this context, "shadows" are the outlines from things on the roof. For example, in Basement, a shadow of a sideways V is used, among others.)

Properties

pngPath

pngPath: string

The full path to the shadow overlay PNG file.

For an example of a vanilla shadow overlay, see: resources/gfx/overlays/basement/1x1_overlay_1.png

Defined in

packages/isaacscript-common/src/interfaces/CustomStageTSConfig.ts:473


color

Optional color: Object

Optional. An object representing the color used for the shadow.

If not specified, an object of { r: 0, g: 0, b: 0, a: 0.25 } will be used (which corresponds to 75% faded black).

Type declaration

NameTypeDescription
rnumberMinimum 0 Maximum 1
gnumberMinimum 0 Maximum 1
bnumberMinimum 0 Maximum 1
anumberMinimum 0 Maximum 1

Defined in

packages/isaacscript-common/src/interfaces/CustomStageTSConfig.ts:481