Rotating the phone made Pudding 50% faster
Pudding is a one-button runner. The jelly's speed lives in world units. We never changed that number when you rotated the phone. And yet portrait felt quicker than desktop, and a wide phone felt slower than both. The physics were fine. The camera was not. The bug was the view width Apparent speed — how fast the world crosses the screen — is just: world units per second ÷ view width If the logical…
Pudding, a one-button runner, experienced a 50% speed increase when the phone was rotated. The change was due to a bug in how the app calculated apparent speed. The formula used was world units per second divided by view width. When the phone was rotated, the view width changed, making the world appear to cross the screen faster, even though the physics remained the same.
To fix the issue, developers locked the horizontal view at 256 dots on every layout, regardless of the window's aspect ratio. This change ensured that the perceived speed remained stable, as the logical view width no longer followed the window's aspect ratio. The fix was implemented in the current Pudding Escape: Super Jelly build, available on itch.io.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to