Downloads containing BLGnf03.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
#pragma require "spacetemple.j2t" ///@MLLE-Generated
const bool MLLESetupSuccessful = MLLE::Setup();
#pragma require "BLGnf03-MLLE-Data-1.j2l"
#pragma require "LomatLn.j2t"
#pragma require "Aztec2.j2t"
#pragma require "BLGnf03.j2l"

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

}

void SnowFood() {

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

    anim.frameCount = 1;

    jjANIMFRAME@ frame = jjAnimFrames[anim.firstFrame];

    jjPIXELMAP snowflake((10*370));
 
   snowflake.save(frame);

    frame.hotSpotX = -frame.width / 2;

    frame.hotSpotY = -frame.height / 2;

}

void RudeFood() {

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

    anim.frameCount = 1;

    jjANIMFRAME@ frame = jjAnimFrames[anim.firstFrame];

    jjPIXELMAP rude((10*370) + 2);
 
   rude.save(frame);

    frame.hotSpotX = -frame.width / 2;

    frame.hotSpotY = -frame.height / 2;


}


void WoodFood() {

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

    anim.frameCount = 1;

    jjANIMFRAME@ frame = jjAnimFrames[anim.firstFrame];

    jjPIXELMAP wood((10*370) + 1);
 
   wood.save(frame);

    frame.hotSpotX = -frame.width / 2;

    frame.hotSpotY = -frame.height / 2;

}

void onLevelLoad() {

    WoodFood();

    SnowFood();
    RudeFood();
}