auto("fast");
requestScreenCapture()
launchPackage("com.cmplay.tiles2");
var img;
sleep(1);
for (;;) {
img = captureScreen();
if (images.detectsColor(img,"#000000", 135, 1111,threads = 15)) {
press(135,1300,1);
continue;
}

if (images.detectsColor(img,"#000000", 405, 911,threads = 15))

{
press(405, 1050,1);
continue;
}

if (images.detectsColor(img,"#000000", 675, 911,threads = 15))

{
press(675, 1050,1);
continue;
}

if (images.detectsColor(img,"#000000", 945, 1111,threads = 15)) {
press(945, 1300,1);
continue;
}
sleep(1);
}

  • 4
    帖子
  • 430
    浏览

与 Auto.js 的连接断开,我们正在尝试重连,请耐心等待