DEV Community

Cover image for Devlog: Return to Home from Pause and End Screens
Weird Codes
Weird Codes

Posted on Originally published at weirdcodes.itch.io AI-assisted

Devlog: Return to Home from Pause and End Screens

Added a way to return to the start screen without reloading the page. The new Home buttons appear on the pause and end screens, making it easier to leave a run and start again.

What changed
Added Home buttons to both the pause overlay and end screen.
Returning home stops the game loop, clears active input and gyro state, resets the engine silently, and shows the start screen again.
Added a two-press confirmation on the pause-screen Home button to warn that the current run’s karma progress will be lost.
Added Hindi and English Home button labels.
Kept the start screen in the DOM while a game is running so it can be shown again when returning home.
Also included
Removed the language switch’s initially checked state.
The PR was merged after a “looks good” review.
PR: #181 — Home: Added Home button for the Pause and End screen

Top comments (0)