Name | Author | Game Mode | Rating | |||||
---|---|---|---|---|---|---|---|---|
Anniversary Bash 18 Levels | Jazz2Online | Multiple | N/A | |||||
Nightwalker | PurpleJazz | Capture the flag | 8.2 |
void onLevelLoad() {
jjUseLayer8Speeds = true;
jjTexturedBGFadePositionY = 0.43;
jjWeapons[WEAPON::GUN8].comesFromGunCrates =
jjWeapons[WEAPON::GUN9].comesFromGunCrates = 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;
jjObjectPresets[OBJECT::REDSPRING].behavior = offsetPosition;
const array<uint16> Tiles = {683, 684, 685, 689, 693, 694, 696, 698, 703, 704, 707, 713, 714, 717, 718, 719, 727, 728, 729, 737, 738, 739};
for (int i = 0; i < 22; ++i) {
jjPIXELMAP tilesToFill(Tiles[i]);
for (uint x = 0; x < tilesToFill.width; ++x)
for (uint y = 0; y < tilesToFill.height; ++y)
if (tilesToFill[x,y] == 0)
tilesToFill[x,y] = 143;
tilesToFill.save(Tiles[i], true);
}
}
void coloredSpring(jjOBJ@ obj) {
obj.behave(BEHAVIOR::SPRING, false);
jjDrawSpriteFromCurFrame(obj.xPos, obj.yPos, obj.curFrame, obj.direction, SPRITE::PALSHIFT, 216);
}
void offsetPosition(jjOBJ@ obj) {
obj.behave(BEHAVIOR::SPRING);
if (obj.xPos > 88*32 && obj.xPos < 90*32) obj.xPos = obj.xOrg + 12;
}
void onFunction0(jjPLAYER@ play) {
play.showText("@@@@Nightwalker@Created by PurpleJazz of XLM (2015)@Tileset conversion by Violet CLM@np: Michiel van den Bos - Mountain Fortress [5:06]");
}
void onFunction1(jjPLAYER@ play) {
play.showText("@@@@Spawn Times@Ammo: 16@+1 Carrot: 16@Full NRG: 28@Powerups: 28");
}
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.