Whales/Cataclysm2

The issue on display system

Closed this issue · 2 comments

1
2

From the pictures, I can know some part of map(when I press M) still show in game window after I press M again to exit map interface.
Another issue is about when i add --test flag to debug this game , I find after i spawn the monster and I teleport(using key M) to another position, the monster i spawned follow me to the new position.

Another Issue

DEBUG: 0 ranged damage!
Press spacebar...

First issue was fixed. The issue was that certain Windows (e.g. the HUD) were only as big as required, and didn't cover the entire terminal. The unused space was left undrawn after viewing the map, so the old map display remained. I resized them all to cover all available space.

The --test issue is semi-intentional; monsters are independent from the map, so when you teleport, they teleport with you. I might drop it eventually, but it's strictly a debug function so it's not a priority, and it's actually useful sometimes.

The 0 ranged damage issue is a standing bug which I'm trying to find the underlying issue of. If you have any insight it'd be appreciated!