Name | Author | Game Mode | Rating | |||||
---|---|---|---|---|---|---|---|---|
Megaman X style walljump | szmol96 | Mutator | N/A |
/**MegaMan X style WallJump**/
/**Author: szmol96**/
bool jumpKey;
void onPlayer(jjPLAYER@ p) {
if (jjMaskedPixel(p.xPos + (p.direction * 13), p.yPos) && p.ySpeed > 0 && (p.keyRight || p.keyLeft)) {
p.ySpeed = 1;
p.doubleJumpCount = 0;
if (p.keyJump && !jumpKey) {
p.ySpeed = -10;
p.direction = p.direction * (-1);
p.xSpeed = p.direction * 5;
}
}
jumpKey = p.keyJump;
}
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.