Downloads containing BLGnf02.j2as

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

File preview

#include "MLLE-Include-1.6.asc" ///@MLLE-Generated
const bool MLLESetupSuccessful = MLLE::Setup();
#pragma require "DiamGardenFix.j2t"
#pragma require "BLGnf02-MLLE-Data-1.j2l"
#pragma require "medviod.j2t"
#pragma require "Aztec2.j2t"
#pragma require "Damn1.j2t"
#pragma require "Castle1.j2t"
#pragma require "BLGnf02.j2l"
void onLevelLoad() {
	jjWaterLayer = 6;
	jjSetWaterGradient(12,34,70,50,10,08);
    WoodFood();
	jjObjectPresets[OBJECT::APPLE].direction = SPRITE::FLIPV;
}

void onDrawLayer6(jjPLAYER@ play, jjCANVAS@ screen) {
	jjSetWaterLevel(-32, true);
}

void onDrawLayer4(jjPLAYER@ play, jjCANVAS@ screen) {
	jjSetWaterLevel(1800, true);
}

void onPlayer(jjPLAYER@ play) { play.noFire = (play.currWeapon == WEAPON::BLASTER); 

}

void WoodFood() {

    jjANIMATION@ anim = jjAnimations[jjObjectPresets[OBJECT::CANDY].curAnim];

    anim.frameCount = 1;

    jjANIMFRAME@ frame = jjAnimFrames[anim.firstFrame];

    jjPIXELMAP wood((10*40) + 6);
 
   wood.save(frame);

    frame.hotSpotX = -frame.width / 2;

    frame.hotSpotY = -frame.height / 2;

}