Skip to content

Add current stage overlay to ranked play#37202

Merged
peppy merged 5 commits intoppy:masterfrom
LiquidPL:ranked-play-stage-overlay
Apr 5, 2026
Merged

Add current stage overlay to ranked play#37202
peppy merged 5 commits intoppy:masterfrom
LiquidPL:ranked-play-stage-overlay

Conversation

@LiquidPL
Copy link
Copy Markdown
Contributor

@LiquidPL LiquidPL commented Apr 4, 2026

Displays the stage name and details like currently picking player
and damage multiplayer where applicable.

Currently only shown on the discard and pick stages.

Move user retrieval to RankedPlayScreen

This is done because I need the relevant APIUser instances in order to pass them to the overlay component. RankedPlayScreen seems like the appropriate place to manage the overlays since it manages the stage subscreens, hence the need to access the APIUsers in here.

Add current stage overlay to ranked play

The actual change of this PR. Very much a dev design.

Screencast_20260404_162046.mp4

LiquidPL added 2 commits April 4, 2026 16:03
Displays the stage name and details like currently picking player
and damage multiplayer where applicable.

Currently only shown on the discard and pick stages.
/// Heading text to be displayed indicating the purpose of the current stage.
/// </summary>
protected abstract LocalisableString StageHeading { get; }
public abstract LocalisableString StageHeading { get; }
Copy link
Copy Markdown
Contributor Author

@LiquidPL LiquidPL Apr 4, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not the biggest fan of this.

An alternative could be having something like a CreateStageOverlay in RankedPlaySubScreen, however that would require the subscreens (well, just PickScreen/OpponentPicksScreen to be honest) to have access to the APIUsers in order to pass it to the overlay component, which I feel would make this more messy.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think it's fine

@peppy peppy self-requested a review April 5, 2026 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants