Tech
Mobile Touch Controls: Scale-Independent Fix
Issue #46 — Mobile Touch Controls: Scale-Independent Fix
Date: 2026-08-08
Label: UX enhancement mobile
Milestone: v0.1
The Problem
On mobile, touch controls were nearly impossible to tap. The root cause was architectural — #touch-controls lived inside #gameContainer , which receives a transform: scale(~0.58) from scaleGame() on narrow viewports. Everything inside the container shrank together: canvas, HUD, and touch buttons alike. A 64px button became ~37...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to