agar-mini-map icon indicating copy to clipboard operation
agar-mini-map copied to clipboard

Show little windows instead of crosses

Open Elite01 opened this issue 9 years ago • 5 comments

(i dont know how to add tags - feature request) Hi i would like to see a little rectangle inside the minimap that shows my screen instead of the crosses. also it will be great to see it when using the server. what do you say? my coding skills are not that great. also i have added myself the X&Y axis which really help

Elite01 avatar Aug 12 '15 11:08 Elite01

Sounds good. This can be an option of the minimap. But sadly, I currently don't have time to do it :cry:. It's doable and I will consider add this feature into the roadmap.

dimotsai avatar Aug 13 '15 08:08 dimotsai

well i did it. got all the code right except for the size of the rectangle. gonna play for a few hours until i get the formula for field of view.

Elite01 avatar Aug 13 '15 12:08 Elite01

@dimotsai how do I get the mass of the cell? token.size gives something weirs

Elite01 avatar Aug 14 '15 09:08 Elite01

@Elite01 Please refer the source of ogar: https://github.com/OgarProject/Ogar/blob/master/src/entity/Cell.js#L45-L48

dimotsai avatar Aug 14 '15 10:08 dimotsai

:+1: great idea!

davidmann4 avatar Jan 10 '16 17:01 davidmann4