weixin_39935319
weixin_39935319
2021-01-12 01:59

Toggle compass

How to use

toggle compass on/off with default key "?"

Summary

SUMMARY: Interface "toggle compass"

Purpose of change

for those with small resolution, it is the same kind of toggle as for the pixel minimap, it allows to toggle the compass on/off in order to gain a bit of space on screen and be able to read more lines from the messages log.

Describe the solution

i added a new hotkey, new action toggle_compass. please see attached screenshots.

Additional context

screenshot_20190126_090040 screenshot_20190126_090047 screenshot_20190131_142622

该提问来源于开源项目:CleverRaven/Cataclysm-DDA

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

17条回答

  • weixin_39935319 weixin_39935319 4月前

    Could you please provide screenshot with monsters nearby?

    sure, here they are, in all 640x400 glory: screenshot_20190126_181855 screenshot_20190126_181900

    点赞 评论 复制链接分享
  • weixin_39965283 weixin_39965283 4月前

    Maybe leave the monsters indicators (below the compass) even with compass turned off?

    点赞 评论 复制链接分享
  • weixin_39935319 weixin_39935319 4月前

    Maybe leave the monsters indicators (below the compass) even with compass turned off?

    that would kind of void the point of this PR. this is to allow users on very low res to get back a little bit of screen space for them to be able to read more of the message log. most users will not run on such low res, and will always have compass and map turned on.

    点赞 评论 复制链接分享
  • weixin_39935319 weixin_39935319 4月前

    In my opinion the ? key should be reserved for help related commands, having something else bound to ? would be counter-intuitive. Any chance you could change it to some other key?

    you're correct, i will change to another key. thanks for the heads up. there, i have put "°" instead, though depending on user keymaps it may differ. at least "?" isn't used as default for this. for the rest users can use keybinding screen and select what will fit their taste better.

    点赞 评论 复制链接分享
  • weixin_39965283 weixin_39965283 4月前

    that would kind of void the point of this PR. this is to allow users on very low res to get back a little bit of screen space for them to be able to read more of the message log. most users will not run on such low res, and will always have compass and map turned on.

    I suppose that even on high res there could be someone that would like to hide the compass (as there is a minimap), but have monsters' indicator around - to see what particular monsters are there in the vicinity.

    点赞 评论 复制链接分享
  • weixin_39935319 weixin_39935319 4月前

    let them hear: "Drink or drive, you have to choose" :) or again "To hide or not to hide, that is the question" . i am just joking a bit. please note, it is not at your expense but just in a general sense. i appreciate what you're saying, and the time you take on helping, reviewing and commenting. but i think in this case, they will have to toggle when they want to see, and toggle again when they want to hide. having it both way would result in half a gain of space. neither completely hidden, neither completely shown.. no it's better to have clear cut: hide or not. one cannot go left and right in the same time. like for minimap. it wouldn't make sense to have it half showing. and with the toggle, getting the compass, if you've choosen to hide it previously, well, it is just one keystroke away. power at the tips of your fingers !

    beside, monster indicator space can grow bigger than the 3 lines of the compass. so enabling monster indicator space would completely negate the gain of the compass being hidden.

    点赞 评论 复制链接分享
  • weixin_39965283 weixin_39965283 4月前

    3 lines of the compass

    Compass takes 5 lines (including the blank lines).

    点赞 评论 复制链接分享
  • weixin_39785422 weixin_39785422 4月前

    Maybe a single "Monsters spotted" line when the compass is off would work well enough to alert players but still take less space than the full compass?

    点赞 评论 复制链接分享
  • weixin_39935319 weixin_39935319 4月前

    Maybe a single "Monsters spotted" line when the compass is off would work well enough to alert players but still take less space than the full compass?

    that's the safe option you've just described.

    点赞 评论 复制链接分享
  • weixin_39965283 weixin_39965283 4月前

    Will close #26706 when/if merged.

    点赞 评论 复制链接分享
  • weixin_39935319 weixin_39935319 4月前

    Will close #26706 when/if merged.

    good catch :)

    点赞 评论 复制链接分享
  • weixin_39637589 weixin_39637589 4月前

    Perhaps add the option to hide the compass in a menu for those who can't press °? I know you can always configure keybinds, but the game should be 100% playable by default, with no modification... just an idea.

    点赞 评论 复制链接分享
  • weixin_39935319 weixin_39935319 4月前

    Perhaps add the option to hide the compass in a menu for those who can't press °? I know you can always configure keybinds, but the game should be 100% playable by default, with no modification... just an idea.

    i've heard that somehow android version have specificities about input but, android specificities shouldn't impact pc version. android related stuffs should be done on android port in a general sense.

    that being said, i've just looked and indeed, pixel minimap can be disabled from the option screen. so maybe toggling compass too should be available from there. i'll be updating this PR to provide a new option to enable/disable the compass from the settings screen.

    点赞 评论 复制链接分享
  • weixin_39935319 weixin_39935319 4月前

    option added, thanks for the heads up

    点赞 评论 复制链接分享
  • weixin_39902472 weixin_39902472 4月前

    This is a stopgap solution that is superseded by #28152 I'm not interested in using a keybind and an option for this when there are a large number of UI elements we want to be able to toggle.

    点赞 评论 复制链接分享
  • weixin_39965283 weixin_39965283 4月前

    Could you please provide screenshot with monsters nearby?

    点赞 评论 复制链接分享
  • weixin_39944595 weixin_39944595 4月前

    In my opinion the ? key should be reserved for help related commands, having something else bound to ? would be counter-intuitive. Any chance you could change it to some other key?

    点赞 评论 复制链接分享

相关推荐