Opened 8 years ago
Last modified 3 years ago
#4164 new enhancement
Live transparent summary screen
Reported by: | elexis | Owned by: | |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Backlog |
Component: | UI – In-game | Keywords: | simple |
Cc: | Patch: |
Description (last modified by )
The summary screen was originally only displayed at the end of the game. Later it was made accessible in running games. Thus the layout hadn't been optimized for running games.
The summary screen in running games could optionally become transparent and optionally updated in realtime.
It is sufficient to remove some sprite attributes from the XML to make it transparent. Checkboxes would have to be added so that users can still switch between the styles or whether they want to compare the stats of one specific time or rather keep track of the developments.
The layout should become appealing and might need to use semi-transparency (something like `sprite="color:11 22 33 44", red green blue opacity).
The summary screen code is found in gui/summary/
and is called from openGameSummary()
in menu.js
.
Refreshing the summary screen data should be trivial (and can be done in a separate patch) as the passed GUI data remains the same and the simulation data can be reloaded by just calling getReplayMetadata()
again.
The hard part will be finding a nice design that doesn't conflict with the text on the background too much (perhaps hiding chat, notifications and counters if required).
Especially for replays (where the game can be fast forwarded), the refresh feature seems interesting.
Attachments (3)
Change History (10)
by , 8 years ago
Attachment: | screenshot_hack1.jpg added |
---|
by , 8 years ago
Attachment: | screenshot_hack2.jpg added |
---|
comment:1 by , 8 years ago
Description: | modified (diff) |
---|
comment:2 by , 7 years ago
Description: | modified (diff) |
---|
comment:3 by , 7 years ago
Why don't use alpha (instead of missing) background (i.e. 50%)? I'm pretty sure that we don't need to play and see summary at the one time: play, press TAB or something else, see the summary, close the summary, play again. With 50%-70% we still see the battlefield, but other elements don't override the summary by color.
comment:5 by , 5 years ago
Component: | UI & Simulation → In-game UI |
---|
Move tickets to In-game UI
as UI & Simulation
got some sub components.
comment:6 by , 3 years ago
Keywords: | simple removed |
---|---|
severity: | → simple |
comment:7 by , 3 years ago
Keywords: | simple added |
---|
Sample 1 shows how the summary screen looks after removing sprites and reveals potential conflicts with the chat.