Versus Screen
Functions
Section titled “Functions”getBossNamePNGFilePath()
Section titled “getBossNamePNGFilePath()”getBossNamePNGFilePath(
bossID):string
Defined in: packages/isaacscript-common/src/functions/versusScreen.ts:22
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
Section titled “Parameters”bossID
Section titled “bossID”BossID
Returns
Section titled “Returns”string
getBossPortraitPNGFilePath()
Section titled “getBossPortraitPNGFilePath()”getBossPortraitPNGFilePath(
bossID):string
Defined in: packages/isaacscript-common/src/functions/versusScreen.ts:33
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
Section titled “Parameters”bossID
Section titled “bossID”BossID
Returns
Section titled “Returns”string
getCharacterNamePNGFilePath()
Section titled “getCharacterNamePNGFilePath()”getCharacterNamePNGFilePath(
character):string
Defined in: packages/isaacscript-common/src/functions/versusScreen.ts:44
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
Section titled “Parameters”character
Section titled “character”PlayerType
Returns
Section titled “Returns”string
getCharacterPortraitPNGFilePath()
Section titled “getCharacterPortraitPNGFilePath()”getCharacterPortraitPNGFilePath(
character):string
Defined in: packages/isaacscript-common/src/functions/versusScreen.ts:55
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
Section titled “Parameters”character
Section titled “character”PlayerType
Returns
Section titled “Returns”string
