https://github.com/doorbash/colyseus-ref-id-not-found2
https://github.com/doorbash/colyseus-ref-id-not-found2
Last synced: 2 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/doorbash/colyseus-ref-id-not-found2
- Owner: doorbash
- Created: 2020-10-20T06:11:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-22T18:27:46.000Z (over 5 years ago)
- Last Synced: 2025-12-30T17:59:33.852Z (4 months ago)
- Language: TypeScript
- Size: 38.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# `create-colyseus-app`
An npm init template for kick starting a Colyseus project in TypeScript.
## :crossed_swords: Usage
```
npm init colyseus-app
```
## Structure
- `index.ts`: main entry point, register an empty room handler and attach [`@colyseus/monitor`](https://github.com/colyseus/colyseus-monitor)
- `MyRoom.ts`: an empty room handler for you to implement your logic
- `loadtest/example.ts`: scriptable client for the loadtest tool (see `npm run loadtest`)
- `package.json`:
- `scripts`:
- `npm start`: runs `ts-node index.ts`
- `npm run loadtest`: runs the [`@colyseus/loadtest`](https://github.com/colyseus/colyseus-loadtest/) tool for testing the connection, using the `loadtest/example.ts` script.
- `dependencies`:
- `colyseus`
- `@colyseus/monitor`
- `express`
- `devDependencies`
- `ts-node`
- `typescript`
- `@colyseus/loadtest`
- `tsconfig.json`: TypeScript configuration file
## License
MIT