Display users stars as white instead of in game color #22
Skilly146
started this conversation in
Feature Requests
Replies: 1 comment 5 replies
-
What is the motivation behind this? Why white? |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What
Change the users color to white. For example, if the user were green triangle then their stars and carriers would be white triangle instead
How
the variable
map.sortedStarSprites[each_user_owned_star _id].ownership
stores an image of that players color/shape combo from thestars.png
image. The extension should just be able to redefine that variable with an all white version of the users shape. This variable is used in a for loop at line 614 in interface_map.js and is defined in line 335 of interface_map.js with the linestarSprites.ownership = {width: 64, height: 64, pivotX: 32, pivotY: 32, rotation: 0, scale: 1 * map.pixelRatio, image: map.starSrc, spriteX: row * 64, spriteY: col * 64 + 64};
.Beta Was this translation helpful? Give feedback.
All reactions