Name | Author | Game Mode | Rating | |||||
---|---|---|---|---|---|---|---|---|
Anniversary Bash 24 Battle | Jazz2Online | Battle | N/A |
const bool MLLESetupSuccessful = MLLE::Setup(array<MLLEWeaponApply@> = {null, ArcaneWeapons::MeteorGun::Weapon(), null, null, null, null, null, null, null}); ///@MLLE-Generated
#include "MLLE-Include-1.5w.asc" ///@MLLE-Generated
#pragma require "ab24btl02-MLLE-Data-1.j2l" ///@MLLE-Generated
#pragma require "ab24btl02.j2l" ///@MLLE-Generated
#include "ArcaneWeapon2.asc" ///@MLLE-Generated
#pragma require "ArcaneWeapon2.asc" ///@MLLE-Generated
void onMain() {
MLLE::WeaponHook.processMain();
}
void onDrawLayer3(jjPLAYER@ play, jjCANVAS@ canvas) {
drawEyes(canvas,5*32 + 18,9*32 + 23,int(play.xPos),int(play.yPos),3,2);
drawEyes(canvas,5*32 + 12,9*32 + 24,int(play.xPos),int(play.yPos),4,3);
drawEyes(canvas,2*32 + 12,8*32 + 23,int(play.xPos),int(play.yPos),3,2);
drawEyes(canvas,2*32 + 18,8*32 + 24,int(play.xPos),int(play.yPos),4,3);
}
bool onDrawAmmo(jjPLAYER@ player, jjCANVAS@ canvas) {
return MLLE::WeaponHook.drawAmmo(player, canvas);
}
const float PI = 3.1415927f;
void drawEyes(jjCANVAS@ canvas,int x,int y,int targetX, int targetY,int maxX,int maxY) {
int angle = int(atan2(targetY - y, targetX - x) * (512 / PI));
canvas.drawRectangle(int(x + (jjCos(angle) * maxX)),int(y + (jjSin(angle) * maxY)),2,2,0);
}
Jazz2Online © 1999-INFINITY (Site Credits). We have a Privacy Policy. Jazz Jackrabbit, Jazz Jackrabbit 2, Jazz Jackrabbit Advance and all related trademarks and media are ™ and © Epic Games. Lori Jackrabbit is © Dean Dodrill. J2O development powered by Loops of Fury and Chemical Beats.
Eat your lima beans, Johnny.