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

more "magnetic" pieces #25

Closed
zeroheure opened this issue Jul 2, 2017 · 3 comments
Closed

more "magnetic" pieces #25

zeroheure opened this issue Jul 2, 2017 · 3 comments

Comments

@zeroheure
Copy link

Some touch screen are not very good or too old and it's not allways easy to add pieces at the right place. For example I often lose a few seconds because the game refuse the piece which is not exactly upon the right background.
The pieces could be more easily added at the right place with some "magnetic" feature. Dropping the pieces near the grid should be enough. This can be default or an option.

@Lonami
Copy link
Member

Lonami commented Jul 2, 2017

There's already a "snap to grid" feature discussed on #14, but it's off by default.

@Lonami Lonami closed this as completed Jul 2, 2017
@zeroheure
Copy link
Author

Please re-open. The current "snap to grid" feature is not enough as it looks work with the pieces upon the exact position (?). While it should be a bit more permissive.

@Lonami
Copy link
Member

Lonami commented Aug 1, 2017

work with the pieces upon the exact position

Well, to the closest position it can find, yes. If you can't put the piece somewhere, it will not snap there, and it will not find the closest slot available. But if you dropped the piece right there (where you can't place it), it wouldn't do anything anyway.

There's no magic way to detect the user intention, and where they would want to put the pieces, so even if the magnet looked for the closest available position instead rounding to the desired one (just for a more visually appealing effect really), currently it simply will not put the piece.

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

2 participants