piknotech / gnimag

The bot every gamer is fearing 🤖
5 stars 0 forks source link

Accelerate bar movement detection #27

Closed knothed closed 3 years ago

knothed commented 3 years ago

Instead of waiting until a bar has fully appeared and its yCenter is known, the yCenter will be approximated by using the inner and outer heights of the bar while it is still appearing. This allows to use the bar for prediction much earlier, which is critical for hard mode.

Bar-character-specific hole size and switch bound collectors and guesses make this task even more precise.