Name | Author | Game Mode | Rating | |||||
---|---|---|---|---|---|---|---|---|
Stone Abyss | Bloody_Body | Single player | 9.6 |
//можно нарисовать абордажние крюки или крюки в виде якорей. Отсутствующие ступеньки, морские звёзды
//рыбы, выпрыгивающие у кромки воды будут весьма кстати.
//чем ниже погружаешься, тем вода темнее
//9 слоёв - почему бы и нет? совместим beach1 и beach2
//отстутствующие ступеньки
//допилить маски
/***Constants***/
bool Final = false, Final1 = false;
int i,c=0,b=0,elapsed=0;
jjPAL Boss;
void onLevelLoad() {
Boss.gradient(0, 0,0, 0, 0,0, 0, 10, 1.0);
Boss.gradient(255, 255,255, 255, 255,255, 10, 6, 1.0);
Boss.gradient(199, 255,0, 199, 255,0, 16, 1, 1.0);
Boss.gradient(143, 219,0, 0, 11,0, 17, 7, 1.0);
Boss.gradient(255, 0,0, 163, 0,0, 24, 4, 1.0);
Boss.gradient(135, 0,0, 11, 0,0, 28, 4, 1.0);
Boss.gradient(187, 227,255, 0, 139,255, 32, 4, 1.0);
Boss.gradient(0, 107,203, 0, 7,11, 36, 4, 1.0);
Boss.gradient(255, 255,0, 255, 199,0, 40, 2, 1.0);
Boss.gradient(255, 147,0, 255, 95,0, 42, 2, 1.0);
Boss.gradient(203, 55,0, 11, 0,0, 44, 4, 1.0);
Boss.gradient(251, 139,183, 239, 0,99, 48, 4, 1.0);
Boss.gradient(191, 0,71, 55, 0,19, 52, 3, 1.0);
Boss.gradient(0, 3,0, 0, 3,0, 55, 1, 1.0);
Boss.gradient(220, 165,113, 154, 129,100, 56, 3, 1.0);
Boss.gradient(219, 195,0, 11, 7,0, 59, 5, 1.0);
Boss.gradient(255, 243,211, 255, 243,211, 64, 1, 1.0);
Boss.gradient(219, 207,175, 11, 7,7, 65, 7, 1.0);
Boss.gradient(211, 231,255, 211, 231,255, 72, 1, 1.0);
Boss.gradient(171, 195,219, 107, 127,155, 73, 3, 1.0);
Boss.gradient(75, 95,119, 7, 7,11, 76, 4, 1.0);
Boss.gradient(0, 255,195, 0, 11,7, 80, 8, 1.0);
Boss.gradient(231, 119,255, 11, 0,7, 88, 8, 1.0);
Boss.gradient(205,20,100, 140, 60, 70, 96, 3, 1.0);//wood
Boss.gradient(125,50,60, 0, 0, 0, 99, 13, 1.0);//wood
Boss.gradient(200,140,50, 0, 0, 0, 112, 16, 1.0);//sand
Boss.gradient(100,250,170, 0, 0, 0, 128, 16, 1.0);//grass
Boss.gradient(255,220,60, 215, 125, 50, 144, 4, 1.0);//shells
Boss.gradient(205,100,45, 60, 30, 0, 148, 12, 1.0);//shells
Boss.gradient(175,10,80, 110, 45, 50, 160, 3, 1.0);//ships
Boss.gradient(95,30,40, 0, 0, 0, 163, 13, 1.0);//ships
Boss.gradient(0,0,0, 0, 0, 0, 176, 16, 1.0);
Boss.gradient(140,50,25, 0, 0, 0, 192, 32, 1.0);
//Boss.gradient(222,222,222, 222, 222, 222, 224, 32, 1.0);
//jjObjectPresets[OBJECT::TUBETURTLE].behavior = TUBETURTLE1;
//jjPalette.gradient(255, 130, 0, 190, 120, 0, 96, 16, 1.0);
//jjPalette.gradient(175, 110, 0, 0, 0, 0, 98, 14, 1.0);
//jjPalette.gradient(240, 200, 0, 20, 20, 0, 112, 16, 1.0);
//jjPalette.gradient(100, 205, 160, 20, 0, 10, 128, 16, 1.0);
//jjPalette.gradient(220, 220, 90, 170, 175, 75, 144, 2, 1.0);
//jjPalette.gradient(155, 160, 70, 0, 0, 0, 146, 14, 1.0);
//jjPalette.gradient(160, 60, 0, 20, 0, 0, 160, 16, 1.0);
//jjPalette.gradient(140, 85, 255, 20, 0, 70, 160, 16, 1.0);
// jjPalette.gradient(255, 255, 255, 0, 80, 200, 192, 32, 1.0);
//jjPalette.gradient(200, 130, 0, 0, 0, 0, 192, 32, 1.0);
jjPalette.apply();
}
void onLevelReload() {
jjPLAYER@ play = jjLocalPlayers[0];
b=0;
Final=false;
Final1 = false;
//jjPalette.gradient(255, 130, 0, 190, 120, 0, 96, 16, 1.0);
//jjPalette.gradient(175, 110, 0, 0, 0, 0, 98, 14, 1.0);
//jjPalette.gradient(240, 200, 0, 20, 20, 0, 112, 16, 1.0);
//jjPalette.gradient(100, 205, 160, 20, 0, 10, 128, 16, 1.0);
jjPalette.gradient(220, 220, 90, 170, 175, 75, 144, 2, 1.0);
jjPalette.gradient(155, 160, 70, 0, 0, 0, 146, 14, 1.0);
//jjPalette.gradient(160, 60, 0, 20, 0, 0, 160, 16, 1.0);
jjPalette.gradient(100, 55, 255, 20, 0, 0, 160, 16, 1.0);
jjPalette.gradient(255, 255, 255, 0, 80, 200, 192, 32, 1.0);
//jjPalette.gradient(200, 130, 0, 0, 0, 0, 192, 32, 1.0);
jjPalette.apply();
//if (play.yPos > 42*32 && (Final1 = false))
//{jjMusicLoad("jazz2-atlantis.it");}
//else if (play.yPos <= 42*32 && (Final1 = false))
//{jjMusicLoad("beach.j2b");}
jjPalette.apply();
}
void onMain() {
jjPLAYER@ play = jjLocalPlayers[0];
if (b<=99 && Final && (jjGameTicks & 20) == 0) {
b++;
jjPalette.reset();
jjPalette.copyFrom(
1,
254,
1,
Boss,
b/100.0
);
jjPalette.apply();
}
else if (b==99) {
Boss.apply();
}
//if (play.yPos > 44*32 && (Final1 = false))
//{++elapsed;
//if (elapsed>140 && play.yPos > 42*32)
//{jjMusicLoad("jazz2-atlantis.it",false);
//elapsed = 0;}}
//if (play.yPos < 42*32 && (Final1 = false))
//{++elapsed;
//if (elapsed>140 && play.yPos <= 42*32)
// {jjMusicLoad("beach.j2b",false);
//elapsed = 0;}}
}
//void TUBETURTLE1(jjOBJ@ enemy) {
// enemy.behave(BEHAVIOR::TUBETURTLE);
// if (enemy.state == STATE::KILL && jjRandom() & 3 == 0)
// {jjAddObject(OBJECT::SILVERCOIN, enemy.xPos, enemy.yPos, p.playerID, CREATOR::PLAYER);}
// }
void onFunction3(jjPLAYER@ play) {
jjTriggers[3]=true;
}
void onFunction4(jjPLAYER@ play) {
jjTriggers[4]=true;
}
void onFunction6(jjPLAYER@ play) {
jjLocalPlayers[i].lighting = 70;
jjTriggers[6]=true;
Final = true;
Final1 = true;
}
void onFunction7(jjPLAYER@ play) {
jjTriggers[7]=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.