A simple boilerplate using Colyseus + PixiJS. It implements a simplistic version of the classic agar.io game.
git clone https://github.com/endel/colyseus-pixijs-boilerplate.git
cd colyseus-pixijs-boilerplate
npm install
npm start
Open http://localhost:1234 in your browser.
The
npm start
runs bothnpm run start-client
andnpm run start-server
. You need both client and server to test this application.
├── nodemon.json
├── package.json
├── src
│ ├── client
│ │ ├── Application.ts
│ │ ├── index.html
│ │ └── index.ts
│ └── server
│ ├── index.ts
│ └── rooms
│ ├── MyRoom.ts
│ ├── Entity.ts
│ └── State.ts
├── tsconfig.json
└── webpack.config.js
- All frontend dependencies should be included as
devDependencies
onpackage.json
. - All backend dependencies should be included as
dependencies
onpackage.json
.
- Enter name before starting the game
- Re-spawn button after dead
- Leaderboard
MIT