Skip to main content

RoomTransitionAnim

Enumeration Members

WALK

WALK = 0

Mostly from using doors.

Will play the correct walk animation regardless of the direction you use, as long as the direction is in the same axis as the room you are traveling to.

For example, if the room is on the left, it will play the correct animation whether you use Direction.LEFT or Direction.RIGHT. If you use the wrong direction, it will just fade to the next room (not fade to black, just fade). If you use Direction.NO_DIRECTION, it will perform a fade to black.

Defined in

RoomTransitionAnim.ts:13


FADE

FADE = 1

The fade-in / fade-out used for Mom's Hand. If the direction is Direction.NO_DIRECTION, the fade will be shorter.

Defined in

RoomTransitionAnim.ts:19


PIXELATION

PIXELATION = 2

The fade + pixelation effect used for secret item dungeon. (Direction does not affect the pixelation length.)

Defined in

RoomTransitionAnim.ts:25


TELEPORT

TELEPORT = 3

Will play the teleport animation and sound, then the walk animation using the specified direction. If Direction.NO_DIRECTION is used, it will perform a fade to white.

Defined in

RoomTransitionAnim.ts:31


MAZE

MAZE = 4

For Curse of the Maze.

This is like RoomTransitionAnim.WALK, but better, since it will always play the walk animation that you provide. Like RoomTransitionAnim.WALK, if you use Direction.NO_DIRECTION, it will perform a fade to black.

Defined in

RoomTransitionAnim.ts:40


ANKH

ANKH = 5

Works like RoomTransitionAnim.MAZE with respect to the direction used.

Defined in

RoomTransitionAnim.ts:43


DEAD_CAT

DEAD_CAT = 6

Works like RoomTransitionAnim.MAZE with respect to the direction used.

Defined in

RoomTransitionAnim.ts:46


ONE_UP

ONE_UP = 7

Plays SoundEffect.ONE_UP upon entering the room.

Works like RoomTransitionAnim.MAZE with respect to the direction used.

Defined in

RoomTransitionAnim.ts:53


COLLAR

COLLAR = 8

Works like RoomTransitionAnim.MAZE with respect to the direction used.

Defined in

RoomTransitionAnim.ts:56


JUDAS_SHADOW

JUDAS_SHADOW = 9

Works like RoomTransitionAnim.MAZE with respect to the direction used.

Defined in

RoomTransitionAnim.ts:59


LAZARUS

LAZARUS = 10

Works like RoomTransitionAnim.MAZE with respect to the direction used.

Defined in

RoomTransitionAnim.ts:62


WOMB_TELEPORT

WOMB_TELEPORT = 11

For the Ventricle Razor teleport.

Makes the player invisible during the transition. If used to change into the same room, the player's visibility won't be restored. If the direction is Direction.NO_DIRECTION, the fade will be shorter.

Defined in

RoomTransitionAnim.ts:71


GLOWING_HOURGLASS

GLOWING_HOURGLASS = 12

For the Glowing Hourglass teleport.

Using this animation will ignore the room index and the direction provided.

Defined in

RoomTransitionAnim.ts:78


D7

D7 = 13

Works like RoomTransitionAnim.MAZE with respect to the direction used.

Defined in

RoomTransitionAnim.ts:81


MISSING_POSTER

MISSING_POSTER = 14

Works like RoomTransitionAnim.MAZE with respect to the direction used.

Defined in

RoomTransitionAnim.ts:84


BOSS_FORCED

BOSS_FORCED = 15

No transition; goes directly to the boss intro cutscene (for the Backasswards challenge).

Defined in

RoomTransitionAnim.ts:87


PORTAL_TELEPORT

PORTAL_TELEPORT = 16

For a Card Reading teleport.

Works like RoomTransitionAnim.WOMB_TELEPORT.

Defined in

RoomTransitionAnim.ts:94


FORGOTTEN_TELEPORT

FORGOTTEN_TELEPORT = 17

For the Forgotten's Birthright effect.

Works like RoomTransitionAnim.FADE.

Defined in

RoomTransitionAnim.ts:101


FADE_MIRROR

FADE_MIRROR = 18

Plays the mirror exit sound and a fade to white animation.

If the direction is Direction.NO_DIRECTION, the fade will be shorter.

Defined in

RoomTransitionAnim.ts:108


MINECART

MINECART = 19

Works like RoomTransitionAnim.FADE.

Defined in

RoomTransitionAnim.ts:111


DEATH_CERTIFICATE

DEATH_CERTIFICATE = 20

The player lies down, the screen fades to black, and the player lies down and gets up.

Ignores the direction, but using Direction.NO_DIRECTION will make the fade shorter.

The game is paused during the lying down and getting up animation.

Defined in

RoomTransitionAnim.ts:120