Skip to content
This repository has been archived by the owner on Jan 4, 2024. It is now read-only.

meltzow/becsy-colyseus

Repository files navigation

Welcome to becsy-colyseus!

This project want to use becsy with colyseus to have an entity-component-system with network support.

This project has been created using ⚔️ create-colyseus-app - an npm init template for kick starting a Colyseus project in TypeScript.

Documentation

install

git clone git@github.com:meltzow/becsy-colyseus.git
yarn

⚔️ Usage

npm start

Structure

  • index.ts: main entry point, register an empty room handler and attach @colyseus/monitor
  • src/rooms/MyRoom.ts: an empty room handler for you to implement your logic
  • src/rooms/schema/MyRoomState.ts: an empty schema used on your room's state.
  • loadtest/example.ts: scriptable client for the loadtest tool (see npm run loadtest)
  • package.json:
    • scripts:
      • npm start: runs ts-node-dev index.ts
      • npm test: runs mocha test suite
      • npm run loadtest: runs the @colyseus/loadtest tool for testing the connection, using the loadtest/example.ts script.
  • tsconfig.json: TypeScript configuration file

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published