Sign in to follow this  
Followers 0
FrenzyCat

Finding coordinates of random animation.

5 posts in this topic

I have this animation that changes direction randomly. What is the best way to check this animation's mouse coordinates. Any help would be appreciated. I tried to use pixelfind it seems like the animation does not have the same pixel colors on different directions. Should i store 8 different pixel colors and try to find them or is there an easier way to that.

zcKAa9M.jpg

Share this post


Link to post
Share on other sites



PixelSearch

Searches a rectangle of pixels for the pixel color provided.

PixelSearch ( left, top, right, bottom, color [, shade-variation [, step [, hwnd]]] )

 

Try tge sgade-varation, should work unless the entire color changes to a whole new color.

Share this post


Link to post
Share on other sites

It's an open source project. I don't think it is not allowed.

Share this post


Link to post
Share on other sites

It's an open source project. I don't think it is not allowed.

Doubt that is somewhere stated in the forumrules, so no it is not allowed.

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0