-
Notifications
You must be signed in to change notification settings - Fork 553
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
Different colours for ENL and RES ant-trails #1091
base: master
Are you sure you want to change the base?
Conversation
Changed the colour of the ENL ant-trail in order to make it easier to distinguish between ENL and RES agents when trying to coordinate events. Made the dash-pattern slightly asymetric so that it would be possible-ish to determine which way players move (and arrow would be better but that would be a bigger change).
👍 |
Screenshot of what it looks like? |
The problem with canvas plugin is that any dashed line becomes solid. |
@mxxcon @zinob A fix for canvas woes: In the main IITC js, in _updateStyle, _updatePath, and _drawPath for canvas rendering, code similar to this should be added:
|
Supporting pull request: #1114 |
Small note: For equitable contrast, it would probably be best to change the Eln trail to the Purple color, and change the Res trail to an Orange. |
Lines 27-28:
|
Changed the colour of the ENL ant-trail in order to make it easier to distinguish between ENL and RES agents when trying to coordinate events.
Made the dash-pattern slightly asymmetric so that it would be possible-ish to determine which way players move (and arrow would be better but that would be a bigger change).