How do i find out if a specific color in a tile thats 16 x16. I know u can use GetPixel but that only checks for one pixel. I want to check the entire tile for it.
Thanks in advance:D
Printable View
How do i find out if a specific color in a tile thats 16 x16. I know u can use GetPixel but that only checks for one pixel. I want to check the entire tile for it.
Thanks in advance:D
You could use the getbitmapbits or getdibits functions to retreive the bit array of the tile bitmap. You can get information about those api in the MSDN or at allapi.net
VB Code:
For X = 0 To Pic.ScaleWidth For Y = 0 To Pic.ScaleHeight Color = GetPixel(X, Y) Next Y Next X
Thanks:D :D
Here you can find the answer to that one...
http://www.visualbasicforum.com/t51601.html
...lol...:D