Downloads containing ezrr.j2as

Downloads
Name Author Game Mode Rating
TSF with JJ2+ Only: Anniversary Bash 17 Levels Jazz2Online Multiple N/A Download file
JJ2+ Only: Robust RuinsFeatured Download FawFul Battle 9 Download file

File preview

array<int> x, y;
void onLevelLoad() {	
	jjTexturedBGUsed = true;
	jjTexturedBGStars = false;
	jjTexturedBGStyle = TEXTURE::TUNNEL;
	jjTexturedBGFadePositionY = 0.1;
	jjTexturedBGFadePositionX = 0.5;
	jjLayerXAutoSpeed[8] = 0.5;
	jjLayerYAutoSpeed[8] = 0;
	jjLayerXSpeed[5] = 0;
	jjLayerYSpeed[5] = 0;
	jjObjects[0].determineCurAnim(ANIM::DESTSCEN, 0, false);
	const array<int> replacedTiles = {584, 589, 614, 615};
	for (int i = 0; i < jjLayerHeight[4]; i++) {
		for (int j = 0; j < jjLayerWidth[4]; j++) {
			if (replacedTiles.find(jjTileGet(4, j, i)) >= 0) {
				x.insertLast((j << 5) + 17);
				y.insertLast((i << 5) + 5);
			}
		}
	}
}
void onDrawLayer6(jjPLAYER@, jjCANVAS@ canvas) {
	for (uint i = 0; i < x.length(); i++) {
		for (int j = 0; j < 12; j++) {
			canvas.drawSprite(x[i] + j * 2, y[i] + j, ANIM::DESTSCEN, 0, 0, 0, SPRITE::SINGLECOLOR, 65);
		}
	}
}