Alright I'm trying to make a game using Java-Script, it is a 2-D side scroller
if ( xPositions[i]>this.x && xPositions[i]<this.x+50 && yPositions[i]>y && yPositions[i]<y+50) {
y-= 5;
fill(255, 255, 255, 127);
stroke(0, 0, 0, 127);
rect(80, 110, 280, 150, 15)...