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

Scaling UI elements? #166

Open
Ecostack opened this issue Mar 11, 2024 · 2 comments
Open

Scaling UI elements? #166

Ecostack opened this issue Mar 11, 2024 · 2 comments
Labels
ui user interface usability usability and user experience

Comments

@Ecostack
Copy link
Contributor

As seen in the screenshot, the UI elements are quite small. The zoom works only for the map itself.

Screenshot 2024-03-11 at 23 04 54
@mlange-42
Copy link
Owner

UI elements should not zoom with the map. But it might be worth thinking to somehow provide the option to double them in size.

@mlange-42 mlange-42 added graphics graphics and rendering usability usability and user experience labels Mar 11, 2024
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
@mlange-42
Copy link
Owner

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.

@mlange-42 mlange-42 added ui user interface and removed graphics graphics and rendering labels Mar 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ui user interface usability usability and user experience
Projects
None yet
Development

No branches or pull requests

2 participants