Files
OpenFrontIO/resources/images/ExplosionIconWhite.svg
T
DiesselOne 4e48eba910 Better In Game UI (#1243)
## Description:
Top Bar Refactor – UI & UX Improvement Proposal

This update overhauls the top game bar to improve clarity,
responsiveness, and overall user experience across desktop and mobile.
It consolidates player resources (e.g., building counts), integrates
game controls (pause, settings, time), and enhances visual contrast.

Key changes:

Redesigned top bar with player data and game options.

Team color indicator bar (team games only).

Countdown bar during "Choose Starting Position" phase.

Removed redundant info (e.g., troop/worker counts shown elsewhere).

Inspired by strategy games like Travian Legends, this refactor offers a
cleaner and more intuitive layout, especially for smaller screens.

⚠️ Note: This is a large change and likely contains visual or functional
bugs I can’t currently spot due to fatigue. Thorough testing is required
before approval.

## Please complete the following:

- [x] I have added screenshots for all UI updates
- [x] I process any text displayed to the user through translateText()
and I've added it to the en.json file
- [ ] I have added relevant tests to the test directory
- [x] I confirm I have thoroughly tested these changes and take full
responsibility for any bugs introduced
- [x] I understand that submitting code with bugs that could have been
caught through manual testing blocks releases and new features for all
contributors

## Please put your Discord username so you can be contacted if a bug or
regression is found:

Diessel
![Snímek obrazovky 2025-06-21 v 8 13 46](https://github.c
![Snímek obrazovky 2025-06-21 v 8 13
35](https://github.com/user-attachments/assets/e166ee1b-6173-48f5-8e2d-598d796a7e2d)
om/user-attachments/assets/3a0edbef-e621-4fc4-b6b7-c1ed
![Snímek obrazovky 2025-06-21 v 8 13
20](https://github.com/user-attachments/assets/1214ab61-323c-4317-8722-eaa4b932a60c)
8f9a8219)
![Snímek obrazovky 2025-06-21 v 8 10
04](https://github.com/user-attachments/assets/374fe15a-bfad-4469-9950-3ec631b6e2d3)

Closes #1165

---------

Co-authored-by: Scott Anderson <scottanderson@users.noreply.github.com>
Co-authored-by: evanpelle <evanpelle@gmail.com>
2025-06-30 19:49:42 -07:00

2 lines
746 B
XML

<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 512 512"><path fill="#fefffe" d="m293.324 20.738l-5.256 162.94L141.478 60.45l47.157 112.16L67.86 91.446L189.37 221.64l-168.2-63.073l153.6 146.003l-113.885 2.92l160.02 77.09l-127.9 14.602L196.91 435.81l-39.666 10.676l124.395 30.37l-36.208 20.44h244.12v-91.835l-74.345-188.675l74.346 107.865v-44.025l-20.112-154.42l-17.323 84.563L403.12 55.193L377.33 141L343.295 35.92l6.68 106.877l-56.65-122.06zm12.133 116.823l73.764 121.56l15.376-30.233l38.836 141.656l-73.946-103.967l9.682 76.022l-77.018-20.64l102.518 91.044l-33.8 6.584l93.515 53.76l-202.012-61.412l64.49-21.9l-113.56-57.97l74.012 13.08L156.25 242.18l126.86 37.164l-19.96-60.555l69.795 44.25l-27.488-125.48z"/></svg>