Downloads containing bosschallenge6.j2as

Downloads
Name Author Game Mode Rating
TSF with JJ2+ Only: Hard boss challenge... SmokeNC Single player 5.6 Download file

File preview

void onFunction0(jjPLAYER@ player) {
       player.activateBoss();
      jjMusicLoad("sigma1x2.mp3");
}

void onLevelLoad() {
        jjObjectPresets[OBJECT::RAPIER].energy = 15;
        jjObjectPresets[OBJECT::RAPIER].behavior = yolo;
        jjObjectPresets[OBJECT::RAPIER].xSpeed = 2;


}



void yolo(jjOBJ@ RAPIER) {
	RAPIER.behave(BEHAVIOR::WALKINGENEMY, false);
	jjDrawSpriteFromCurFrame(RAPIER.xPos, RAPIER.yPos, RAPIER.curFrame, RAPIER.direction, SPRITE::TINTED, 103);


}