• Create Account

Posted 15 August 2012 - 03:33 PM

is there supposed to be a particular width? Otherwise before this condition will pass, it needs pixel perfect accuracy

	if((mouseX>trackingposX[i]&&mouseX<trackingposX[i]+WIDTH)&&(mouseY>trakingposY[k]&&mouseY<trakingposY[k]+HEIGHT))


*edited to add: I just noticed Neverending_Loop has k+1 for the second traack, my bad

	if((mouseX>trackingposX[i]&&mouseX<trackingposX[i+1]+WIDTH)&&(mouseY>trakingposY[k]&&mouseY<trakingposY[k+1]+HEIGHT))