Downloads containing BLGnf02.j2as

Downloads
Name Author Game Mode Rating
TSF with JJ2+ Only: Several asymmetrical... Rysice Multiple N/A Download file

File preview

  1. #include "MLLE-Include-1.6.asc" ///@MLLE-Generated
  2. const bool MLLESetupSuccessful = MLLE::Setup();
  3. #pragma require "DiamGardenFix.j2t"
  4. #pragma require "BLGnf02-MLLE-Data-1.j2l"
  5. #pragma require "medviod.j2t"
  6. #pragma require "Aztec2.j2t"
  7. #pragma require "Damn1.j2t"
  8. #pragma require "Castle1.j2t"
  9. #pragma require "BLGnf02.j2l"
  10. void onLevelLoad() {
  11.         jjWaterLayer = 6;
  12.         jjSetWaterGradient(12,34,70,50,10,08);
  13.     WoodFood();
  14.         jjObjectPresets[OBJECT::APPLE].direction = SPRITE::FLIPV;
  15. }
  16.  
  17. void onDrawLayer6(jjPLAYER@ play, jjCANVAS@ screen) {
  18.         jjSetWaterLevel(-32, true);
  19. }
  20.  
  21. void onDrawLayer4(jjPLAYER@ play, jjCANVAS@ screen) {
  22.         jjSetWaterLevel(1800, true);
  23. }
  24.  
  25. void onPlayer(jjPLAYER@ play) { play.noFire = (play.currWeapon == WEAPON::BLASTER);
  26.  
  27. }
  28.  
  29. void WoodFood() {
  30.  
  31.     jjANIMATION@ anim = jjAnimations[jjObjectPresets[OBJECT::CANDY].curAnim];
  32.  
  33.     anim.frameCount = 1;
  34.  
  35.     jjANIMFRAME@ frame = jjAnimFrames[anim.firstFrame];
  36.  
  37.     jjPIXELMAP wood((10*40) + 6);
  38.  
  39.    wood.save(frame);
  40.  
  41.     frame.hotSpotX = -frame.width / 2;
  42.  
  43.     frame.hotSpotY = -frame.height / 2;
  44.  
  45. }