Tag Archives: Babylon.js

Scrap Loader

I wanted to dabble into what it takes to make something that needed a server component to track other players movements. Like what does that look like. I found some pretty decent looking libraries already handle most of this work. I decided to make a FPS, but not like your normal call of duty FPS — Something different. Babylon.js for the WebGL engine, Rapier3D WASM for client-side physics prediction, Colyseus.js for the WebSocket state sync, add some Blender models and you’ve got a cool game.

Enter Scrap Loader

So basically you start out with no weapon, you find a gun, and find scrap to put in it, pressurize it and shoot it. It’s a slow FPS, no run and gun. Each gun and each ammo type are different. And in order to fire during pressurizing you have a tiny mini game you need to pressurize it.

You can join the public game, or make a private room and challenge your friends. I added some dancing and taunting too.