Greasy Fork is available in English.

Gats.io with "Agar.io Movement"

Mod that adds "Agar.io Movement" for Gats.io

< 脚本Gats.io with "Agar.io Movement"的反馈

评价:好评 - 脚本一切正常

NotYou管理员
§
发表于:2022-12-12
编辑于:2022-12-12

Script works as it should, but I think you can to improve it, there are some ideas:

- Ability to turn off tracers
- "Movement safe zone", if cursor near player, then don't move.

Taureon作者
§
发表于:2022-12-12

Ability to turn off tracers

yea, i could add that

"Movement safe zone", if cursor near player, then don't move.

"if mouse on player, dont move". sounds good enough to me

Taureon作者
§
发表于:2022-12-12

aight i added them

NotYou管理员
§
发表于:2022-12-13
编辑于:2022-12-13

Yooo, that's so cool man, implementation of "if mouse on player, dont move" is cool. Also, you could add some keybinding to toggle tracers, that would be much easier to toggle it.


const TRACERS_TOGGLE_KEY = 't'

let divvers = makeDiv({
  ...
}, {
  onclick: toggleTracers,
})

...

window.addEventListener('keydown', e => {
  if(e.code === 'Key' + TRACERS_TOGGLE_KEY.toUpperCase()) {
    toggleTracers()
  }
})

function toggleTracers() {
  drawTracers = !drawTracers;

  if(divvers) {
    divvers.style.backgroundColor = drawTracers ? '#0f0': '#f00';
  }
}
NotYou管理员
§
发表于:2022-12-13
Taureon作者
§
发表于:2022-12-17

added your suggestion, you can now toggle tracers with T!

发表回复

登录以发表回复。