ethanvoo / newagario

I changed a bit of Viliami's Agar.io work. Please could you help me to solve a problem in the code. It is on line 183 to 188. Thanks.
0 stars 0 forks source link

Problem with spawning cells on defined player size #1

Closed kamillobinski closed 4 years ago

kamillobinski commented 4 years ago

https://github.com/ethanvoo/newagario/blob/cc3eb3826e5f7de7f05efbecbb0d5737241a79e3/agar.py#L185-L187

Actually this function works properly. Player has to increase own size to 500 in order to let game spawn new cells. What you can do is to lower the number of blob.mass e.g. 10

if(blob.mass >= 10):