mudlet-makers team mailing list archive
-
mudlet-makers team
-
Mailing list archive
-
Message #03848
[Bug 1389381] Re: Doors are drawn over exits inconsistently
It is due to the exit line being drawn twice, for the exit in *each*
direction for a two way exit - there is also related flaw in the design
that draws a square as the door symbol at the mid-point of the exit
neglecting to account that the exit one way may have a different door
symbol (or if the map maker doesn't spot that they need to put in both
"sides" of a "two sided" door - no symbol at all) to the exit in the
other direction!
I'm building a collection of tweaks at the moment in relation to the 2D
mapper and this is one thing that I want to address. I propose to
replace the coloured square mid-point symbol that we currently have
ONLY for x-y plain normal exit with a door with a coloured line drawn
perpendicularly across the exit line of similar dimensions or perhaps
slightly longer as one side of the current square symbol; this would be
at a distance of about 0.45 along the exit line which for a two-way
exit line will only be the half a line nearest to the "from" room - so
that the two halves from each room a two way exit links meet in the
middle but don't overwrite each other. I've done this on a prototype I
did a while back but never published so I know it can be done - it had
the benefit over the current case in that when zoomed in the half of an
exit line relating to a room still on screen still showed, even if the
room at the other end was beyond the extends of the visible area - the
current code "loses" the whole exit line if the remote room is outside
of the window extents...
Additionally I'd like to refactor the code so that stub exits and custom
exit lines will also gain the same "door" indicator drawn across them -
I think it is important to be able to indicate a door on a stub exit
because the MUD construct of a locked or otherwise barred door
indicating a possible exit that the user does not (yet) know where it
leads to (or has not been build by the MUD creators yet) is precisely
the sort of thing that needs support which we don't at present. In the
case of custom exit lines I think such a perpendicular would be simplest
if it were placed around 0.9 along the length of the first line segment.
The only slight issue with all of these is that there may not be enough
space to show them if the rooms are immediately adjacent to each other
i.e. if one room is at (x1,xy) and the other is at x1 +/- 1 and/or y1
+/- 1; though that probably is the case for the current code anyhow!
** Changed in: mudlet
Status: New => Confirmed
** Changed in: mudlet
Assignee: (unassigned) => Stephen Lyons (slysven)
** Changed in: mudlet
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/1389381
Title:
Doors are drawn over exits inconsistently
Status in Mudlet the MUD client:
Confirmed
Bug description:
See http://i.imgur.com/S7DXh9P.png - it is a combination of doors
over and under the exit. They should be all drawn over exits for
consistency.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/1389381/+subscriptions
References