-
Notifications
You must be signed in to change notification settings - Fork 394
Improve ward map visuals #445
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
mjbcopland
commented
Nov 8, 2016
•
edited
Loading
edited
- Enlarged observer wards on the map to reflect their larger AoE compared to sentries
- Replaced team colours with individual player colours
Original | Updated |
---|---|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -20,7 +20,7 @@ import { | |||
const obsWard = (style, stroke, iconSize) => (<svg style={style} width={iconSize} height={iconSize} xmlns="http://www.w3.org/2000/svg"> | |||
<g> | |||
<title>Observer</title> | |||
<circle fill="#ffff00" strokeWidth="5" stroke={stroke} r={iconSize * 0.4} cy={iconSize / 2} cx={iconSize / 2} fillOpacity="0.4" /> | |||
<circle fill="#ffff00" strokeWidth="2.5" stroke={stroke} r={iconSize * 0.4} cy={iconSize / 2} cx={iconSize / 2} fillOpacity="0.3" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this 2.5 and not 2?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You have 2 for sentries. And since this is just the border, I think both of them should have the same value 2.
@@ -32,7 +32,7 @@ const obsWard = (style, stroke, iconSize) => (<svg style={style} width={iconSize | |||
const senWard = (style, stroke, iconSize) => (<svg style={style} width={iconSize} height={iconSize} xmlns="http://www.w3.org/2000/svg"> | |||
<g> | |||
<title>Sentry</title> | |||
<circle fill="#0000ff" strokeWidth="5" stroke={stroke} r={iconSize * 0.4} cy={iconSize / 2} cx={iconSize / 2} fillOpacity="0.4" /> | |||
<circle fill="#0000ff" strokeWidth="2" stroke={stroke} r={iconSize * 0.4} cy={iconSize / 2} cx={iconSize / 2} fillOpacity="0.3" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we make this a cyan color?
@howardchung I am not too keen on the player color. We already have player specific switches. I think the map should have just team color. |
|
Okay, different thickness it is. TIL. 😄 How about #0055FF? Can you also add tooltips to each of those circles containing information about who planted the ward, when, who destroyed it if any, when if any |
|
I'll try to merge this into #469 |
@howardchung What's the plan with moving forward on this one? |
Needs to be synced with @micaelbergeron 's merged PR. I think we can apply the larger ward radius. Not sure if we want to do the colors as well. |
Being done in #587 |