Skip to main content

Versus Screen

Functions

getBossNamePNGFilePath

getBossNamePNGFilePath(bossID): string

Helper function to get the path to the name file that corresponds to the graphic shown on the versus screen for the particular boss.

For example, the file path for BossID.MONSTRO is "gfx/ui/boss/bossname_20.0_monstro.png".

Parameters

NameType
bossIDBossID

Returns

string

Defined in

packages/isaacscript-common/src/functions/versusScreen.ts:22


getBossPortraitPNGFilePath

getBossPortraitPNGFilePath(bossID): string

Helper function to get the path to the portrait file that corresponds to the graphic shown on the versus screen for the particular boss.

For example, the file path for BossID.MONSTRO is "gfx/ui/boss/portrait_20.0_monstro.png".

Parameters

NameType
bossIDBossID

Returns

string

Defined in

packages/isaacscript-common/src/functions/versusScreen.ts:33


getCharacterNamePNGFilePath

getCharacterNamePNGFilePath(character): string

Helper function to get the path to the name file that corresponds to the graphic shown on the versus screen for the particular character.

For example, the file path for PlayerType.ISAAC is "gfx/ui/boss/playername_01_isaac.png".

Parameters

NameType
characterPlayerType

Returns

string

Defined in

packages/isaacscript-common/src/functions/versusScreen.ts:44


getCharacterPortraitPNGFilePath

getCharacterPortraitPNGFilePath(character): string

Helper function to get the path to the portrait file that corresponds to the graphic shown on the versus screen for the particular character.

For example, the file path for PlayerType.ISAAC is "gfx/ui/boss/playerportrait_isaac.png".

Parameters

NameType
characterPlayerType

Returns

string

Defined in

packages/isaacscript-common/src/functions/versusScreen.ts:55