Originally Posted by
deejaay
Really cool stuff, been messing with it and the possibilities with it are gonna be awesome. Can't seem to get the PaintInterval to work though.
PaintInterval seems to work for me with this:
Simba Code:
{$i Layer/Layer.simba}
begin
Layer.Init(); // Setup the layer - will target what has been picked with simba's crosshairs
Layer.PaintInterval(100); // Automaticly update the layer every 100ms
// The layer will close when the script terminates, for this test let's keep it running for 5 seconds
while (GetTimeRunning() < 5000) do
begin
LayerBitmap.Rectangle(IntToBox(100, 100, 200, 200), Random($FFFFFF));
Wait(500);
end;
end;