Home

Awesome

nengi + Babylon 3D shooter template

A template game for multiplayer 3D shooters made in Babylon.js + nengi.js

Running the demo

npm install 
npm start

Then visit http://localhost:8080

You may want to open two browser windows.

Walkthrough video: https://www.youtube.com/watch?v=oK15K9hTeCA (only covers the client-side prediction and lag comp features, for basic nengi usage see the manual)

Features

If you have questions come stop by the nengi discord server.

These are all advanced network programming features, and I don't recommend starting with a client-side predicted game if this is your first time using nengi. My recommendation for getting started with nengi is to read the nengi.js manual. Then to find one of the non-prediction centric game templates (they have 'basic' in the repo name) and add a small feature to them.

Is this game template done?

Yes and no. It has an okayish structure, and shows all the hard stuff. One could certainly clone it, delete .git, and start a fresh project with this as the base. That said, this repo is but one of many in a gradual trend of presenting nengi more and more integrated with other software, and also more and more biased to a specific game genre. It is my intent that eventually there will be dozens of fairly decent starting points (FPS, 2D shooter, 3D MMORPG, 2D tile-based rpg, platformer, etc.). In that sense, is this the definitive babylon 3d first person shooter template? For now yes, but it is likely to be extended in the future.

The fundamental areas most likely to change (ignoring the game polish, which is basicaly non-existent):

Most Recent changes