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 Imarok)

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)

screenshot_hack1.jpg (520.9 KB ) - added by elexis 8 years ago.
Sample 1 shows how the summary screen looks after removing sprites and reveals potential conflicts with the chat.
screenshot_hack2.jpg (511.5 KB ) - added by elexis 8 years ago.
screenshot0206.png (1.1 MB ) - added by fpre_O_O_O_O_O_O 7 years ago.
Live and transparent

Change History (10)

by elexis, 8 years ago

Attachment: screenshot_hack1.jpg added

Sample 1 shows how the summary screen looks after removing sprites and reveals potential conflicts with the chat.

by elexis, 8 years ago

Attachment: screenshot_hack2.jpg added

comment:1 by elexis, 8 years ago

Description: modified (diff)

comment:2 by elexis, 7 years ago

Description: modified (diff)

comment:3 by Vladislav Belov, 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.

by fpre_O_O_O_O_O_O, 7 years ago

Attachment: screenshot0206.png added

Live and transparent

comment:4 by Imarok, 7 years ago

Description: modified (diff)

fpre: Do you have a patch for that?

Last edited 7 years ago by Imarok (previous) (diff)

comment:5 by Imarok, 5 years ago

Component: UI & SimulationIn-game UI

Move tickets to In-game UI as UI & Simulation got some sub components.

comment:6 by Silier, 3 years ago

Keywords: simple removed
severity: simple

comment:7 by Silier, 3 years ago

Keywords: simple added
Note: See TracTickets for help on using tickets.