Closed ninjadev64 closed 2 months ago
Visit the deploys page to approve it
Name | Link |
---|---|
Latest commit | b7f0eabaac1104621a829e842d70f99ec3c68d24 |
I just realised I added a redundant prop to MapComponent, so I marked this as draft until I fix it. (I also want to make the polylines dashed.)
This is more like a feature by itself. I know there are some things that could be improved but I don't update this repo for new features actively now. I think you could open an issue first if there is a feature you want to have in this repo but again I don't update this repo that much.
How is this a new feature? It's impossible to tell what's what when all the markers are identical. If basic stuff isn't being accepted into this repo then I'll be maintaining a fork instead of contributing upstream.
I fixed the redundancy and made the lines dashed.
I'd be interested to know why you aren't accepting new features. I understand why you might not have time to add them yourself, but why don't you accept contributions for them? Besides, I wouldn't consider this an extra feature, more like something that needs to be added for the game to be playable, especially in multiplayer.
If you don't want to merge this PR, please close it and I will maintain a fork separately.
@ninjadev64
For things that provide new UIUX, I cannot accept stuff immediately. For example, maybe I could just create my custom marker image or use other icons on the marker instead. I need to think about how I can instruct users who want to self host this game to use custom marker. (Or is it really ok to just use DEMO_MAP_ID
for them?) There are a lot of ways to achieve something and I need to take time to consider it.
I need to think about how I can instruct users who want to self host this game to use custom marker.
They don't need to do anything for this feature to work.
Anyway, in that case, I'll be forking the project and closing this PR.
This PR implements using different glyphs and colours to better distinguish map markers. A flag is used to represent the actual location of the Street View image, a circle for your guess, and a person image for the guess of another player. A colour is generated for each player based on their player ID.
This PR also migrates to the new Advanced Markers API from the deprecated
google.maps.Marker
.Singleplayer
Multiplayer