Can Someone Help Me Detect Div Collision?
I'm working on this dodging game. Can someone please help me with detecting if you are dead/hit?
just check if the
left properties of the two elements are in range that they are colliding
so in your case if
pos_y are same enough as
pos_y_2 that means its collided