Well, i have written a little 100m dash program and i want to paint the runners shirts in different colors, but i dont want to have to load a load of different pictures, so i tried changing the color as follows: (i used (0,255,0) for the color of the shirt in my bitmap)
as an example i like to set the color to (100,100,100)
load bitmap "runner/rw1.bmp",500
set current bitmap 500
shirt = rgb(100,100,100)
for y=1 to 24
for x=1 to 14
if point(x,y)=rgb(0,255,0)
dot x,y,shirt
endif
next x
next y
get image 101,0,0,14,24
method works great as far as it checks all the points and eventually gets the image for me, but! it never once recognises point(x,y) = rgb(0,255,0) (both return a DWORD should be the same if color is same, no?)
is there an easier way to do this?
it's getting on my nerves...