owenashurst / agar.io-clone

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

Better client #499

Closed vikramdurai closed 5 years ago

vikramdurai commented 7 years ago

I think this project needs a better client library than simple HTML5 Canvas. Using a drawing library like p5.js or paper.js would not only better the drawing quality, but also reduce a huge amount of code.

huytd commented 7 years ago

Agree. paper.js has this demo http://paperjs.org/examples/meta-balls/ which will be extremely helpful if we want to have the fluid-like effect in original agar.

vikramdurai commented 7 years ago

or also the Candy Crash example, which would be helpful. All we'll have to do is change the collision code. Instead of bouncing in the opposite direction, we could change the collision to make a mass check.

vikramdurai commented 5 years ago

Any progress on this @huytd