Re: Touch sensitive map

16 views
Skip to first unread message

Martin Bruse

unread,
Jun 3, 2020, 3:41:46 PM6/3/20
to Juva O, diplicity-talk, diplic...@googlegroups.com
What you tell about doesn't sound good.

I can tell you something of the logic in our click/touch handlers in the map.

Every time you touch a province that has a click handler connected to it (which is basically every province - either order prompts or info snackbars):
- The map starts listening for touch movements and "end touch" (when the finger leaves the screen).
- "touch end" events will, if there have been no touch movement events or it's been less than 0.3 seconds since the first touch happened, trigger the handler (pop up the order prompt or province info snackbar).

In addition, the map adds "click" listeners that do the same thing, but they don't generally trigger in the new client, afaiu.

This means that if you slide your finger (by panning or zooming the map), and you get e.g. order prompts, that means your client fired "touch end" events (or click events) during the movement, which is odd to say the least. I have Googled a bit and can't find out why that's happening :O

If anyone has heard of anything like this before please give a shout :)

On Wed, Jun 3, 2020 at 7:06 PM Juva O <juvao...@gmail.com> wrote:
Hi again,

I realized that the new beta seems to be much more sensitive to every touch compared to how it used to be. Particularly, every single time I'm sliding or scaling the map I'm unavoidably opening the orders prompt or alternatively one or more snackbars (sometimes they overmatch, kind of tilting for a short while). Basically it looks like it doesn't distinguish a finger-tap onto a (taken) territory from a simple slide through it. This happens even if I'm using an 8 inches display. The more crowded the map the worse it gets and along with the output delay it makes the game experience overly messy. I can't say if this sensitivity depends on my device settings (never a problem with the old app or any other) or on the settings of the new one.

Moreover, given the time lapse between the touch and its response (the saving time, on purpose as you explained me), probably the resuming snackbar and the graphic orders are a bit redundant, but this is just a personal opinion

I hope this can help

--
You received this message because you are subscribed to the Google Groups "diplicity-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to diplicity-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/diplicity-talk/83381547-4abd-463c-9ea3-b3688a821ba3%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages