Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
getting the color # value of one pixel on the screen
#1
is there a way to find the number value
(1 is blue, 4 is red, 7 grey etc.) of a spot on the screen?
such as:
let color = col(100,250)
???????????????
i am using it for collision detection in a game and i would like to get the color value of the position that the projectile is at at one time
(if it passes over red it ingnites)
IS THERE A FUNCTION TO DO THIS?
i have already GOT (GET (blah,b...) the values of certain colors and printed the value on the screen, but they turn out to be something like 2.313824E-41 (happens to be color 1 -blue)
is there a way to get the normal colors values of a given position?

gaaaa! :barf: thx in advance folks
if somebody cuts of your hand you still have two sharp bones to stick in thier eyes"
Reply


Messages In This Thread
getting the color # value of one pixel on the screen - by Roadkill - 05-25-2003, 08:27 AM
And in case you're interested,... - by Glenn - 05-25-2003, 08:35 AM
I think POINT should... - by Glenn - 05-25-2003, 09:18 AM
Re: I think POINT should... - by RST - 05-28-2003, 05:23 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)