Room configuration(s) for vehikill.io.
Feel free to fork and create your own unique rooms :)
Try not to directly edit src/rooms/derby.ts
unless it's a bug fix to the derby room.
New features to the derby room can be suggested by opening issues, of course. Although best if those are tested on another room first.
- Fork the repository
- Set up the Development environment
- Add your new room name to
RoomName
enum at./src/common/RoomName.ts
- Copy existing room configuration (eg.
./src/rooms/derby.ts
) as./src/rooms/YOUR-ROOM-NAME.ts
- Add your room to
./src/rooms/index.ts
- Make your changes to
./src/rooms/YOUR-ROOM-NAME.ts
- Once you're happy with your room, you may submit it as a pull request.
- We may then add it on the server.
This repository includes Development environment for rooms using Docker.
You should to install Docker to run our development environment.
To make things even easier, you'll probably want to use a smart IDE which understands TypeScript. However, that is not mandatory. We use Jetbrain's IDEA.
Build & start the Development environment:
docker-compose build
docker-compose up
Once started, you can open http://localhost:3000 in your browser to view the map in realtime while making changes.
You can then go and edit files at `./src' and everything should update automatically without a refresh.
You may also contact Vehikill.io developers at Discord.