Rally MKA is a really old game/demo of mine ported to Go for fun and as a way to experiment with new concepts. It is also a showcase for the lacking game engine.
You can play the game on itch.io.
The preferred browser is Chrome, which at the time of writing appears to best support WebGL2, WebAssembly and Game Controllers.
Check the Releases section for ready-to-use binaries that you can use on your computer.
The requirement is that your OS supports OpenGL 4.6
.
This section describes how to setup the project on your machine and compile it yourself.
- You need Go 1.20 or newer.
- You need the Git LFS plugin. As the project contains large images and models, this is the official way on how not to clog a repository.
- Follow the instructions on the GLFW for Go repository and make sure you can run the GLFW examples on your platform.
- Make sure you have Task installed, as this project uses Taskfiles.
-
Clone the repository
git clone https://github.com/mokiat/rally-mka cd rally-mka
-
Download Go dependencies
go mod download
-
Generate game assets
task pack
-
Run the game
task run
-
Generate web content
task webpack
-
Build web assembly executable
task wasm
-
Run an HTTP server
task web
All source code in this project is licensed under Apache License v2.
Assets (images, models, textures, etc.) are distributed under the Creative Commons Attribution 4.0 International license.