Pause button and menu #5

Open
opened 2025-10-14 18:01:58 -06:00 by navan · 0 comments
Owner

Originally created by @nicklockwood on 1/14/2021

This PR adds a pause button to the in-game HUD, and a pause screen menu.

This was not a simple thing to implement due to the separation between rendering and game engine, which makes it hard to map on-screen touches back to the position of controls.

The solution involves a Swift UI-like declarative layout system so that the screen position of views such as buttons can be computed independently of rendering.

*Originally created by @nicklockwood on 1/14/2021* This PR adds a pause button to the in-game HUD, and a pause screen menu. This was not a simple thing to implement due to the separation between rendering and game engine, which makes it hard to map on-screen touches back to the position of controls. The solution involves a Swift UI-like declarative layout system so that the screen position of views such as buttons can be computed independently of rendering.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github/RetroRampage#5
No description provided.