LeoWuVinci / agar.io-bot

Agar.io Bot Framework for Bot Developers
GNU General Public License v2.0
191 stars 76 forks source link

Prevent snapping between conflicting commands #30

Closed jdloft closed 9 years ago

jdloft commented 9 years ago

Many commands can conflict if different sized players get near, etc. but this creates a snapping moving effect that doesn't look natural and can often just waste time. Perhaps the bot should prioritize a command and have a cool down before any other command takes over.

LeoWuVinci commented 9 years ago

There's very little inertia in the game engine so I decided to not try to focus too much on finding ways to make it more optimal. More importantly it has a foundation so that anyone can fork the code and contribute in that manner. Think of what I've done as "example code". That said, cool down IS implemented for every consideration.