WARNING -- NOT RECOMMENDED TO LOW-PERFOMANCE COMPUTERS - GEOMETRY COUNT CAN GO UP TO 4000 IN 15 MINUTES --
A rough Agar.io (it's a site) replica designed for singleplayer. It includes:
- Absorption of smaller cells (You need to be 1.1x larger than the other cell)
- Movement speed different depending on radius (the mass)
- Pellet generation
- Cell generation
- Random NPC cell mass every game
- NPC cells move in random directions
- Random cell colors every game
How to play:
- Use your mouse to move
- Eat pellets to gain some mass and counterreact decay
- Eat cells to absorb it and its mass
- Use W to eject mass (No use for now, except if you're big to give to tiny
)
- Survive as long as you can!
Known issues:
- Pressing W actually ejects two instead of one. e.pressed == true doesn't work.
Todo:
- Add two-player mode
- Splitting (Worried about length of the code, though theoretically possible to even have special movement directions)
Impossible todo:
- Advanced NPC (never possible to behave like an Ogar bot)
- Need to cover the cell to eat it
- Update radius supressor (Impossible)
Update log (brief):
Beta-v3.0 - Thanks to Ogar, I've found a way to balance the size over time.
Beta-v2.7 - Mass ejection speed tweaked.
Beta-v2.6 - Added mass ejection (Thanks to T'wind_). Tweaked density increase. Added first-time cell generation (up to 500 mass).
Beta-v2.1 - Fixed being slow at 200+ mass by using density as a slow-down.
Beta-v2 - Added viruses. There will be 40 in the map. They'll give 100 mass on collision if you have at least 133 mass. I'll need to implement mass loss some time soon. Implemented mouse moving (Thanks to Kilinich). I'll need to increase thruster force for large masses.
Beta-v1.11 - Made updates to the Todo.
Beta-v1.1 - Added variable _realRadius to all pellets and cells. Radius is determined by 1/3 of _realRadius. Added Highscore. Decreased cell generation tick to 120.