Skip to content

Droidline 0.1.11

Latest

Choose a tag to compare

@github-actions github-actions released this 11 Oct 15:49

What's Changed

New, all optional

Picture search for games and other screens without elements. Nothing changes until you use these.

  • image_exists(image) answers true or false at once and never fails, for an if.
  • find_images(image) returns every place the picture appears, best first and without overlaps, each with x, y, bounds and score. It answers at once unless timeout is set, and max caps the count (20 by default).
  • wait_image_gone(image) waits until the picture leaves the screen, such as a loading spinner.
  • find_image, tap_image and the three commands above take three options: - region searches only inside left, top, right, bottom, which is faster and keeps matches inside the box. - scales also tries the picture at other sizes, such as [0.8, 1, 1.25], for phones with another screen density. - color also requires the average color to agree, so a red and a green button of the same shape differ.

Full Changelog: v0.1.10...v0.1.11