leezer3/OpenBVE

[Suggestion] Improvement of switch menu

Opened this issue · 3 comments

Description

  1. The switch menu is based on the position of the train head, not the position of the camera. It cannot be dragged either. I need to drive frequently to control the switch, which is very inconvenient.

  2. We need a magnifying glass, and some compact combinations of multiple switching points may overlap.

  3. The switch menu displays where the train is (including interval trains, excluding TFO)

  4. Don't let the switching menu pause the game in professional mode, it will be more interesting.

Dragging is unfortunately a little problematic, as the map draw is somewhat slower than I'd like.

Your point about the camera is a good one.
Basically, I think it probably needs to default to the train location in internal / train based views, and camera location in track based views.

Zoom should be do-able, probably a couple of buttons would work.

Will try and have a go at these at some point over the next week.

@leezer3 : Could these be the next "step(s)" in the developing process? 😅
(I recently saw your answer, and I am happy now, because of the issue fixing. Unfortunately, I have not enough time to experiment with .Switch(T) commands so far, but maybe on tomorrow evening (Central European TimeZone) I will grab the opportunity...)

Please try the build from today.

This implements zoom (note the start position is maintained, rather than a classic center based zoom), and changes it so that it uses the external camera location in external views.

The zoom button location / coloring might want a little tweak to distingiush them visually from the close button and each-other, but I think this is working.