Downloads containing tdctf06.j2as

Downloads
Name Author Game Mode Rating
JJ2+ Only: FauztinvilleFeatured Download ThunDerDraGon Capture the flag 8.3 Download file

File preview


void onLevelLoad () {
	jjLayers[6].spriteMode = jjLayers[7].spriteMode = SPRITE::BRIGHTNESS;
	jjLayers[6].spriteParam = jjLayers[7].spriteParam = 50;
	jjMASKMAP TFV(false);
	jjMASKMAP ET(false);
	for (uint x = 0; x < 32; ++x) {
		for (uint y = 15; y < 17; ++y) { 
		  TFV[x,y] = true;
		} 
	}
	ET.save(89, true);
	TFV.save(708, true);
}

void onMain() {
	for (int i = 1; i < jjObjectCount; i++) { 
	   jjOBJ@ o = jjObjects[i];
	   if (o.isActive) {
	       if (o.behavior == BEHAVIOR::PICKUP && o.state == STATE::FLOATFALL) {
		     o.state = STATE::FLOAT;
	        }
	   }
	}
}