owenashurst / agar.io-clone

Agar.io clone written with Socket.IO and HTML5 canvas
MIT License
2.88k stars 1.12k forks source link

[Performance] Multiple issues #469

Open CoderJoeW opened 7 years ago

CoderJoeW commented 7 years ago

Game lags incredibly bad on mobile as well as player constantly moves even when not touching the screen

noahcoetsee commented 7 years ago

This is just server latency. We are working on getting it to have better optimization, but for now, just try it out with the lag, it's not that bad on heroku!

CoderJoeW commented 7 years ago

I've contributed quite a bit to this project (no longer supporting since it's so inactive) this issue isn't server latency it has to do with the code not stopping the player when he's not touching the screen

owenashurst commented 1 year ago

The project has now been revived. It's undergone a complete packages upgrade (webpack, babel, eslint, etc). I've refactored it somewhat so it's cleaner, however PR's are now welcome. You can run this under the latest version of NodeJS (18) fine.

I have noticed performance issues whereas it's now as "smooth". This needs to be investigated.