uncfan1119
2014-10-24 23:18:46
I'm having trouble getting Simba to store thee values of x and y when using FindColorSpiralTolerance or FindColorTolerance. x and y are declared globally under var. The issue is that color is not found at 1,1. What am I doing wrong?
The output will read as this:
repeat
FindColorSpiralTolerance(x, y, 16767888, 1, 1, 400, 400, 500);
Writeln('Color was found at (' + IntToStr(x) + ',' + IntToStr(y) + ').');
until(false) The output will read as this:
Color was found at (1,1).
Color was found at (1,1).
Color was found at (1,1).
Color was found at (1,1).
Color was found at (1,1).