Change the Map border colour or place it under the compass?

sinkaix1
28 Nov 2016, 18:23

Hi,
For asthetics reasons, I'd like my game to feature white text on a black background. The only issue I've found so far is that when the background is black, you cannot see the paths and borders on the map. Is there a way to make the paths between rooms white or to place them underneath the compass where it wouldn't be an issue?


sirwacka
01 Dec 2016, 13:26

Hello sinkaix1,

I have an answer for the map color.
If you go to a room, the tab 'map' will appear.
Here you can change the color of the map background and the map border, as well as the size of the borders.
However, this will not change the color of the paths, which will still be grey.
Hope this helps even a bit.


hegemonkhan
01 Dec 2016, 14:11

maybe these may help:

http://docs.textadventures.co.uk/quest/elements/object.html (scroll down to the 'grid_XXX' links)

this is otherwise outside of my knowledge (I'm not very good yet with GUI/UI/web-browser type of window/pane/etc creation/setting/manipulation/formatting type of stuff which this is somewhat similar to)


OurJud
01 Dec 2016, 15:14

I don't use maps so can't be much help, but what anyone who plans to use CSS (which I suspect is what you'll need to do here) needs to be made aware of, is that your game will not retain the CSS rules if anyone who plays your game online, saves your game and then 'resumes' at a later date.

This is a known-bug and is currently being looked into.


The Pixie
01 Dec 2016, 17:20

That is not necessarily true. Deeper uses a lot of CSS for the interface, and it is still there on re-load. It is vital to test this for your own game, as it can take you by surprise.


OurJud
01 Dec 2016, 17:34

Well I'm not here to hijack the thread, and what you say is true to an extent. I just don't understand why the CSS I have in place for hiding the command/input box isn't being called on resume of a save, when other CSS is. If the game is calling the CSS on resume, then it's calling the CSS on resume - it doesn't make sense that it only calls some of it.

But yes, my comment was slightly misleading. I maybe should have said beware that some of the CSS might not be called on resume.