I've been trying to find a way to scan the main screen for new/moving colors. Can any one post a suggestion or a procedure?
I've been trying to find a way to scan the main screen for new/moving colors. Can any one post a suggestion or a procedure?
Last edited by Main; 04-22-2010 at 09:40 AM.
Oh Hai Dar
Hey, you should try these :
Those can be found in:Code:// * function PixelShiftMulti(B: TBoxArray; T: Integer): TIntegerArray; // * by marpis // * function PixelShift(B: TBox; Time: Integer): Integer; // * by marpis // * function AnimatingMulti(B: TBoxArray; Time, MinCount: Integer): TBooleanArray; /Code:\Includes\SRL\SRL\core
~Home
( :
Whoa, didn't knew there was a animation.scar
How can I implement this as tpoints? Because it just counts moving pixels.
Oh Hai Dar
How can I do that? It doesn't give me coords of the changing pixel.
Oh Hai Dar
edit the functions in your own script,![]()
<TViYH> i had a dream about you again awkwardsaw
Malachi 2:3
Or when you set your TBox just make it a TPoint by making if have the same x1 and x2 coord and y1 and y2 coord. That might not work though because iirc it searches within that TBox for a certain number of pixels that have changed of a certain period of time.
"Failure is the opportunity to begin again more intelligently" (Henry Ford)
On that line, instead of incrementing the result, push a TPoint on to the resulting TPA.SCAR Code:If(FastGetPixel(BMP[I], X, Y) <> FastGetPixel(BMP2[I], X, Y))Then
Inc(Result[I]);
Join the IRC! irc.rizon.net:6667/srl | SQLite (0.99rc3+) | SRL Doc | Simba Doc | Extra Simba Libraries (openSSL & sqlite3)
Originally Posted by #srl
"A programmer is just a tool which converts caffeine into code"
Would these functions also find fishing spots. (Be used to find fishing spots?)
It could find if something is moving, so probably.
There are currently 1 users browsing this thread. (0 members and 1 guests)