Jump help please :) (solved)

I kinda ditched the Mario concept but trying a new game. I want to support 2 players but the 2nd player can’t jump. the red square is arrow keys and the blue square is WAD.

beta perfect collision7-17-2020_2-06-58PM.wick (28.9 KB)

Update:
if (this.hitTest(ground) ) {
this.y +=characterspeed;
}

Keypressed:
if (key === “up”)
this.y-= any number

Update:
this.y+= any number

Fixed it, no need to help anymore :smiley:

1 Like