2d, browser-based MMO game.
Visibio is a 2d, browser-based MMO game being developed by the St. Mark’s Game Dev club.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
You should already have installed Go. If not, you can find instructions to do so at https://golang.org/doc/install.
To install the visibio server, run the following command:
go get github.com/smgamedev/visibio
This should install a binary called visibio
wherever your Go environment is configured to do so.
To run the game server for development, simply run the command:
visibio server
The command line interface includes documentation of commands and flags.
You need a copy of Node 8.0.0+ (we use v8.10.0 for development) and NPM or yarn for dependencies.
To install dependencies, run:
# npm
npm install
# yarn
yarn
To run the development server, you can use:
# npm
npm run dev
# yarn
yarn run dev
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details.
generate flatbuffers accessors—
flatc --go-namespace fbs -o . --go protocol/*
flatc --gen-all --gen-onefile --no-js-exports -o client/src --js protocol/visibio.fbs
Object | Category | Mask |
---|---|---|
Wall | 1 | 1,2,3 |
Bullet | 2 | 1,3 |
Player | 3 | 1,2 |
Groups are used to prevent collisions between “friend” groups (teammates).