Building a Multiplayer Roblox-like engine in the Browser

DRAFT POST NOT FINISHED. I’ve been making web games for a while now. My first ones were around 2017, following YouTube tutorials by Daniel Shiffman, which introduced me to p5.js a JavaScript library that makes it easy to create graphics and interactive content in the browser. Some of my old p5.js projects from 2017-2018 Getting Into Multiplayer Games I like multiplayer games. That’s why I started digging into networking, multiplayer architectures, and hosting backends. When you Google this stuff, you quickly find premade solutions within engines like Fish-Net, or third-party services like Photon. They’re great, but I wanted to learn how to build my own multiplayer games from scratch relatively speaking, of course; we’re still in the JavaScript world. ...

January 6, 2026 · 20 min · 4175 words · iercan