AREA namespace JJ2+
Event types of the tiles of the level
Enums
- enum Area { ONEWAY = 0x01, HURT = 0x02, VINE = 0x03, HOOK = 0x04, SLIDE = 0x05, HPOLE = 0x06, VPOLE = 0x07, FLYOFF = 0x08, RICOCHET = 0x09, BELTRIGHT = 0x0A, BELTLEFT = 0x0B, ACCBELTRIGHT = 0x0C, ACCBELTLEFT = 0x0D, STOPENEMY = 0x0E, WINDLEFT = 0x0F, WINDRIGHT = 0x10, EOL = 0x11, WARPEOL = 0x12, REVERTMORPH = 0x13, FLOATUP = 0x14, TRIGGERROCK = 0x15, DIMLIGHT = 0x16, SETLIGHT = 0x17, LIMITXSCROLL = 0x18, RESETLIGHT = 0x19, WARPSECRET = 0x1A, ECHO = 0x1B, ACTIVATEBOSS = 0x1C, JAZZLEVELSTART = 0x1D, JAZZSTART = 0x1D deprecated, SPAZLEVELSTART = 0x1E, SPAZSTART = 0x1E deprecated, MPLEVELSTART = 0x1F, MPSTART = 0x1F deprecated, LORILEVELSTART = 0x20, LORISTART = 0x20 deprecated, WARP = 0xE6, WARPTARGET = 0xF0, PATH = 0xF2, AREAID = 0xF2 deprecated, NOFIREZONE = 0xF5, TRIGGERZONE = 0xF6, SUCKERTUBE = 0xCE, TEXT = 0xCF, WATERLEVEL = 0xD0, MORPHFROG = 0xDE, WATERBLOCK = 0xE9 } JJ2+
- Events that only mark an area of the level and have no object of their own
Enum documentation
enum AREA:: Area JJ2+
Events that only mark an area of the level and have no object of their own
| Enumerators | |
|---|---|
| ONEWAY |
Tile the player stands on but can jump up through |
| HURT |
Tile that hurts the player |
| VINE |
Vine the player hangs from and moves along |
| HOOK |
Tile the player hangs from without moving |
| SLIDE |
Slippery floor |
| HPOLE |
Pole that spins the player and flings them sideways |
| VPOLE |
Pole that spins the player and flings them up or down |
| FLYOFF |
Takes away the airboard and the flying carrot |
| RICOCHET |
Tile that bullets bounce off |
| BELTRIGHT |
Conveyor belt moving to the right |
| BELTLEFT |
Conveyor belt moving to the left |
| ACCBELTRIGHT |
Conveyor belt to the right that speeds up the player |
| ACCBELTLEFT |
Conveyor belt to the left that speeds up the player |
| STOPENEMY |
Area walking enemies can't enter |
| WINDLEFT |
Wind pushing the player to the left |
| WINDRIGHT |
Wind pushing the player to the right |
| EOL |
Ends the level |
| WARPEOL |
Ends the level with a warp |
| REVERTMORPH |
Turns a morphed player back into their character |
| FLOATUP |
Lifts players up while they're inside |
| TRIGGERROCK |
Sets the rolling rocks with the same ID rolling |
| DIMLIGHT | |
| SETLIGHT |
Changes the ambient lighting |
| LIMITXSCROLL |
Limits how far the view scrolls horizontally |
| RESETLIGHT |
Restores the lighting the level started with |
| WARPSECRET |
Warps to the secret level |
| ECHO | |
| ACTIVATEBOSS |
Starts the boss fight |
| JAZZLEVELSTART |
Starting position of Jazz |
| JAZZSTART |
Same as JAZZLEVELSTART |
| SPAZLEVELSTART |
Starting position of Spaz |
| SPAZSTART |
Same as SPAZLEVELSTART |
| MPLEVELSTART |
Starting position in multiplayer games |
| MPSTART |
Same as MPLEVELSTART |
| LORILEVELSTART |
Starting position of Lori |
| LORISTART |
Same as LORILEVELSTART |
| WARP |
Warps the player to the WARPTARGET with the same ID |
| WARPTARGET |
Destination of a WARP |
| PATH | |
| AREAID |
Same as PATH |
| NOFIREZONE |
Blocks or allows firing |
| TRIGGERZONE |
Turns a trigger on or off when a player enters it |
| SUCKERTUBE |
Tube that drives the player along |
| TEXT |
Shows a text of the level |
| WATERLEVEL |
Changes the water level when a player touches it |
| MORPHFROG |
Turns the player into a frog |
| WATERBLOCK |
Shallow water the player wades in |