getPixel() with different resolutions

Posted 17 January 2013 - 09:28 AM

I am trying to print out the color of a pixel (200,200). Ultimately I am trying to check the health of my player in a game based on the color of the pixel. However I have different resolutions on my laptop and desktop and I want the code to be able to find the right pixel.