Name | Author | Game Mode | Rating | |||||
---|---|---|---|---|---|---|---|---|
Anniversary Bash 18 Levels | Jazz2Online | Multiple | N/A |
void onLevelLoad() {
jjSetWaterGradient(0, 30, 30, 0, 250, 250);
jjWaterChangeSpeed = 0;
jjSetWaterLevel(77*32, true);
jjWaterLighting = (WATERLIGHT::GLOBAL);
jjUseLayer8Speeds = true;
jjOBJ@ preset = jjObjectPresets[OBJECT::FROZENSPRING];
preset.behavior = coloredSpring;
preset.bulletHandling = HANDLING::IGNOREBULLET;
preset.freeze = 0;
preset.ySpeed = -18.f;
preset.xPos = preset.xOrg + 8;
}
void coloredSpring(jjOBJ@ obj) {
obj.behave(BEHAVIOR::SPRING, false);
jjDrawSpriteFromCurFrame(obj.xPos, obj.yPos, obj.curFrame, obj.direction, SPRITE::PALSHIFT, 248);
}
void offsetPosition(jjOBJ@ obj) {
obj.behave(BEHAVIOR::SPRING);
if (obj.xPos > 88*32 && obj.xPos < 90*32) obj.xPos = obj.xOrg + 12;
}
void onLevelBegin() {
for (int x = 0; x < jjLayerWidth[4]; x++) {
for (int y = 0; y < jjLayerHeight[4]; y++) {
uint16 tile = jjTileGet(4, x, y);
if (jjEventGet(x, y) == 119) jjTileSet(4, x, y, tile ^ TILE::VFLIPPED);
}
}
}
Jazz2Online © 1999-INFINITY (Site Credits). We have a Privacy Policy. Jazz Jackrabbit, Jazz Jackrabbit 2, Jazz Jackrabbit Advance and all related trademarks and media are ™ and © Epic Games. Lori Jackrabbit is © Dean Dodrill. J2O development powered by Loops of Fury and Chemical Beats.
Eat your lima beans, Johnny.