Skip to main content

Fade In Remover

Hierarchy

  • Feature

    FadeInRemover

Methods

removeFadeIn

removeFadeIn(): void

Removes the fade-in that occurs at the beginning of a run. If this behavior is desired, call this function once at the beginning of your mod.

This is useful for debugging, when you are resetting the game often.

You can restore the vanilla behavior with the restoreFadeIn function.

In order to use this function, you must upgrade your mod with ISCFeature.FADE_IN_REMOVER.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/FadeInRemover.ts:44


restoreFadeIn

restoreFadeIn(): void

Disables the fade-in remover. Only useful if you have previously called the removeFadeIn function.

In order to use this function, you must upgrade your mod with ISCFeature.FADE_IN_REMOVER.

Returns

void

Defined in

packages/isaacscript-common/src/classes/features/other/FadeInRemover.ts:57