Opened 8 years ago

Last modified 3 years ago

#4164 new enhancement

Live transparent summary screen — at Version 2

Reported by: elexis Owned by:
Priority: Nice to Have Milestone: Backlog
Component: UI – In-game Keywords: simple
Cc: Patch:

Description (last modified by elexis)

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.

Change History (4)

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)
Note: See TracTickets for help on using tickets.