This is my clone of the popular game Agar.io (by Agario) ★ Move the mouse around to move your cell (or cells) ★ Eat dots (agar) or other players to grow and dominate the board. ★ Press SPACE to split your cell (move faster, but more dangerous) ★ Avoid being eaten by players LARGER than you are! ★ Prickly green virus cells can be hidden behind if you are small, but they will split you up if you are bigger than them! ★ Play games with up to 20 players! Yay :)
I think there's something wrong with the game v1.1d: Original game by griffpatch v1.2: I decreased the rate of loss of mass, give mass to you when you eat a virus and make the virus hide when eaten. I also showed the mass of the player. v1.3: The virus doesn't hide anymore. I don't know why, so I removed the coding for now, I will do it another day. Improved mass counter v1.4: Now the virus disappears, but it doesn't reappear... Changed name on background. v1.5: Yay it reappears! Note: There seems to be an annoying "master virus" that just refuses to hide when you eat it. I'm seeing if I can remove the code that makes it hide. v1.6: Yay no more master virus! Edit: its still there but it is in a corner :_( v1.6.1: Problem genuinely fixed. Yay! v1.7: Added loading screen To be added: Start screen Improved mass/score counter Improved mass gaining/decreasing Loading screen Start screen Virus to not reappear at a large cell Press w to give out mass (this is gonna take a while) Dark theme Thanks to griffpatch for the original project! I can never do all these coding by myself. Thanks to agar.io. I really like that game! Note: I will try to come up with an offline mode/original version made by me P.S. To griffpatch: Reading your code is like deciphering a secret message/looking at a different language. It takes me a while to find which code is what... :/ And i just realised that the cells and agar are just pen!