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

Map display #25

Open
okaybenji opened this issue Oct 27, 2022 · 3 comments
Open

Map display #25

okaybenji opened this issue Oct 27, 2022 · 3 comments

Comments

@okaybenji
Copy link
Owner

Consider adding a map command. Perhaps it could display an ASCII rendering of places the player has visited, with a simple legend denoting rooms with items and/or characters. (Probably large maps would need to be cropped to fit the screen, relative to the player's current position.) Some sort of option for unlocking the full map would be handy for developers.

"Any chance of displaying a map of rooms, people, items as you write on the fly to aid in story, design?"

Originally posted by @zeltas in #19

@ESEHUMPS
Copy link

ESEHUMPS commented Jul 4, 2023

Consider adding a map command. Perhaps it could display an ASCII rendering of places the player has visited, with a simple legend denoting rooms with items and/or characters. (Probably large maps would need to be cropped to fit the screen, relative to the player's current position.) Some sort of option for unlocking the full map would be handy for developers.

"Any chance of displaying a map of rooms, people, items as you write on the fly to aid in story, design?"

Originally posted by @zeltas in #19

#19 (comment)

@TheWilley
Copy link
Contributor

TheWilley commented Aug 15, 2023

I think this would be really cool to see in the engine! How complicated are we talking here? Displaying all rooms in a list or in an actual map with rooms relative to each others position?

The latter option can be somewhat tricky since it's not given a direction will be oriented towards north, east, west, etc. For instance, in the demo-disk.js file, the exit labeled "upstairs" notably leads to the advanced room. If the objective is to define the spatial relationship between the advanced room and the room it connects to through the "upstairs" exit, the absence of explicit cardinal directions makes it challenging to visualize this spatial arrangement accurately. Moreover, there is the concern of rooms located far apart from each other unexpectedly connecting due to developer choices.

The former option is likely to be more reliable,as it avoids the need to establish spatial relationships between rooms. As outlined in the issues description, this approach involves employing straightforward labels to indicate which rooms are connected to one another. For instance:

+======================+
|        Room 1        |
|                      |   
|  upstairs:  Room 2   |
|  north:  Room 3      |
+======================+

What do you think?

@Bharat0112
Copy link

Bharat0112 commented Oct 2, 2023

This ?
#26 (comment)

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

4 participants