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.
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
1 Like