xzfc / agar-expose

Yet another ogar client
12 stars 12 forks source link

add draw optimization flag #8

Closed u624ka closed 8 years ago

u624ka commented 8 years ago

Setting window.agar.optimizeCellDraw to true will make all the cells, viruses, food and pellets render via arc() instead of lineTo(), thus disabling spikes for viruses and squiggly borders for everything else. optimization

xzfc commented 8 years ago

This is useful option, thank you. However, name optimizeCellDraw says nothing about what this option actually do. Speaking of original main_out.js, in former times there was wasSimpleDrawing cell property. So, I think that forceSimpleDrawing would be a better name for this option.