A simple jump-and-run platform game with the possibility of creating custom maps and playing multiplayer online games.
Current state of the map editor:

Prerequisites
- Bazel 5.4.0
- Go 1.20.2
- Gcc 11.3.0
Used libraries:
- Install Bazel 5.4.0. Installation instructions can be found here.
- Open your terminal and install the following dependencies
$ sudo apt install bazel libgl-dev freeglut3-dev libopenal1- Install the needed protoc 21.6 - build it then add the built binary (
binfile) to yourPATHenvironment. - Install the following
protobufdependencies for Go. Position your terminal in theServerfolder and execute the following:
$ go install google.golang.org/protobuf/cmd/protoc-gen-go
$ go install google.golang.org/grpc/cmd/protoc-gen-go-grpc-
Install Bazel 5.4.0. Installation instructions can be found here.
-
Install Microsoft Visual Studio 19 - Community edition environment. Not sure about other MSVC version.
-
Install the needed protobuf generator
-
Install the following
protobufdependencies for Go. Position your terminal in theServerfolder and execute the following:
$ go install google.golang.org/protobuf/cmd/protoc-gen-go
$ go install google.golang.org/grpc/cmd/protoc-gen-go-grpcNOTE: Debug mode should work fine in both cases
In order to successfully launch the server, you need to generate the gRPC files from the ProtoMessages/server folder. Make sure you have installed the environment successfully.
Navigate to the root of the project in your terminal and do the following:
$ protoc --go_out=Server --go-grpc_out=Server ProtoMessages/server/*.protoFor more information, you can have a look this blog post.
To run the game, use the following command for Ubuntu:
$ bazel run //:main --config=linux # or --config=linux_debug for debug modeAnd on Windows:
> bazel run //:main --config=windowsRunning the server:
$ cd Server
$ go run .