darkforest-eth / plugins

A showcase of Dark Forest plugins from the community!
https://plugins.zkga.me
GNU General Public License v3.0
123 stars 136 forks source link

Add Plugin: Highlight Friends #172

Closed fromddy closed 3 years ago

fromddy commented 3 years ago

Circle your friends' planets with pink circles :)

modukon commented 3 years ago

hello! I can see your screenshot is 458 kb big, i think the limit for screenshots is 50 kb Take a look at this screenshot https://github.com/darkforest-eth/plugins/blob/master/content/productivity/highlight-buffs/screenshot.png Its also big but has only 36.2 kb

fromddy commented 3 years ago

thanks for your advice , do you know how to make picture smaller ? thanks very much .

Bulmenisaurus commented 3 years ago

thanks for your advice , do you know how to make picture smaller ? thanks very much .

You could probably scale it down to a smaller size.

Other plugins have screenshots of around 400x400px, so you could probably scale it down to that size

fromddy commented 3 years ago

thanks very much, i will scale a small screenshot .

Bulmenisaurus commented 3 years ago

Also tested it, and it works well :)

Stx69 commented 3 years ago

for pic size I had same issue, do not use a simple paint.. I'm very satisfied with Greenshot.

Stx69 commented 3 years ago

Hello, I really like the idea about friends.. :D Working well. What about add enemy (red) + neutral (white) ? Then will be nice full packet for visual plugin of diplomacy....

fromddy commented 3 years ago
  1. for the 'screenshot.png', I use Greenshot to get a new one.
  2. for the name of this plugin, I change name to [Highlight Friends].
  3. change 'window.planet' to 'window.HIGNLIGHT_FRIENDS.planet'.
  4. for the idea of 'add enemy (red) + neutral (white)', this is a good idea. actually, those players who are not circled may be dangerous.

thanks very much for all friends help and test.

fromddy commented 3 years ago

@Stx69 thanks for your like for this plugin. With 'window.HIGHLIGHT_FRIENDS.planet', the state of plugin exists when the plugin is reopened. I learn this way in plugins that are published before.