Name | Author | Game Mode | Rating | |||||
---|---|---|---|---|---|---|---|---|
Anniversary Bash 19 Levels | Jazz2Online | Multiple | N/A |
#pragma require "ab19btl08ex.j2l"
void onLevelLoad() {
jjTexturedBGTexture = TEXTURE::DESOLATION;
jjPalette.gradient(250,0,0, 15,0,0, 176, 32);
jjUseLayer8Speeds = true;
jjObjectPresets[OBJECT::CARROT].behavior =
jjObjectPresets[OBJECT::BOUNCERAMMO3].behavior =
jjObjectPresets[OBJECT::SEEKERAMMO3].behavior =
jjObjectPresets[OBJECT::RFAMMO3].behavior =
jjObjectPresets[OBJECT::TOASTERAMMO3].behavior =
jjObjectPresets[OBJECT::GUN8AMMO3].behavior = CannotBeBuried();
jjWeapons[WEAPON::TOASTER].multiplier = 24;
array<jjLAYER@> extraLayers = jjLayersFromLevel("ab19btl08ex.j2l", array<uint> = {5,6,7,8}, 0);
jjLayerOrderSet(array<jjLAYER@> = {jjLayers[1], jjLayers[2], jjLayers[3], jjLayers[4], jjLayers[5], jjLayers[6], extraLayers[0], jjLayers[7], extraLayers[1], extraLayers[2], extraLayers[3], jjLayers[8]});
for (uint animID = 2; animID <= 3; ++animID) {
jjANIMATION@ anim = jjAnimations[jjAnimSets[ANIM::COMMON].firstAnim + animID];
for (uint frameID = 0; frameID < anim.frameCount; ++frameID) {
jjANIMFRAME@ frame = jjAnimFrames[anim.firstFrame + frameID];
jjPIXELMAP image(frame);
for (uint x = 0; x < image.width; ++x)
for (uint y = 0; y < image.height; ++y)
if (image[x,y] != 0)
image[x,y] = 24 + (image[x,y] & 7);
image.save(frame);
}
}
}
class CannotBeBuried : jjBEHAVIORINTERFACE {
void onBehave(jjOBJ@ obj) {
obj.behave(BEHAVIOR::PICKUP);
if (jjMaskedPixel(int(obj.xPos), int(obj.yPos) + 8)) {
obj.state = STATE::FLOAT;
}
}
}
void onFunction0(jjPLAYER@ play) {
play.showText("@@@@Hyperviolence!@Created by PurpleJazz of XLM (2015-2017)@Tileset by Skulg@np: Sonic Mayhem - Quad Machine [3:35]");
}
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.