Name | Author | Game Mode | Rating | |||||
---|---|---|---|---|---|---|---|---|
Anniversary Bash 18 Levels | Jazz2Online | Multiple | N/A |
const array<uint16> tilesToDarken = {
410, 428, 429, 446, 447, 448, 449, 456, 457, 458, 459, 466, 467, 468, 469, 488, 489, 498, 499, 508, 509, 518, 519, 528, 529, 538, 539
};
void onLevelLoad() {
jjUseLayer8Speeds = true;
jjSetWaterGradient(5, 0, 15, 50, 0, 100);
jjWaterLighting = WATERLIGHT::GLOBAL;
jjSetWaterLevel(32*74.7, true);
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);
}
}
jjPalette.gradient(23,37,107, 0,0,11, 208, 16);
for (uint16 i = 0; i < tilesToDarken.length(); i++) {
jjPIXELMAP darkCaves(tilesToDarken[i]);
for (uint x = 0; x < darkCaves.width; ++x)
for (uint y = 0; y < darkCaves.height; ++y)
if (darkCaves[x,y] >= 112 && darkCaves[x,y] <= 127)
darkCaves[x,y] += 96;
darkCaves.save(tilesToDarken[i], true);
}
jjPIXELMAP blackTile(96);
for (uint x = 0; x < blackTile.width; ++x) {
for (uint y = 0; y < blackTile.height; ++y) {
blackTile[x,y] = 39;
}
}
blackTile.save(96, true);
}
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.