Downloads containing blgrawr3.j2as

Downloads
Name Author Game Mode Rating
TSF with JJ2+ Only: Project RejectFeatured Download Rysice Single player 8.9 Download file

File preview

void SnowFood() {

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

    anim.frameCount = 1;

    jjANIMFRAME@ frame = jjAnimFrames[anim.firstFrame];

    jjPIXELMAP snowflake((10*36) + 5);
 
   snowflake.save(frame);

    frame.hotSpotX = -frame.width / 2;

    frame.hotSpotY = -frame.height / 2;

}

void RudeFood() {

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

    anim.frameCount = 1;

    jjANIMFRAME@ frame = jjAnimFrames[anim.firstFrame];

    jjPIXELMAP rude((10*36) + 4);
 
   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*36) + 8);
 
   wood.save(frame);

    frame.hotSpotX = -frame.width / 2;

    frame.hotSpotY = -frame.height / 2;

}


void onLevelLoad() {

    WoodFood();

    SnowFood();
    RudeFood();
}