List of partially supported features

void jjEventSet(uint16 xTile, uint16 yTile, uint8 newEventID)
A generator event (an object that respawns) can't be written, it's refused with a warning.
class jjPLAYER
A handle that doesn't stand for a player in the level has isActive set to false, most of its properties read as 0 and writes to them are ignored.
enum value LAYERSPEEDMODEL::LayerSpeedModel::LAYER8
A layer drawn as tiles ignores its speeds and offsets and stays at the top left corner of the view, a textured layer takes its position from layer 5 instead.
bool jjLayerOrderSet(const array<jjLAYER@>&in order)
A layer that couldn't be added to the level (see CreateFromSize()) is left out without an error.
void jjNxt(const string&in filename, bool warp = false, bool fast = false)
A name without an episode is looked for in the current episode only.
int jjPLAYER::specialMove
A non-zero value identifies the move rather than how long it has lasted.
const bool jjPLAYER::isLocal
Also true for players of other machines in online multiplayer.
bool jjIsAdmin
Always false, also in multiplayer.
const bool jjIsServer
Always false, also when the script runs on a multiplayer server.
const GAME::Connection jjGameConnection
Always GAME::LOCAL, also in online multiplayer.
int jjBorderHeight
int jjBorderWidth
Always returns 0, there are no such borders.
int jjTeamScore[TEAM::Color]
Always returns 0.
bool jjEnabledTeams[uint8]
Always returns false.
GAME::State jjGameState
Always returns GAME::STOPPED (0).
void jjOBJ::behave(BEHAVIOR::Behavior behavior = BEHAVIOR::DEFAULT, bool draw = true)
An object a script made runs only the bullet behaviors, CRATE, EXPLOSION, SHARD, WALKINGENEMY and INACTIVE, any other only moves it by its speeds. An object of the game runs its own update for most behaviors. Seeker bullets don't home and RF bullets fly straight.
LIGHT::Type jjPLAYER::lightType
Any other type turns the default light back on, it reads back as LIGHT::PLAYER.
enum value SPRITE::Mode::BLEND_DIFFERENCE
Approximated for sprites by scaling their colors by param; text only takes the opacity.
enum value SPRITE::Mode::NEONGLOW
Approximated, param above 6 counts as 6. Text in the game font drawn in the level is blended at half opacity instead, rectangles are drawn plain.
enum value SPRITE::Mode::TRANSLUCENTMAPPING
As MAPPING.
int jjDifficulty
Assigning a value outside this range (such as 3 for Turbo) is ignored.
bool jjOBJ::scriptedCollisions
Bullets of the game go through objects that exist only for the script, they aren't told of them.
HANDLING::Bullet jjOBJ::bulletHandling
Bullets of the game go through objects that exist only for the script.
enum value HANDLING::Player::DELAYEDPICKUP
Collected at once, as PICKUP.
int jjPLAYER::helicopterElapsed
Currently always 0 and has no effect.
int8 jjPLAYER::light
Currently always 0, assigning it has no effect.
const int jjPLAYER::clientID
int jjPLAYER::deaths
const int jjPLAYER::flag
int jjPLAYER::laps
int jjPLAYER::lapTimeBest
int jjPLAYER::lapTimeCurrent
int jjPLAYER::lapTimes[uint]
int jjPLAYER::lrsLives
int jjPLAYER::roasts
const int jjPLAYER::warpID
Currently always 0.
string jjPLAYER::name
string jjPLAYER::nameUnformatted
Currently always an empty string.
bool jjPLAYERDRAW::shield[SHIELD::Shield]
Currently always false, and assigning it has no effect.
const bool jjDeactivatingBecauseOfDeath
bool jjPLAYER::isAdmin
bool jjPLAYER::isConnecting
bool jjPLAYER::isIdle
bool jjPLAYER::isJailed
bool jjPLAYER::isOut
bool jjPLAYER::isSpectating
bool jjPLAYER::isZombie
Currently always false.
bool jjPLAYER::hasPrivilege(const string&in privilege, uint moduleID = ::jjScriptModuleID) const
bool jjPLAYER::isEnemy(const jjPLAYER&in victim) const
Currently always returns false.
bool jjANIMATION::load(const string&in filename, int hotSpotX, int hotSpotY, int coldSpotYOffset = 0, int firstFrameToOverwrite = -1)
bool jjANIMATION::save(const string&in filename, const jjPAL&in palette = jjPalette) const
Currently has no effect and always returns false.
bool jjPLAYER::setName(const string&in name)
Currently has no effect and always returns false.
bool jjSendPacket(const jjSTREAM&in packet, int toClientID = 0, uint toScriptModuleID = ::jjScriptModuleID)
Currently has no effect and always returns true.
int jjLAYER::rotationAngle
int jjLAYER::rotationRadiusMultiplier
Currently has no effect, and it starts as 0 on every layer.
void jjAddParticleTileExplosion(uint16 xTile, uint16 yTile, uint16 tile, bool collapseSceneryStyle)
bool jjDelayGeneratedCrateOrigins
void jjDrawString(float xPixel, float yPixel, const string&in text, const jjANIMATION&in animation, STRING::Mode mode = STRING::NORMAL, uint8 param = 0, int8 layerZ = 4, uint8 layerXY = 4, int8 playerID = -1)
void jjDrawString(float xPixel, float yPixel, const string&in text, const jjANIMATION&in animation, const jjTEXTAPPEARANCE&in appearance, uint8 param1 = 0, SPRITE::Mode spriteMode = SPRITE::PALSHIFT, uint8 param2 = 0, int8 layerZ = 4, uint8 layerXY = 4, int8 playerID = -1)
uint8 jjKeyChat
void jjOBJ::pathMovement()
void jjPLAYER::poleSpin(float xSpeed, float ySpeed, uint delay = 70)
bool jjSugarRushAllowed
Currently has no effect.
bool jjPLAYERDRAW::airboardBouncingMotion
bool jjPLAYERDRAW::airboardPuff
TEAM::Color jjPLAYERDRAW::flag
bool jjPLAYERDRAW::gunFlash
bool jjPLAYERDRAW::invincibility
int8 jjPLAYERDRAW::light
LIGHT::Type jjPLAYERDRAW::lightType
bool jjPLAYERDRAW::morphingExplosions
bool jjPLAYERDRAW::name
bool jjPLAYERDRAW::sugarRush
bool jjPLAYERDRAW::trail
Currently ignored.
bool jjCOLORMAP::save(const string&in filename, bool allowCompression = false) const
bool jjPIXELMAP::save(const string&in filename, const jjPAL&in palette = jjPalette) const
Currently not supported, always returns false.
enum CHAT::Type
Currently not used, chat hooks aren't called.
uint8 jjPLAYER::spriteParam
Currently only kept, it doesn't change how the player is drawn.
SPRITE::Mode jjPLAYER::spriteMode
Currently only SPRITE::INVISIBLE has an effect, it hides the player.
SPREAD::Spread jjWEAPON::spread
Currently only used by weapons whose bullets a script behavior controls.
float jjPLAYER::jumpStrength
Currently reads 0 and has no effect.
int jjEcho
Currently starts at 0 and changing it has no effect.
void jjSpriteModeSetMapping(uint8 index, const array<uint8>&in indexMapping, const jjPAL&in rgbMapping)
void jjSpriteModeSetMapping(uint8 index, const array<uint8>&in indexMapping)
Currently the mapping is only stored so it can be read back, sprites aren't drawn with it yet.
uint jjActiveGameTicks
Currently the same as jjGameTicks, which doesn't count paused time either, but multiplayer games waiting to start are counted.
void jjCANVAS::drawString(int xPixel, int yPixel, const string&in text, const jjANIMATION&in animation, STRING::Mode mode = STRING::NORMAL, uint8 param = 0)
DARK draws the letters translucent, and the letters of BOUNCE and SPIN don't move.
enum value SPRITE::Mode::INVERSE
enum value SPRITE::Mode::MENUPLAYER
Drawn as NORMAL.
enum value SPRITE::Mode::FROZEN
Drawn as the game draws frozen objects. Text in the game font and rectangles are drawn plain.
int jjPLAYER::localPlayerID
int8 jjPLAYER::playerID
Every player counts as local, also in online multiplayer.
void jjPLAYER::showText(string&in text, STRING::Size size = STRING::SMALL)
void jjPLAYER::showText(uint textID, uint offset, STRING::Size size = STRING::SMALL)
Every player sees the text, not only this one.
uint16 jjGetStaticTile(uint16 tileID)
Flips of the frame itself aren't included, and an animated tile whose frame is another animated tile gives 0.
jjLAYER::jjLAYER(uint layerWidth, uint layerHeight)
If the level can't take another layer, the layer is only a standalone copy of the properties, its tiles can't be set and it's never drawn.
STRING::SignTreatment jjTEXTAPPEARANCE::at
Ignored for text in a built-in size, and STRING::HIDESIGN starts a new line too.
STRING::SignTreatment jjTEXTAPPEARANCE::caret
STRING::SignTreatment jjTEXTAPPEARANCE::hash
STRING::SignTreatment jjTEXTAPPEARANCE::pipe
STRING::SignTreatment jjTEXTAPPEARANCE::section
STRING::SignTreatment jjTEXTAPPEARANCE::tilde
Ignored for text in a built-in size, and STRING::SPECIALSIGN works as STRING::HIDESIGN.
uint8 jjPARTICLEPIXEL::color[int]
Indices 0 to 7 are available, reading other ones gives 0 and writing them has no effect, so the last pixel of a 3×3 square can't be reached.
int jjPLAYER::invincibility
Invincibility and blink share one timer, starting one ends the other.
void jjSlideModChannelVolume(int channel, float volume, int milliseconds)
It changes the volume of the channel that the module itself can set (with the Mxx effect), so the module may change it again. The change is heard after the audio already prepared, up to about a third of a second.
enum value PARTICLE::Type::TILE
It disappears right away without being shown.
bool jjPLAYER::antiGrav
It doesn't fall upwards and isn't drawn upside down.
AIR::Jump jjCHARACTER::airJump
It has no effect on the frog and the birds.
GROUND::Jump jjCHARACTER::groundJump
It has no effect on the frog and the birds. A move of another character is drawn with the animations of the player's own move, and the kick of Lori keeps the timing of the player's character.
int8 jjOBJ::noHit
uint8 jjOBJ::objType
It isn't tied to those properties, writing it has no effect.
void onRoast(jjPLAYER@ victim, jjPLAYER@ killer)
killer is always null on multiplayer clients.
bool jjMaskedHLine(int xPixel, int lineLength, int yPixel, uint8 layer)
bool jjMaskedPixel(int xPixel, int yPixel, uint8 layer)
int jjMaskedTopVLine(int xPixel, int yPixel, int lineLength, uint8 layer)
bool jjMaskedVLine(int xPixel, int yPixel, int lineLength, uint8 layer)
layer is ignored, the masks of the sprite layer are tested.
void jjDrawPixel(float xPixel, float yPixel, uint8 color, SPRITE::Mode mode = SPRITE::NORMAL, uint8 param = 0, int8 layerZ = 4, uint8 layerXY = 4, int8 playerID = -1)
layerXY and playerID are currently ignored: the graphic always uses level coordinates and every player sees it.
void jjDrawRectangle(float xPixel, float yPixel, int width, int height, uint8 color, SPRITE::Mode mode = SPRITE::NORMAL, uint8 param = 0, int8 layerZ = 4, uint8 layerXY = 4, int8 playerID = -1)
void jjDrawResizedSprite(float xPixel, float yPixel, int setID, uint8 animation, uint8 frame, float xScale, float yScale, SPRITE::Mode mode = SPRITE::NORMAL, uint8 param = 0, int8 layerZ = 4, uint8 layerXY = 4, int8 playerID = -1)
void jjDrawResizedSpriteFromCurFrame(float xPixel, float yPixel, uint sprite, float xScale, float yScale, SPRITE::Mode mode = SPRITE::NORMAL, uint8 param = 0, int8 layerZ = 4, uint8 layerXY = 4, int8 playerID = -1)
void jjDrawRotatedSprite(float xPixel, float yPixel, int setID, uint8 animation, uint8 frame, int angle, float xScale = 1, float yScale = 1, SPRITE::Mode mode = SPRITE::NORMAL, uint8 param = 0, int8 layerZ = 4, uint8 layerXY = 4, int8 playerID = -1)
void jjDrawRotatedSpriteFromCurFrame(float xPixel, float yPixel, uint sprite, int angle, float xScale = 1, float yScale = 1, SPRITE::Mode mode = SPRITE::NORMAL, uint8 param = 0, int8 layerZ = 4, uint8 layerXY = 4, int8 playerID = -1)
void jjDrawSprite(float xPixel, float yPixel, int setID, uint8 animation, uint8 frame, int8 direction = 0, SPRITE::Mode mode = SPRITE::NORMAL, uint8 param = 0, int8 layerZ = 4, uint8 layerXY = 4, int8 playerID = -1)
void jjDrawSpriteFromCurFrame(float xPixel, float yPixel, uint sprite, int8 direction = 0, SPRITE::Mode mode = SPRITE::NORMAL, uint8 param = 0, int8 layerZ = 4, uint8 layerXY = 4, int8 playerID = -1)
void jjDrawSwingingVineSpriteFromCurFrame(float xPixel, float yPixel, uint sprite, int length, int curvature, SPRITE::Mode mode = SPRITE::NORMAL, uint8 param = 0, int8 layerZ = 4, uint8 layerXY = 4, int8 playerID = -1)
void jjDrawTile(float xPixel, float yPixel, uint16 tile, TILE::Quadrant tileQuadrant = TILE::ALLQUADRANTS, int8 layerZ = 4, uint8 layerXY = 4, int8 playerID = -1)
layerXY and playerID are ignored, as in jjDrawPixel().
bool jjBEHAVIORINTERFACE::onGetActive(jjOBJ@ obj)
void jjBEHAVIORINTERFACE::onSetActive(jjOBJ@ obj, bool setTo)
Never called by the game, there's no such synchronization yet.
bool jjBEHAVIORINTERFACE::onIsRFBullet(jjOBJ@ obj)
bool jjBEHAVIORINTERFACE::onIsSolid(jjOBJ@ obj)
bool onDrawGameModeHUD(jjPLAYER@ player, jjCANVAS@ canvas)
Never called by the game.
jjBEHAVIOR jjOBJ::behavior
Not every built-in behavior is available, see behave1().
enum value SURFACE::Surface::INNERLAYER
enum value SURFACE::Surface::INNERWINDOW
Not supported by TEXTURE::WAVE.
bool jjOBJ::isFreezable
Objects that exist only for the script aren't frozen by bullets of the game.
interface jjPUBLICINTERFACE
Obtaining the interface of another module isn't supported yet.
int jjOBJ::draw()
On an object of the game it only marks the object to be drawn once in the tick, at its final position, so several calls show only the last frame and a call outside its behavior lasts until the next tick.
int8 jjOBJ::light
On an object of the game, a new size takes effect only together with another lightType.
uint16 jjOBJ::points
Only enemies of the game award it. A template in jjObjectPresets reads 0 until a script sets it, and setting it back to 0 there keeps the score of the game.
enum value SPRITE::Mode::BLEND_LUMINANCE
Only layers are blended, sprites and rectangles are drawn as NORMAL and text is approximated.
enum value SPRITE::Mode::BLEND_BURN
enum value SPRITE::Mode::BLEND_COLOR
enum value SPRITE::Mode::BLEND_DARKEN
enum value SPRITE::Mode::BLEND_DODGE
enum value SPRITE::Mode::BLEND_HARDLIGHT
enum value SPRITE::Mode::BLEND_HUE
enum value SPRITE::Mode::BLEND_OVERLAY
enum value SPRITE::Mode::BLEND_SATURATION
enum value SPRITE::Mode::BLEND_SOFTLIGHT
Only layers are blended, sprites and rectangles are drawn as NORMAL and text only takes the opacity.
void jjDrawString(float xPixel, float yPixel, const string&in text, STRING::Size size, const jjTEXTAPPEARANCE&in appearance, uint8 param1 = 0, SPRITE::Mode spriteMode = SPRITE::PALSHIFT, uint8 param2 = 0, int8 layerZ = 4, uint8 layerXY = 4, int8 playerID = -1)
Only spriteMode and param2 are used to color the text, with the subset of modes jjCANVAS::drawString() supports (BLEND_LUMINANCE isn't added to what's behind); the appearance, param1, layerXY and playerID have no effect here.
enum value SPRITE::Mode::CHROMAKEY
Only sprites drawn into the level by the jjDraw* functions are keyed, and not by every renderer; elsewhere they're drawn as NORMAL, as are text and rectangles.
uint8 jjTileType[uint16]
Other types are kept as assigned, but such tiles are drawn as ordinary ones.
jjPIXELMAP::jjPIXELMAP(const jjANIMFRAME@ animFrame, const jjPAL&in palette = jjPalette)
palette is ignored, a 32-bit frame gives the indices of its colors in jjPalette as it was when the frame was saved.
void jjCANVAS::drawString(int xPixel, int yPixel, const string&in text, STRING::Size size = STRING::SMALL, STRING::Mode mode = STRING::NORMAL, uint8 param = 0)
PALSHIFT shifts only the replaced frames and ^ drawn as ∞, not the letters of the game font. DARK is a fixed color, and BOUNCE and SPIN move the letters as the menus of the game do.
void jjCANVAS::drawString(int xPixel, int yPixel, const string&in text, const jjANIMATION&in animation, const jjTEXTAPPEARANCE&in appearance, uint8 param1 = 0, SPRITE::Mode spriteMode = SPRITE::PALSHIFT, uint8 param2 = 0)
param1, jjTEXTAPPEARANCE::xAmp, jjTEXTAPPEARANCE::yAmp, monospace and skipInitialHash are ignored, STRING::SPECIALSIGN works as STRING::HIDESIGN.
void jjOBJ::grantPickup(jjPLAYER@ player, int frequency) const
player is ignored, the pickup doesn't depend on the player's weapons.
int jjPLAYER::buttstomp
Reads only 1 while the player is buttstomping and 50 otherwise, not the phases between.
enum value SPRITE::Mode::BRIGHTNESS
enum value SPRITE::Mode::SINGLEHUE
Rectangles are drawn plain.
void jjSetModPosition(int order, int row, bool reset)
reset is ignored, the jump keeps what the music plays at the time, as reset = false does.
bool jjVerticalSplitscreen
Returns the value a script assigned, false before that, not how the screen is split.
enum value SPRITE::Mode::BLEND_LIGHTEN
Sprites and rectangles are added to what is behind, ignoring param; text only takes the opacity.
enum value SPRITE::Mode::BLEND_EXCLUSION
Sprites and rectangles are drawn as BLEND_DIFFERENCE, text only takes the opacity.
enum value SPRITE::Mode::BLEND_DISSOLVE
Sprites and rectangles are drawn translucent by param instead.
enum value SPRITE::Mode::BLEND_MULTIPLY
enum value SPRITE::Mode::BLEND_SCREEN
Sprites are drawn as NORMAL and text only takes the opacity.
enum value LAYERSPEEDMODEL::LayerSpeedModel::BOTHSPEEDS
Such a layer reads back as NORMAL.
enum value SPRITE::Mode::MAPPING
Text and rectangles are drawn as NORMAL, sprites stored in true color too; a mapping of indices follows the palette as it was when it was first drawn.
enum value SPRITE::Mode::INVISIBLE
Text drawn in this mode stays visible.
enum value SPRITE::Mode::ALPHAMAP
enum value SPRITE::Mode::PLAYER
enum value SPRITE::Mode::TINTED
Text in the game font and rectangles are drawn plain.
enum value SPRITE::Mode::PALSHIFT
Text in the game font and rectangles aren't shifted.
enum value SPRITE::Mode::TRANSLUCENTPALSHIFT
enum value SPRITE::Mode::TRANSLUCENTPLAYER
enum value SPRITE::Mode::TRANSLUCENTSINGLEHUE
Text in the game font is drawn plain, rectangles only translucent.
enum value SPRITE::Mode::GEM
enum value SPRITE::Mode::TRANSLUCENTCOLOR
Text in the game font is drawn plain.
bool jjOBJ::doesCollide(const jjPLAYER@ player, bool always = false) const
bool jjPLAYER::doesCollide(const jjOBJ@ object, bool always = false) const
The always parameter is currently ignored.
bool jjPLAYER::hurt(int8 damage = 1, bool forceHurt = false, jjPLAYER@ attacker = null)
The attacker parameter is currently ignored.
enum value LAYERSPEEDMODEL::LayerSpeedModel::NORMAL
The automatic speed overrides the speed only for layers loaded with the level, a speed assigned later moves the layer as BOTHSPEEDS does.
void jjOBJ::blast(int maxDistance, bool blastObjects)
The blastObjects parameter is currently ignored.
void jjSetModSpeed(uint8 speed)
void jjSetModTempo(uint8 tempo)
The change is heard after the audio already prepared, up to about a third of a second.
void jjSetWaterGradient(uint8 red1, uint8 green1, uint8 blue1, uint8 red2, uint8 green2, uint8 blue2)
The colors tint the water effect of the game, which isn't the gradient of JJ2+. The software renderer and the consoles without shaders keep the default color.
int jjParameterGet(uint16 xTile, uint16 yTile, int offset, int length)
The difficulty bits of the events of a converted level aren't kept, they read 0 unless a script wrote them.
bool jjPIXELMAP::save(uint16 tileID, bool hFlip = false) const
The flipped versions of a tile always change along with it, so hFlip has no effect.
jjPAL jjPalette
The game font and the rest of the HUD the game draws itself don't follow its changes.
void jjOBJ::bePlatform(float xOld, float yOld, int width = 0, int height = 0)
The height parameter is ignored, and it has no effect on objects that exist only for the script.
bool onDrawScore(jjPLAYER@ player, jjCANVAS@ canvas)
The HUD of multiplayer games doesn't call it.
int jjPLAYER::scoreDisplayed
The HUD shows the score without counting up to it, so this is the same value as score and setting either one changes both.
bool jjLAYER::maskedHLine(int xPixel, int lineLength, int yPixel) const
The layer is ignored, the masks of jjLayers[4] are tested, see jjMaskedHLine().
bool jjLAYER::maskedPixel(int xPixel, int yPixel) const
The layer is ignored, the masks of jjLayers[4] are tested, see jjMaskedPixel().
int jjLAYER::maskedTopVLine(int xPixel, int yPixel, int lineLength) const
The layer is ignored, the masks of jjLayers[4] are tested, see jjMaskedTopVLine().
bool jjLAYER::maskedVLine(int xPixel, int yPixel, int lineLength) const
The layer is ignored, the masks of jjLayers[4] are tested, see jjMaskedVLine().
int jjTEXTAPPEARANCE::xAmp
int jjTEXTAPPEARANCE::yAmp
The magnitude is currently not taken into account, and text drawn with a font animation ignores it.
void jjChat(const string&in text, bool teamchat = false)
The message isn't sent to other players, teamchat is ignored and commands of a multiplayer server aren't run.
void jjAddParticlePixelExplosion(float xPixel, float yPixel, int curFrame, int direction, int mode)
The mode parameter is currently ignored.
void jjParameterSet(uint16 xTile, uint16 yTile, int8 offset, int8 length, int newValue)
The parameters of a generator event can't be written, they're refused with a warning.
uint8 jjPARTICLESMOKE::countdown
The particle disappears after 102 ticks whatever its value is.
bool jjPLAYER::objectHit(jjOBJ@ target, int force, HANDLING::Player playerHandling)
The playerHandling parameter is ignored, and so is force unless the object has jjOBJ::scriptedCollisions set, the game decides by what the player does then.
jjOBJ@ jjOBJ::objectHit(jjOBJ@ target, HANDLING::Player playerHandling)
The playerHandling parameter is ignored. The target's scriptedCollisions and bulletHandling aren't taken into account, and nothing happens if either object exists only for the script.
bool jjMASKMAP::save(uint16 tileID, bool hFlip = false) const
The rules of jjPIXELMAP::save() for tiles apply, except that the size is always right: flips in tileID flip the mask, hFlip has no effect and animated tiles fail.
bool jjCOLORMAP::save(uint16 tileID, bool hFlip = false) const
The rules of jjPIXELMAP::save() for tiles apply: the map has to be 32×32, flips in tileID flip the image, hFlip has no effect and animated tiles fail. A palette-indexed tile set (the usual case) loses the true colors and partial alpha.
void jjAlert(const string&in text, bool sendToAll = false, STRING::Size size = STRING::SMALL)
void jjConsole(const string&in text, bool sendToAll = false)
The sendToAll parameter is currently ignored.
int jjOBJ::unfreeze(int style)
The shattering ice effect isn't shown currently. The style parameter is currently ignored.
uint8 jjPARTICLESTAR::angle
int8 jjPARTICLESTAR::angularSpeed
The star is drawn as a square that doesn't turn.
void jjDrawString(float xPixel, float yPixel, const string&in text, STRING::Size size = STRING::SMALL, STRING::Mode mode = STRING::NORMAL, uint8 param = 0, int8 layerZ = 4, uint8 layerXY = 4, int8 playerID = -1)
The string modes have no effect here, the text is drawn plain. layerXY and playerID are ignored, and frames of the font a script replaced and ^ as ∞ aren't drawn.
void jjOBJ::particlePixelExplosion(int style) const
The style parameter is currently ignored.
void jjCANVAS::drawString(int xPixel, int yPixel, const string&in text, STRING::Size size, const jjTEXTAPPEARANCE&in appearance, uint8 param1 = 0, SPRITE::Mode spriteMode = SPRITE::PALSHIFT, uint8 param2 = 0)
The text is drawn in spriteMode with param2; param1 is ignored. Of the appearance, the other treatments of characters are ignored and the amplitudes only count as zero or non-zero. Only translucent, single color, single hue, shadow, brightness and the BLEND_* modes (as opacity) change the letters of the game font, PALSHIFT doesn't.
void jjPrint(const string&in text, bool timestamp = false)
The text isn't shown in the game. The timestamp parameter is currently ignored.
void jjDebug(const string&in text, bool timestamp = false)
The timestamp parameter is currently ignored.
void jjPLAYER::suckerTube(int xSpeed, int ySpeed, bool center, bool noclip = false, bool trigSample = false)
The trigSample parameter is currently ignored.
bool jjOBJ::causesRicochet
bool jjOBJ::isBlastable
bool jjOBJ::isTarget
bool jjOBJ::triggersTNT
The value is stored, but the game currently doesn't act on it.
uint8 jjPARTICLELEAF::height
uint8 jjPARTICLESTAR::colorChangeCounter
uint8 jjPARTICLESTAR::colorChangeInterval
uint8 jjPARTICLESTAR::frame
bool jjTEXTAPPEARANCE::monospace
bool jjTEXTAPPEARANCE::skipInitialHash
enum value LIGHT::Type::LASERBEAM
This feature isn't fully implemented, so it may behave differently than described or have no effect at all.
class jjLAYERMENU
This style isn't drawn yet, a layer with it is drawn as a warp horizon.
jjLAYERMENU jjLAYER::menu
This style isn't drawn yet, a layer with it is drawn as TEXTURE::WARPHORIZON instead.
int jjPLAYER::fireBullet(uint8 gun = 0, bool depleteAmmo = true, bool requireAmmo = true, DIRECTION::Dir direction = DIRECTION::CURRENT)
int jjPLAYER::fireBullet(uint8 gun, bool depleteAmmo, bool requireAmmo, float angle)
TNT and Thunderbolt aren't fired, it returns 0 for them. A weapon the script doesn't control fires one bullet, without the spread of its powered-up shots.
jjCOLORMAP::jjCOLORMAP(TEXTURE::Texture texture, const jjPAL&in palette = jjPalette)
True color tiles of TEXTURE::FROMTILES are reduced to the nearest colors of palette.
int jjDifficultyNext
Turbo (3) isn't supported.
int jjWaterLayer
Visible water is always drawn in front of all layers, the exact layer number currently doesn't matter.
WATERINTERACTION::WaterInteraction jjWaterInteraction
WATERINTERACTION::POSITIONBASED always swims, the gravity of the water isn't measured in JJ2+.
WATERLIGHT::wl jjWaterLighting
WATERLIGHT::NONE and WATERLIGHT::GLOBAL both light the level as the game always does, above and below the water. WATERLIGHT::LAGUNICUS is approximated: full light above the water, and below it the light of the level is reached 15 tiles deep.
enum value HANDLING::Player::DYING
enum value HANDLING::Player::SELFCOLLISION
enum value HANDLING::Player::SPECIALDONE
What this value means in JJ2+ isn't implemented.
int jjPLAYER::extendInvincibility(int duration)
While the player blinks, the blinking ends and the invincibility starts from 0.