Downloads containing Toxicity.j2as

Downloads
Name Author Game Mode Rating
TSF with JJ2+ Only: Anniversary Bash 21 Levels Jazz2Online Multiple N/A Download file
JJ2+ Only: Toxicity Electric Ir Battle 6.7 Download file

File preview

void onLevelBegin() { 
jjLAYER@ toxicity = jjLayers[7];
toxicity.xAutoSpeed += 15;
toxicity.yAutoSpeed -= 0;

  
}

int TileX = 4;
int doSwitch = 1;
const string serverMessage = "\ Welcome aboard... Where do you want to go?";

void onMain() {


if (TileX == 4) {

int x,y,cx,cy;
    cx = jjResolutionWidth - 780;
    cy = jjResolutionHeight - 380;
    x = int(p.cameraX) + cx;
    y = int(p.cameraY) + cy;

		jjDrawRectangle(p.xPos+jjSubscreenWidth/2 + jjSubscreenWidth/6*1,p.yPos-jjSubscreenHeight, jjSubscreenWidth, jjSubscreenHeight*3, 0, SPRITE::NORMAL, 0, doSwitch);
		jjDrawRectangle(p.xPos-jjSubscreenWidth,p.yPos+jjSubscreenHeight/3- jjSubscreenHeight/6*1, jjSubscreenWidth*2, jjSubscreenHeight*4, 0, SPRITE::NORMAL, 0, doSwitch);
		jjDrawRectangle(p.xPos-jjSubscreenWidth*3.25 + jjSubscreenWidth/6*1,p.yPos-jjSubscreenHeight, jjSubscreenWidth, jjSubscreenHeight*4, 0, SPRITE::NORMAL, 0, doSwitch);
		jjDrawRectangle(p.xPos-jjSubscreenWidth,p.yPos-jjSubscreenHeight*1.25+ jjSubscreenHeight/6*1, jjSubscreenWidth*2, jjSubscreenHeight, 0, SPRITE::NORMAL, 0, doSwitch);
	if(!p.isSpectating) {	jjDrawString(x, y, serverMessage, STRING::MEDIUM, STRING::BOUNCE, 1, 1); }


	}

}

void onFunction1(jjPLAYER@ play) {

doSwitch++;
TileX++;
	jjMusicLoad("toxic_sinope.mod");

jjLAYER@ toxicity = jjLayers[7];
	play.warpToID(0);
toxicity.xAutoSpeed = 0;
play.lighting = 80;

p.showText("@@@''Toxicity''@|||by [GpW]Electric@#Made in Holland@(c) 2019");
}

void onFunction2(jjPLAYER@ play) {
doSwitch++;
TileX++;
	jjMusicLoad("toxic_sinope.mod");

jjLAYER@ toxicity = jjLayers[7];
play.warpToID(1);
toxicity.xAutoSpeed = 0;
play.lighting = 80;

p.showText("@@@''Toxicity''@|||by [GpW]Electric@#Made in Holland@(c) 2019");
	
}

void onFunction3(jjPLAYER@ play) {
doSwitch++;
TileX++;
	jjMusicLoad("toxic_sinope.mod");

jjLAYER@ toxicity = jjLayers[7];
	play.warpToID(2);
toxicity.xAutoSpeed = 0;
play.lighting = 80;

p.showText("@@@''Toxicity''@|||by [GpW]Electric@#Made in Holland@(c) 2019");
}

void onFunction4(jjPLAYER@ play) {
doSwitch++;
TileX++;
	jjMusicLoad("toxic_sinope.mod");

jjLAYER@ toxicity = jjLayers[7];
	play.warpToID(4);
toxicity.xAutoSpeed += 15;
toxicity.yAutoSpeed -= 0;
play.lighting = 37;

p.showText("@@@''Toxicity''@|||by [GpW]Electric@#Made in Holland@(c) 2019");

}