Games Try it yourself

Battlefield 1942 ported to mobile web with multiplayer

The creator used Claude Code to build a translation layer from Direct3D to WebGL, then ported Battlefield 1942 to run as full multiplayer in iPhone and Android browsers.

View on X
235likes
28reposts
50saves
53Kviews
Made with
Claude Code
Posted
@levelsio@levelsio

I managed to port Battlefield 1942 to mobile web too

So now it's playable as full multiplayer on iPhone and Android from their browser! 🤯

Claude Code built its own graphic layer that translates Direct3D (DirectX) instructions to WebGL, sitting between the game's machine code and the browser, which means we can change the resolution any way we want!

Only issue is you get some stuff cutting off (like the arms below or inside vehicles) because the game was never meant to run in portrait mode of course!

View on X
Still from the video

More in Games