Downloads containing saldr7.j2as

Downloads
Name Author Game Mode Rating
TSF with JJ2+ Only: Devan's Revenge (Intro)Featured Download sAlAmAnDeR Single player 9.6 Download file

File preview

#include "SaLLiB-v2.0.asc"
#include "saldr-common.asc"
#include "saldr-devan.asc"

void onLevelBegin() {
	/*jjSetFadeColors(255,192,0);
	jjPalette.gradient(255, 255, 128, 128, 32, 0, 176, 32);
	jjPalette.apply();*/
	jjSetFadeColors(0,0,0);
	jjPalette.gradient(255, 0, 0, 128, 32, 0, 176, 32);
	jjPalette.apply();
	
	IRabbitEnemy@ r1 = @JumpingShootingRabbitEnemy(CHAR::SPAZ,57*32,246*32);
	r1.becomeBlacky();
	r1.direction = -1;
	r1.hearts = 3;
	r1.weapon = 2;
	r1.fastFire = 35;
	r1.facePlayer = true;
	
	@devanPlayer = @DevanShell(jjLocalPlayers[0]);
	@CUSTOM::UI = @CUSTOM::EnhancedUI();
	CUSTOM::UI.drawLives = false;
	CUSTOM::UI.addElement(DevanLivesUI(devanPlayer));
	CUSTOM::weapons.registerWeapon(1,devanBlaster,DevanBlasterUI(devanPlayer));
	CUSTOM::weapons.registerWeapon(6,devanFireBreath,DevanFireBreathUI(devanPlayer));
	jjLocalPlayers[0].morphTo(CHAR::SPAZ);
}

void onMain() {
	devanPlayer.update();
}