Anuken/Mindustry-Suggestions

QOL: Right click on minimap to pan

Closed this issue · 2 comments

Describe the content or mechanics you are proposing.

allow pc users to right click on minimap to pan to the location.
(maybe long press for mobile users?)
this is similar to a previous suggestion, but I'm thinking of using Right Click (RC). (since RC currently does nothing in the minimap)
#3417

I'm willing to try implement it.... try....

Its similar mechanics as right clicking when viewing the "minimap mode" (ie, after left clicking the minimap or pressing "m" )

Describe how you think this content will improve the game. If you're proposing new content, mention how it may add more gameplay options or how it will fill a new niche.

QOL for panning to far regions.

Before making this issue, check the boxes below to confirm that you have acknowledged them.

  • I have checked the Trello to make sure my suggestion isn't planned or implemented in a development version.
  • I am familiar with all the content already in the game or have glanced at the wiki to make sure my suggestion doesn't exist in the game yet.
  • I have read README.md to make sure my idea is not listed under the "A few things you shouldn't suggest" category.

feel free to close this, if its not interesting to be implemented.

also... taking a closer look at the minimap fragment:
image

seems like to do this, we just need to add a "right-click" function here.
and replace the ui.minimapfrag.toggle() to do some panning instead.

but, we must also consider the relative scaling/position of the minimap (additionally, the minimap may be shifted or scaled, in the mobile).

now I see why this is difficult to do.

crazy fix! thanks for the help!