Skip to content
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

Fine tune map controls for dragging and pressing #28

Open
Hachitus opened this issue Sep 21, 2016 · 0 comments
Open

Fine tune map controls for dragging and pressing #28

Hachitus opened this issue Sep 21, 2016 · 0 comments
Milestone

Comments

@Hachitus
Copy link
Owner

Hachitus commented Sep 21, 2016

There are couple of improvement to touch / mouse controls:

  • After you have selected a unit and press / hold the mouse / finger down the unit is issue a move order. The order should get issued only after the pointer has been raised up. Now it happens immediately after certain timeout (so on mouseDown 1 secs after that, the order is executed).
    When a player holds mouse down (pointer / finger) over a unit, nothing should happen, but if the user moves the pointer, there will be map move event and if the user does not move pointer, but releases it (mouse up), then the order should be executed.
  • Also we should make another test change and test this thoroughly. Maybe the map movement doesn't need to have a minimum movement set. So now map movement happens only, when the pointer has been moved X pixels. But we could let the player move the map even in 1 pixel movement, but also enable the clicking and pressing options, IF the map hasn't been moved more than Y pixels. This might provide a little bit better user experience as you could move the map as little as you wanted.

We should still playtest this, when the change is being done, to make sure it is change for the better.

@Hachitus Hachitus added this to the v0.6 milestone Sep 21, 2016
@Hachitus Hachitus modified the milestones: v0.7, v0.6 Sep 21, 2016
@Hachitus Hachitus modified the milestones: V0.8, v0.7 Oct 28, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant