Downloads containing Stargazer.j2as

Downloads
Name Author Game Mode Rating
JJ2+ Only: StargazerFeatured Download Slaz Tileset 8.2 Download file

File preview

/*** Written or lazily copypasted by Slaz with help from Violet CLM ***/
/*** Feel free to use/edit this script like I did :P ***/

/*** Eyecandy functions ***/
void onLevelLoad() {
	jjSetWaterGradient(73, 64, 112, 102, 89, 145);
	jjWaterChangeSpeed = 0;
}

void onPlayer(jjPLAYER@ play) {
	jjPARTICLE@ part = jjAddParticle(PARTICLE::ICETRAIL);
	if (part !is null) {
		part.icetrail.colorDelta = -1;
		part.xPos = play.cameraX + (jjRandom() % jjSubscreenWidth);
		part.yPos = play.cameraY;
	}
}

/*** Gameplay functions ***/
void onDrawLayer4(jjPLAYER@ play, jjCANVAS@ screen) {
	jjSetWaterLevel(32*40, true);
	jjWaterLighting = (WATERLIGHT::GLOBAL);
}