merrittlj / brawlhalla-bot

Smart, stable, efficient Brawlhalla match automation bot.
Apache License 2.0
0 stars 0 forks source link

Relative pixel matching #6

Closed merrittlj closed 10 months ago

merrittlj commented 10 months ago

Attempt and match pixels relative to the window, requiring that a screen resolution is passed or detected instead of hard-coding pixel locations for my specific resolution.

merrittlj commented 10 months ago

This is not realistically possible, due to scaling issues and many other problems with pixel matching to achieve this. Instead, resolutions will be hard-coded in the states in a sane way. Compared to relative pixel matching, hard-coding avoids strange system configurations of individuals and allows for resolutions outside of the ratio in which the relative pixel matching system was built on. A new issue will be brought up to document this feature.