Downloads containing ab20btl11.j2as

Downloads
Name Author Game Mode Rating
TSF with JJ2+ Only: Anniversary Bash 20 Levels Jazz2Online Multiple N/A Download file

File preview

  1. void onLevelLoad() {
  2.         jjObjectPresets[OBJECT::STOMPSCENERY].lightType = LIGHT::FLICKER;      
  3.         jjUseLayer8Speeds = true;
  4.  
  5.         for (int i = 0; i < jjLayerWidth[4]; i++) {
  6.                 for (int j = 0; j < jjLayerHeight[4]; j++) {
  7.                         if (jjEventGet(i, j) == OBJECT::GENERATOR && jjParameterGet(i, j, 8, 8) == 13)
  8.                                 jjParameterSet(i, j, 8, 8, 6);
  9.                 }
  10.         }
  11. }
  12.  
  13. void onPlayer(jjPLAYER@ play) {
  14.         if (play.xPos > 100*32) {
  15.                 play.lighting = 40;
  16.                 jjLayers[8].xOffset = 9999;     //somehow this was the best result
  17.         }
  18.         else {
  19.                 play.lighting = 80;
  20.                 jjLayers[8].xOffset = 0;
  21.         }
  22. }
  23.  
  24. void onDrawLayer4(jjPLAYER@, jjCANVAS@ layer) {
  25.         layer.drawString(166*32, 36*32 + 16, "ŠpottyDM", STRING::SMALL, STRING::NORMAL, 0, SPRITE::BLEND_NORMAL, 127);
  26. }