yourule97
2014-09-12 09:12:43
Hi, I'm pretty new to this language, but I've been following Mayor's tutorial step by step but instead with trees. However, trees are a generic brown color and every time I try to adjust the color values, I still get like 100 boxes on my screen.
My other idea was to only find dead trees and chop those, but the ground near dead trees happens to be a similar color to those trees.
Thanks for the help!
findColorsSpiralTolerance(x, y, TPA, 2572356, mainScreen.getBounds(), 9, colorSetting(2, 0.56, 1.88));
if length(TPA) < 1 then
exit;
ATPA := TPA.toATPA(30, 30);
ATPA.filterBetween(0, 10);
ATPA.sortFromMidPoint(mainscreen.playerPoint);
smartImage.debugATPA(ATPA);My other idea was to only find dead trees and chop those, but the ground near dead trees happens to be a similar color to those trees.
Thanks for the help!
