babylonjs-multiplayer-starter
babylonjs-multiplayer-starter copied to clipboard
A full-stack multiplayer game starter made using TypeScript, Express, Socket.io, and Babylon.js
Notice
This was a fun project I made over a couple of days before I knew anything about servers or build systems. If you are looking for a good template, look elsewhere or start from scratch like I did! Thanks for looking though! :)
Full-stack babylon.js multiplayer game with TypeScript
A dead simple full-stack multiplayer game starter using babylon.js for the client and Express and websockets for the server.
There is no server-side validation of anything - the backend simply records player positions and sends them along to other clients. Of course, this could be expanded, and I do intend to work on this more.
Client
Based off of @RaananW's babylonjs-webpack-es6 template.
To run:
$ cd client
$ npm run start
Server
Just a simple Express server built with socket.io.
To run:
$ cd client
$ npm run start