Dev Radar
Support
LiveUpdated 2026-11-05 14:03 UTC

Fixed the mobile stretched interface on portrait mode in BF1942 by modding the engine

Fixed the mobile stretched interface on portrait mode in BF1942 by modding the engine Claude Code told me how it did…

This is a dev post classified by AGK Intelligence as Mobile & desktop (a tutorial), kept by the Dev Radar because it carries real work, not commentary.

Fixed the mobile stretched interface on portrait mode in BF1942 by modding the engine Claude Code told me how it did it: "1. Spotting the HUD: 3D world draws use a perspective projection, where far things look smaller. The HUD uses a flat one. I can tell them apart from the projection matrix the game sets before each draw. 2. Measuring each element: before drawing a HUD piece (the ticket count, the map, an ammo icon), I calculate on the CPU where its corners land on screen. That uses the same matrix math the graphics card would do. 3. Squeezing it back: I shrink its height by that 2.9× fa

Posted by @levelsio (989.8k followers) 1 h ago · 52 likes · 13.4k views · view the original post on X. Kept by the Dev Radar as Mobile & desktop.

More dev work like this

Every post is read and classified by AGK Intelligence: what it is, which market it belongs to, and whether the link is a real tool. 31.7k posts from 5k X accounts over the last 21 days, 9.4k tools, 12 markets. New posts are collected several times an hour and the full ranking is recomputed every hour — last update 2026-11-05 14:03 UTC. Full method.