Map does not scroll reliably when game first starts
Very minor irritation
When I first load a character, attempting to head directly west results in me walking off the screen without the map scrolling to keep me in sight.
Heading up and east, out of the Drakalor pass, triggers scrolling appropriately and allows me to reenter the Drakalor chain and explore the western part of the map.
I note the map seems to generate quite far over to the left of the screen - perhaps the game doesn't realise where it generates the map initially? I.e. it doesn't trigger the map scrolling because it thinks I'm still on the screen.
My character always appears on the 25th space across by the 12th space down. This is consistent whether starting a new character, or reloading an old one. Hence moving 25 squares left, or 12 up, puts me off the screen.
The screen does not scroll until I move at least 42 squares left, or 16 squares up. After one scrolling-event is triggered, all is fine - character is placed more centrally, and scrolling is triggered appropriately.
Resizing the screen appears to *sometimes* make the next off-screen move trigger scrolling.
Can you tell me more details about your system? Like
- operating system (type, version, patch level)
- screen resolution
- video board
- java version (type "java -version" at the command prompt)
This is really strange :-)
I have just reproduced the issue. The steps are like that:
1. Generate character. --> Main window appears. It is maximized.
2. On the world map, go 13 tiles to the west (do not enter the village! it's important!). --> World map doesn't scroll when moving west. Character can go outside of visible map area. See attached screen.
Frustrating. On my Mac it doesn't happen (and I need to move a lot farther than 13 steps before there is even a need to scroll). I guess I need to spend more time with a Windows system on that problem...
Was going to start a new tread, but stumbled upon this one, similar to what I've encountered. Although it's not only "when game starts" for me.
The issue is that my character wanders off the screen, eight steps through the void till the actual map scrolling happens.
The way to reproduce: enter Terinyo (which brings me near the right corner of the village, with a character on the right side of the screen), and then save/quit/reload, which makes my @ to be centered on. After that a hero can go over the left edge and be invisible (even to me), attachment included.
As I wrote above, I was able to reproduce the original bug on Windows, but I've encountered a similar issue as well. I was able to reproduce my (but not the original one) issue on Ubuntu, build for amd64. (And no, I did not resize any windows in both cases)
I reproduced the reloading issue as follows:
-- found a city which was longer than the width of my screen
-- saved and exited while standing in the far right corner of the map as below:
-- and after reloading there I was, at the center of the screen:
Could it be that the code still thinks that @ is at the right corner, and delays scrolling accordingly?
I'm having a similar issue that did not appear until 0.2.0. I entered Terinyo and started in the south center, but screen displayed me as offscreen to the west.
I could only see twelve spaces high of visible play area with the rest being blank, though I could move around freely.
Moving west results in the screen not moving, text appears as I move past trees etc.
If I walk east, I show up as normal. Walking out of Terinyo, re-entering, and moving south triggered a larger view and the issue disappeared.
Stuff that might be relevant: