PDA

View Full Version : problem



alanair23
09-28-2001, 02:00 PM
How can i get the color of a pixel... For example (x=100,y=100,color=1 "random") // color is random !!!!
and I want to get the color of this pixel.... and if the color=1 bla bla.... and so on... I need this for my game.. please help me...

Hillbillie
09-28-2001, 09:19 PM
Uh, are you using a library or inline asm? In BGI, there's GetPixel() I think (or something similar).