I was searching through the posts on this site and i came across this:
How do I get the colour of a pixel at X,Y using c#?
would this method still be effective for trying to get the colour of a pixel just inside a form?
If not, what would be a way to essentially “map” the form in an 2D array of color values?
For example, I have a Tron game, and I want to check to see if the next location of the lightbike already contains another lightbike.
Thanks,
Ian
Using this, you can then do:
So, in your case you can do: