Skip to content

The breather and the save also apply to a round paused under Settings; a wave wider than the window holds instead of raining down - #48

Merged
jpcottin merged 1 commit into
mainfrom
fix/paused-hand-back-save-and-narrow-wave
Oct 24, 2026
Merged

jpcottin merged 1 commit into
mainfrom
fix/paused-hand-back-save-and-narrow-wave

Conversation

@jpcottin

Copy link
Copy Markdown
Owner

The hand-back breather was granted only while the game was in PLAYING,
but the phone's only way to bring the game back from the glasses is
the GLASSES row inside Settings, so the phone instance was in SETTINGS
at that moment and got no grace: the bombs frozen mid-air landed as
soon as the player pressed BACK. The paused state now looks through
Settings to the round behind it.

For the same reason a round paused under Settings was not considered
mid-game, so a process killed in the background while the overlay was
open lost the run. isMidGame and saveLevel look through Settings too,
and a pause during the level-clear interlude saves the next level.

In a window narrower than the wave (a tall free-form window, a fold's
outer panel) both edge tests were true on alternate frames, so the wave
flipped and stepped down every frame and reached the invasion line in
half a second. A wave that cannot fit is held centred instead.

Native tests 149 to 152.

…; a wave wider than the window holds instead of raining down

The hand-back breather was granted only while the game was in PLAYING,
but the phone's only way to bring the game back from the glasses is
the GLASSES row inside Settings, so the phone instance was in SETTINGS
at that moment and got no grace: the bombs frozen mid-air landed as
soon as the player pressed BACK. The paused state now looks through
Settings to the round behind it.

For the same reason a round paused under Settings was not considered
mid-game, so a process killed in the background while the overlay was
open lost the run. isMidGame and saveLevel look through Settings too,
and a pause during the level-clear interlude saves the next level.

In a window narrower than the wave (a tall free-form window, a fold's
outer panel) both edge tests were true on alternate frames, so the wave
flipped and stepped down every frame and reached the invasion line in
half a second. A wave that cannot fit is held centred instead.

Native tests 149 to 152.
@jpcottin
jpcottin merged commit 342c295 into main Oct 24, 2026
20 of 21 checks passed
@jpcottin
jpcottin deleted the fix/paused-hand-back-save-and-narrow-wave branch October 24, 2026 12:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant