

: First Example: the usage of AnkuLua in real application Now, you are ready to run the script on Android. Note: Do not use Blue Stacks 2 share folder.įor some unknown reasons, the files are corrupted during the transfer from PC to BS2. Suggest to sync the entire "AnkuLua" directory between PC and /sdcard on Android. To sync files between PC and Android, SyncMe is one of the best. It's also better to enable "Auto Saving is active" and "prompt for each filename".Īfter capturing images, choose any preferred editor to write your lua script. In short, please save the image as png format.įor MWSnap, go through Tools -> Settings -> Auto-saving and set format to png. If you don't have one, I recommend MWSnap.īecause image matching is the basic operation for AnkuLua, the saved image format should be lossless. You can try different resolutions quickly. There is another benefit for developing AnkuLua script on emulators. And the speed is faster if the images are captured under lower resolution.ġ280x720 should be enough for most cases. Then sync to Android and run it.īecause AnkuLua comarison images files are resolution related. Therefore, I suggest to develop script and capture images on PC. It's even harder to capture part of the screen into image files. It's not easy to write code in Android device.
