is there a way to find a Changing color on a Single Colored block BG (in my case black or white) thats already built into scar? in my mind it would seem a useful function but i can't find any in the built-in functions list
i've made my own but i was just curious.
Code:function FindNotColor(var x, y: Integer; Color, xs, ys, xe, ye: Integer): Boolean; var xx, yy: Integer; begin for xx := xs to xe do for yy := ys to ye do if GetColor(xx, yy) <> Color then begin x := xx; y := yy; Result := True; //If you want it to work faster then you need to //put Exit; here or something :p end; end;


Reply With Quote

















