-
Notifications
You must be signed in to change notification settings - Fork 5
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
Scaling UI elements? #166
Comments
UI elements should not zoom with the map. But it might be worth thinking to somehow provide the option to double them in size. |
2 tasks
mlange-42
added a commit
that referenced
this issue
Mar 12, 2024
In folder `data/maps`, maps in ascii format can be provided for different starting landscapes. Map symbols are provided in `data/json/terrain.json`. Each map can have its own probabilities for random terrain cards, to allow for continued play in the map's spirit. Further, the main menu was split up into tabs. One for starting a new game (from a map), and one for loading a game. This gives to opportunity to easily add a Settings tab, e.g. for the tileset or for an enlarged UI (see #166). # Commits * get map symbols from JSON * translate map to string * save map to ascii file * prepare loading maps * add a system to load a map * move load panel to separate function * move new world stuff to separate container * move new world and load world to separate tabs * list available maps * add a label for maps * prepare for embedded maps * add starting tile position to map ascii * move scenarios to a separate tab * add swamp forest map * add desert valley map * update changelog * random terrains are stored in maps * fix listing games and maps in WASM build
There are now multiple tabs in the main menu. Another one could be added for settings. These could comprise larger UI, as well as tileset selection. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As seen in the screenshot, the UI elements are quite small. The zoom works only for the map itself.
The text was updated successfully, but these errors were encountered: