catsrback321
2014-06-24 14:41:37
Hi everyone,
I was just hoping someone could quickly explain pixel shift for me as the Tutorial is out of date.
I need it to try and detect if I have stopped cutting a tree.
Thanks for reading.
edit:
This is pretty much what I've got so far
I was just hoping someone could quickly explain pixel shift for me as the Tutorial is out of date.
I need it to try and detect if I have stopped cutting a tree.
Thanks for reading.
edit:
This is pretty much what I've got so far
function AmIMoving:boolean;
var
Shuffle:integer;
PSB:Tbox
begin
PSB:=IntToBox(260, 140, 310, 225);
begin
Shuffle:= (getPixelShift(PSB, 2000));
if Shuffle>(1000) then
writeln('we are moving');
end;
end